Updated MonoDevelop Repository

I have been trying to work with MonoDevelop and GnomeRDP.  I couldn’t get it to open the project because I needed the newer version of Monodevelop as described here.  I figured out how to install MonoDevelop manually.  The problem with all of this is that you have to get all of the dependencies yourself.

So, instead I finally found a repository with Monodevelop 2.2 in it:

How to install MonoDevelop 2.2 on Ubuntu 9.10?

Errors Opening Gnome-RDP Project

I ran into an error opening the Experimental branch of Gnome-RDP, and I wanted to post it in case anyone else ran into the same problem.  Here is what the error looked like:

screenshot_143

Here is the text:

Could not load solution: <solution path>.  Could not set property ‘Policies’ in type ‘Solution’.

Load operation failed. Could not set property ‘Polieis’ in type ‘Solution’

Error while trying to load the project ‘<project path>’: Could not set property ‘Policies’ in type ‘DotNetProject’

Error while trying to load the project ‘<project path>’: Could not set property ‘Policies’ in type ‘DotNetProject’

The solution apparently, as found in this bug post, is to install a new version of Mono-Develop.  I see now that the post has a repository that you can use.  I ran across these instructions, and I detailed my execution of those instructions on my previous posts.

Installing an Alternate MonoDevelop

I needed a newer version of Monodevelop, and I couldn’t find  a repository that would allow me to just update it with apt-get.  Rather than change all the libraries that other programs might be using, I thought these instructions might provide a safe solution anyway.  So, I embarked on installed a standalone version self-contained in this directory:

/home/skp/app/blog

The first step settings up your environment variables to separate your environment out.  Like the instructions, I created a mono-dev-env file: gedit mono-dev-env.  Here is my file:

#!/bin/bash
MONO_PREFIX=/home/skp/app/blog
GNOME_PREFIX=/home/skp/app/blog
export DYLD_LIBRARY_PATH=$MONO_PREFIX/lib:$DYLD_LIBRARY_PATH
export LD_LIBRARY_PATH=$MONO_PREFIX/lib:$LD_LIBRARY_PATH
export C_INCLUDE_PATH=$MONO_PREFIX/include:$GNOME_PREFIX/include
export ACLOCAL_PATH=$MONO_PREFIX/share/aclocal
export PKG_CONFIG_PATH=$MONO_PREFIX/lib/pkgconfig:$GNOME_PREFIX/lib/pkgconfig
PATH=$MONO_PREFIX/bin:$PATH
PS1="[mono] \w @ "

Then make sure that you source it in:

. ./mono-dev-env

I downloaded the various packages mostly from this page.  I setup a special directory called “downloads” for those file that I downloaded.

[mono] ~/app/blog @ mkdir downloads
[mono] ~/app/blog @ cd downloads

Next, I downloaded libgdiplus from the releases page.  I uncompressed it and installed it with these commands:

wget http://ftp.novell.com/pub/mono/sources/libgdiplus/libgdiplus-2.6.4.tar.bz2
tar -xjvf libgdiplus-2.6.4.tar.bz2
cd libgdiplus-2.6.4
./configure --prefix=$MONO_PREFIX
make
make install

Next, I installed mono from the releases page with these commands:

wget http://ftp.novell.com/pub/mono/sources/mono/mono-2.6.4.tar.bz2
tar -xjvf mono-2.6.4.tar.bz2
cd mono-2.6.4
./configure --prefix=$MONO_PREFIX
make
make install

Next, I installed gtk-sharp from the same releases page:

wget http://ftp.novell.com/pub/mono/sources/gtk-sharp212/gtk-sharp-2.12.10.tar.bz2
tar -xjvf gtk-sharp-2.12.10.tar.bz2
cd gtk-sharp-2.12.10
./configure --prefix=$MONO_PREFIX
make
make install

Next, I installed mono-tools from the same releases page:

wget http://ftp.novell.com/pub/mono/sources/mono-tools/mono-tools-2.6.2.tar.bz2
tar -xjvf mono-tools-2.6.2.tar.bz2
cd mono-tools-2.6.2
./configure --prefix=$MONO_PREFIX
make
make install

Next, I installed mono-addins from the same releases page:

wget http://ftp.novell.com/pub/mono/sources/mono-addins/mono-addins-0.4.zip
unzip mono-addins-0.4.zip
cd mono-addins-0.4
./configure --prefix=$MONO_PREFIX
make
make install

Next, I installed monodevelop from the same releases page:

wget http://ftp.novell.com/pub/mono/sources/monodevelop/monodevelop-2.2.2.tar.bz2
tar -xjvf monodevelop-2.2.2.tar.bz2
cd monodevelop-2.2.2
./configure --prefix=$MONO_PREFIX
make
make install

Next, I installed gnome-sharp from the same releases page:

wget http://ftp.novell.com/pub/mono/sources/gnome-sharp2/gnome-sharp-2.24.1.tar.bz2
tar -xjvf gnome-sharp-2.24.1.tar.bz2
cd gnome-sharp-2.24.1
./configure --prefix=$MONO_PREFIX
make
make install

Next, I installed gnome-desktop-sharp from the same releases page:

wget http://ftp.novell.com/pub/mono/sources/gnome-desktop-sharp2/gnome-desktop-sharp-2.24.0.tar.bz2
tar -xjvf  gnome-desktop-sharp-2.24.0.tar.bz2
cd gnome-desktop-sharp-2.24.0
./configure --prefix=$MONO_PREFIX
make
make install

Next, I installed gnome-keyring-sharp.  With the help of a link or two, I found I could download it here:

wget http://ftp.novell.com/pub/mono/sources/gnome-keyring-sharp/gnome-keyring-sharp-1.0.0.tar.bz2
tar -xjvf  gnome-keyring-sharp-1.0.0.tar.bz2
cd gnome-keyring-sharp-1.0.0
./configure --prefix=$MONO_PREFIX
make
make install

Next, I installed Mono.Cairo.  With the help of this page, I found I could download it here:

wget http://cairographics.org/releases/cairo-1.8.10.tar.gz
tar -xzvf cairo-1.8.10.tar.gz
cd cairo-1.8.10
./configure --prefix=$MONO_PREFIX
make
make install

Next, I installed DBusSharp.  I found I could download it here:

wget http://www.ndesk.org/archive/dbus-sharp/ndesk-dbus-0.6.0.tar.gz
tar -xzvf ndesk-dbus-0.6.0.tar.gz
cd ndesk-dbus-0.6.0
./configure --prefix=$MONO_PREFIX
make
make install

Now, for the time of reconing — start monodevelop:

monodevelop

So, here is the About dialog:

screenshot_142

Installing Mono Dependencies

I pulled the latest version of Gnome-RDP, and ran into a few errors when compiling.

screenshot_134

Here is how I solved the problems:

For the “Reference ‘Mono.Cairo’ not found on system”, I found a tutorial page with links to the download.  I downloaded the latest version from the releases page.

I uncompressed the download into “cairo-1.8.8″, and opened a command-line into that directory.  I ran the configure with my custom path because I have a specially compiled version of MonoDevelop that I am using:

./configure --prefix=$MONO_PREFIX

Then, I compiled and installed:

make
make install

Finally, my project was requiring a specific version, and I downloaded a newer version.  So, I just unchecked the require version flag:

screenshot_141

For the “Assembly ‘NDesk.DBus’” error, I downloaded the library from the DBusSharp page.  Then, I uncompressed it into the folder “ndesk-dbus-0.6.0″.  Again, I added the prefix option because I had a special path for MonoDevelop:

./configure --prefix=$MONO_PREFIX

Then, I compiled and installed:

make
make install

Finally, the /tmp/tmp22c1daf8.tmp problem was caused by this message:

** (/home/skp/app/gnome-rdp/monodevelop/lib/mono/2.0/gmcs.exe:4434): WARNING **: The following assembly referenced from /home/skp/app/gnome-rdp/gnome-rdp-temp/gnome-rdp/gnome-rdp-dockyplugin/References/Docky.Items.dll could not be loaded:
Assembly:   notify-sharp    (assemblyref_index=17)
Version:    0.4.0.0
Public Key: 2df29c54e245917a
The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/home/skp/app/gnome-rdp/gnome-rdp-temp/gnome-rdp/gnome-rdp-dockyplugin/References/).
** (/home/skp/app/gnome-rdp/monodevelop/lib/mono/2.0/gmcs.exe:4434): WARNING **: The following assembly referenced from /home/skp/app/gnome-rdp/gnome-rdp-temp/gnome-rdp/gnome-rdp-dockyplugin/References/Docky.Items.dll could not be loaded:     Assembly:   notify-sharp    (assemblyref_index=17)     Version:    0.4.0.0     Public Key: 2df29c54e245917aThe assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/home/skp/app/gnome-rdp/gnome-rdp-temp/gnome-rdp/gnome-rdp-dockyplugin/References/).

I found the library’s home page, but I didn’t see a release yet.  So, I had to download from the repository.  First, I had to have the hg command installed:

sudo apt-get install mercurial

Then, I used the command from the homepage to download the code:

hg clone http://hg.circular-chaos.org/notify-sharp

But, that is a broken link.  Well, I am running out of time for this one on my lunch break, so I will have to come back to it.  I found a post suggesting to pull it from Gnome-Do.  I probably already have it installed somewhere.


VMWare on Linux

After the latest kernel update, it struck me that VMWare has come a long ways.  I remember when I had to go to the command-line and run the configure program.  That would go through the whole kernel module compile process.  It worked, but it was kind of ugly.

Well, now it looks pretty slick:

screenshot_080

Everything just worked.  No problems to work through or worry whether I had everything in place.

Thanks, VMWare for the great work!

Getting MceUsb Remote to Work on Mythbuntu 10.04

I have been trying to get my remote to work on my new Mythbuntu installation — so far no luck.  So, don’t expect and answer at the end of this.  I will try to post an answer when I get one.

Here is first clue:

sudo /etc/init.d/lirc restart verbose
* Stopping remote control daemon(s): LIRC                               [ OK ]
* Loading LIRC modules                                                  [ OK ]
* Unable to load LIRC kernel modules. Verify your
* selected kernel modules in /etc/lirc/hardware.conf
sudo /etc/init.d/lirc restart verbose
* Stopping remote control daemon(s): LIRC                               [ OK ]
* Loading LIRC modules                                                  [ OK ]
* Unable to load LIRC kernel modules. Verify your
* selected kernel modules in /etc/lirc/hardware.conf

So, I found this article with the same problem.  The solution was to install a generic kernel, so I wanted to check a few other threads.  Then, I found this article.  I went with it since it was a more recent version. It calls for these two commands:

skp@gabriel:~$ sudo mv /lib/modules/2.6.32-21-generic/kernel/ubuntu/lirc/lirc_imon/lirc_imon.ko ~/.
[sudo] password for skp:
skp@gabriel:~$ sudo dpkg-reconfigure lirc-modules-source
Package `lirc-modules-source' is not installed and no info is available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
/usr/sbin/dpkg-reconfigure: lirc-modules-source is not installed

Since it said I didn’t have the package installed, I tried to install it:

skp@gabriel:~$ sudo apt-get install lirc-modules-source
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  kernel-source
The following NEW packages will be installed:
  lirc-modules-source
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 273kB of archives.
After this operation, 1,204kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ lucid/universe lirc-modules-source 0.8.6-0ubuntu4 [273kB]
Fetched 273kB in 1s (159kB/s)
Selecting previously deselected package lirc-modules-source.
(Reading database ... 160587 files and directories currently installed.)
Unpacking lirc-modules-source (from .../lirc-modules-source_0.8.6-0ubuntu4_all.deb) ...
Setting up lirc-modules-source (0.8.6-0ubuntu4) ...
Loading new lirc-0.8.6 DKMS files...
First Installation: checking all kernels...
Building only for 2.6.32-22-generic
Building for architecture x86_64
Building initial module for 2.6.32-22-generic
Done.

lirc_dev.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_atiusb.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_bt829.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_ite8709.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_i2c.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_igorplugusb.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_imon.ko:
Running module version sanity check.

Error! Module version 0.6 for lirc_imon.ko
is not newer than what is already found in kernel 2.6.32-22-generic (0.6).
You may override by specifying --force.

lirc_it87.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_mceusb.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_ttusbir.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_sasem.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_serial.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_sir.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_streamzap.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_ene0100.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_wpc8769l.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

depmod........

DKMS: install Completed.

With that complete, I checked to make sure it reinstalled that module:

skp@gabriel:~$ ls -l /lib/modules/2.6.32-21-generic/kernel/ubuntu/lirc/lirc_imon/lirc_imon.ko
ls: cannot access /lib/modules/2.6.32-21-generic/kernel/ubuntu/lirc/lirc_imon/lirc_imon.ko: No such file or directory

Nope, but maybe this isn’t my kernel:

skp@gabriel:~$ uname -r
2.6.32-22-generic

So, let’s try that again with the uname -r in place:

skp@gabriel:~$ sudo mv /lib/modules/`uname -r`/kernel/ubuntu/lirc/lirc_imon/lirc_imon.ko ~/.
skp@gabriel:~$ sudo dpkg-reconfigure lirc-modules-source
Removing all DKMS Modules
Done.
Loading new lirc-0.8.6 DKMS files...
Building only for 2.6.32-22-generic
Building for architecture x86_64
Building initial module for 2.6.32-22-generic
Done.

lirc_dev.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_atiusb.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_bt829.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_ite8709.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_i2c.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_igorplugusb.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_imon.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_it87.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_mceusb.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_ttusbir.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_sasem.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_serial.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_sir.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_streamzap.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_ene0100.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

lirc_wpc8769l.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/

depmod....

DKMS: install Completed.

It worked, time to test:

skp@gabriel:~$ sudo /etc/init.d/lirc restart verbose
 * Stopping remote control daemon(s): LIRC                               [ OK ]
 * Loading LIRC modules                                                  [ OK ]
 * Unable to load LIRC kernel modules. Verify your
 * selected kernel modules in /etc/lirc/hardware.conf

Still no luck.

Resources

Software to Watch: Big Blue Button

I happened across some Open Source software called Big Blue Button.  It looks like it might be an alternative to WebEx, but you have to setup and host the server piece yourself.

I liked the page talking about the open source software that they build upon.  There were several projects I was familiar with and several that I hadn’t heard of.  I am always looking for new tools for the toolbox!

Why would I be looking for an alternative for WebEx?  Well, because of answers like this: no support for productivity tools.  Also because of no support for Ubuntu 64bit.  I can’t blame WebEx though — they only develop for where the market is.  And, to their credit, they have increased support for Linux.  I have it working now, and that is what counts.

More Resources

Check Your Skype Version

I just happened to check out the latest version of Skype today, and sure enough, I didn’t have the latest version: 2.1.0.81.  The release notes say that this new version supports Desktop Sharing!

Check it out here: Download

Follow

Get every new post delivered to your Inbox.