Hacker News new | past | comments | ask | show | jobs | submit login

STILL no Ubuntu packages. The official repos are back in 2.x.x land.



You can use this PPA to get updated packages for Ubuntu/Debian:

https://launchpad.net/~directhex/+archive/monoxide


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


The 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.


That 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...


It'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, (...)


These 3rd party ones are pretty good and recent: http://software.opensuse.org/download/package?project=home:t...


It's coming in 14.04. Mark your calendar for April 17th.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: