![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
|
|
General Help All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu. |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
5 Cups of Ubuntu
![]() Join Date: Mar 2006
Beans: 41
|
Installing Mono on Ubuntu
Ok, I was having a heck of a time getting gui apps working after installing Mono 1.2.5.1. Neither GTK/GTK2 or WinForms worked correctly. After a long time of struggling with it, I finally got everything working with the help of https://help.ubuntu.com/community/MonoFromSource. GTK, GTK2 and WinForms work great now. However, to get things working I ended up installing a LOT of packages (the webpage was a bit outdated) . Too many, I'm sure. I'd like some help in trimming the list down, though. If you can lend a hand or offer some helpful tips, I'd appreciate it. Here's what I did:
Code:
1. Install Ubuntu 7.04 2. Enable all sources in /etc/apt/sources.list 3. Perform sudo apt-get update and sudo apt-get upgrade 4. Restart 5. Perform sudo apt-get update and sudo apt-get dist-upgrade 6. Restart 7. Go to http://go-mono.com/sources-stable/ and download these packages: A. mono-1.2.5.1.tar.bz2 B. libgdiplus-1.2.5.tar.bz2 C. gtk-sharp-1.0.10.tar.gz D. monodoc-1.2.5.zip E. gecko-sharp-2.0-0.12.tar.gz F. mono-debugger-0.50.tar.bz2 G. gtk-sharp-2.10.2.tar.bz2 H. gnome-sharp-2.16.0.tar.gz 8. Extract them all to a temp directory 9. Open up Synaptic Package Manager and install these packages (accept all dependecies): A. build-essential B. devscripts C. dh-buildinfo D. sbuild E. pkg-config F. libextutils-pkgconfig-perl G. libgift-dev H. libpthread-stubs0-dev I. xserver-xorg-dev J. bison K. bison-doc L. libcairo2-dev M. libcairo2-doc N. libcairo-directfb2 O. libcairo-directfb2-dev P. libglib1.2 Q. libglib1.2-dbg R. libglib1.2-dev S. libglib2.0-0 T. libglib2.0-0-dbg U. libglib2.0-cil V. libglib2.0-data W. libglib2.0-dev X. libglib2.0-doc Y. libungif4-dev Z. libungif-bin AA. libjpeg-progs BB. libtiff4-dev CC. libtiff-opengl DD. libtiff-tools EE. libtiffxx0c2 FF. libgnome-desktop-dev GG. libgtk-html2-dev HH. libgtkhtml3.14-dbg II. libgtkhtml3.14-dev JJ. libgtkhtml3.8-dev KK. libgtkhtml3.8-15 LL. libgtkhtml3.8-dbg MM. libgtkhtml3.8-dev NN. libvte2.0-cil OO. libvte-cil PP. libvte-dev QQ. libvte-doc RR. librsvg2-bin SS. librsvg2-dev TT. libgail-gnome-dbg UU. libgail-gnome-dev VV. libgnome2-doc WW. libgnomecanvas2-doc XX. libgnome-cil YY. libgnomedb2-4 ZZ. libgnome2-4-dbg AAA. libgnomedb2-bin BBB. libgnomedb2-dev CCC. libgnomedb2-doc DDD. libgnome-dev EEE. libgnomevi-doc FFF. libpanel-applet2-dev GGG. libpanel-applet2-doc HHH. gawk III. gawk-doc JJJ. exif KKK. exiftags LLL. exifrun MMM. exifprobe NNN. libexif OOO. libexif-gtk-dev PPP. libexif-gtk5 QQQ. libpango1.0-dbg RRR. libpango1.0-doc SSS. libsdl-pang1 TTT. libsdl-pango-dev 10. Configure/make libgdiplus-1.2.5: A. ./configure --prefix=/usr/local B. make C. sudo make install 11. sudo nano /etc/ld.so.conf A. Add /usr/local/lib B. Add /usr/local 12. sudo ldconfig 13. Configure/make mono-1.2.5.1: A. ./configure --prefix=/usr/local --with-preview=yes B. make C. sudo make install 14. Run mono -V to verify mono version 15. Configure/make gtk-sharp-1.0.10: A. ./configure --prefix=/usr/local --with-preview=yes B. make C. sudo make install 16. Configure/make gtk-sharp-2.0.10: A. ./configure --prefix=/usr/local B. make C. sudo make install 17. Configure/make gnome-sharp-2.16.0: A../configure --prefix=/usr/local B. make C. sudo make install 18. Configure/make gecko-sharp-2.0-0.12: A../configure --prefix=/usr/local B. make C. sudo make install 19. Configure/make mono-debugger-0.50: A../configure --prefix=/usr/local B. make C. sudo make install 20. Configure/make monodoc-1.2.5: A../configure --prefix=/usr/local B. make C. sudo make install 21. sudo ldconfig (possibly restart too) 22. Be mindful of any errors that reference a particular mono folder (when launching an app) and add it to /etc/ld.so.conf and do a sudo ldconfig. I had to do this once, but not always. Last edited by Charlatat; September 23rd, 2007 at 06:07 PM.. |
|
|
|
|
|
#2 |
|
5 Cups of Ubuntu
![]() Join Date: Mar 2006
Beans: 41
|
Re: Installing Mono on Ubuntu
*bump*
|
|
|
|
|
|
#3 |
|
First Cup of Ubuntu
![]() Join Date: Oct 2007
Beans: 1
|
Re: Installing Mono on Ubuntu
Thank you very much for putting this on, I have spent days getting the winform working with mono 1.2.5 on ubuntu with no luck.
But I cant get past the compiling of libgdiplus . Getting this error : PHP Code:
I think its kinda strange that there is no deb packages for Mono 1.2.5 on ubuntu . Last edited by bergetun; October 8th, 2007 at 05:37 PM.. Reason: added |
|
|
|
|
|
#4 | |
|
First Cup of Ubuntu
![]() Join Date: Oct 2007
Beans: 1
|
Re: Installing Mono on Ubuntu
Quote:
https://bugzilla.novell.com/show_bug.cgi?id=MONO82844 |
|
|
|
|
|
|
#5 |
|
5 Cups of Ubuntu
![]() Join Date: Mar 2006
Beans: 41
|
Re: Installing Mono on Ubuntu
1. try using Synaptic and installing libpng packages
2. try doing step #11 and #12 3. try compiling libgdiplus again |
|
|
|
|
|
#6 |
|
A Carafe of Ubuntu
![]() |
Re: Installing Mono on Ubuntu
Don't forget about apt-get build-dep package-name. That's a life-saver for those of us who need to compile stuff. I needed to re-compile beagle, in order to get t-bird support, and that command went and got all the mono stuff, and everything needed to do so.
|
|
|
|
|
|
#7 |
|
Just Give Me the Beans!
![]() Join Date: Dec 2006
Beans: 73
Ubuntu 9.10 Karmic Koala
|
Re: Installing Mono on Ubuntu
seems like a lot of steps to get this thing to work. I just installed it from the package manager, and it worked except i didn't have the winforms designer. I hope that the installation for these 'add-ons' will become more streamlined soon. I'd like to dump windows asap!
|
|
|
|
|
|
#8 |
|
5 Cups of Ubuntu
![]() Join Date: Oct 2007
Location: Brooklyn, NY
Beans: 39
Ubuntu 8.10 Intrepid Ibex
|
Re: Installing Mono on Ubuntu
I began installing mono this morning using synaptic. The install is hanging at configuring Apache = stuck there for over an hour. At what point should I cancel?
I am using Feisty on a ppc. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|