Hi everybody, I startet porting a VB.Net application to Mac OSX without a problem but with Ubuntu Linux I had some difficulties using binaries AND compiling from source: Mono seemed to be installed right the way it should, but starting an VB.Net application, Mono (1.2.6/1.9.1/2.0 preview) complained about not finding the libraries (eg. Microsoft.VisualBasic.dll). It took quite some time until I figured out this work-around, perhaps saving some Ubuntu users from having a hard time:
1. Install the actual Mono framework (1.9.1 in my case) on Ubuntu 8.04 which you downloaded from the Mono-project site OR use the install procedure described in (2.) 2. (Only if you don't have a clean install! It's also very comfortable, installs all essential parts and worked very well for me. Otherwise go to (4.) ) Under system -> administration -> software sources -> third party software insert the line deb http://directhex.mfgames.com/ hardy main and download the GPG key from Ubuntu's Keyserver (http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x590BCD51DFC2AFC1) which has to be inserted in „authentification“. After closing the window click "reload". After a short time you will be noticed of new packages available by the update manager. 3. Install the new Mono packages (in my case 1.9.1, by now 2.0 preview is already there for download) and all dependant packages. 4. Even though mono is installed, it will not find the libraries (which should to my knowledge should be included in libmono-microsoft8.0-cil), but you can do a reinstall and by this getting everything to work as it should: Go to the Mono-project download page -> select "RedHat" (yes, even though we will get it to work on Ubuntu!) -> „For individual packages, go here“ -> download the „mono-basic“ package. 5. Now you can do a conversion of the RedHat installation package to Debian-Package by the programm "alien". Get it by typing sudo apt-get install alien in a console. Convert your file by typing sudo alien mono-basic-1.9-1.novell.noarch.rpm and install the converted package. Gratulation! Your VB.Net application now should be ready to run. Try it by using the console, cd to the applications folder and run it by typing mono <YourApplication.exe> Have fun with Mono! :clap: -- View this message in context: http://www.nabble.com/Solution%3A-Getting-Mono-1.9.1-to-work-on-Ubuntu-8.04-tp19182513p19182513.html Sent from the Mono - General mailing list archive at Nabble.com. _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
