3 ms·
Well compiling it from sources is not THAT hard. git clone git://github.com/mono/mono.git cd mono ./autogen.sh make sudo make install
by romanovcode 13y ago
Well compiling it from sources is not THAT hard.
git clone git://github.com/mono/mono.git
cd mono
./autogen.sh
make
sudo make install
- skrowl 13y agoThe idea of package management is more than "easy to install once". It's also "easy to keep up to date". For example, apt-get update; apt-get dist-upgrade and I just updated my packaged mono vs having to go find that there was a tagged update, then rebuild, etc.
- e12e 13y agoThat might be, but how do you then make a source-package of your program that compiles and installs successfully on the target distributions that don't have an up-to-date mono toolchain? Because while a developer might follow upstream, users shouldn't have to...
- e12e 13y agoIt's actually quite a bit worse than that. For instance, I successfully built and installed mono locally now, but am unable to run simple gtk-applications. git clone git://github.com/mono/mono.git mono.git cd mono.git ./autogen.sh --prefix=${HOME}/opt make get-monolite-latest # Need mono to compile mono make EXTERNAL_MCS="${PWD}/mcs/class/lib/monolite/gmcs.exe" make install export PKG_CONFIG_PATH=${HOME}/opt I can now successfully compile and run a command-line hello world, but a simple gtk-test (and winforms test) fail when attempting to run the examples. This probably has someting to do with linking and assemblies, but experimenting with PKG_CONFIG_PATH, GAC_PATH and MONO_PATH makes no apparent difference... cat <<eof > hello.cs using System; public class HelloWorld { static public void Main () { Console.WriteLine ("Hello Mono World!"); } } eof mcs hello.cs mono hello.exe > Hello Mono World! cat<<eof > hello-gtk.cs using Gtk; using System; class HelloWorld { static void Main () { Application.Init(); Window w = new Window("Hello Mono World!"); w.Show(); Application.Run(); }} eof mcs hello-gtk.cs -pkg:gtk-sharp-2.0 mono hello-gtk.exe > Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'gtk-sharp, (...)