[Mono-list] How to build mono w/o glib (pb)

Alessandro Vesely vesely at tana.it
Sat Jul 12 04:50:45 EDT 2008


Jonathan Pryor wrote:
> On Thu, 2008-07-10 at 19:37 +0200, Alessandro Vesely wrote:
>> glib 2.4 is a requirement for mono, as stated in the README.
>> 
>> Is it at all possible to do without? I tried --with-x=no to no avail. 
>> How was the Nokia port built?
> 
> configure --with-glib=embedded
> 
> By "Nokia port" do you mean Maemo?  I imagine that used the
> Maemo-provided glib.
> 
>> Apps that will run under mono have absolutely no [G]UI, they only work 
>> on the net.
> 
> GLib doesn't provide a GUI.  GTK+ provides a GUI, GLib does not, so a
> normal mono build will run w/o a GUI (unless/until you use something
> that requires that a GUI be present, such as System.Drawing).

Thanks a lot. It turns out I had some wrong preconception about glib.
It doesn't depend on more packages, and has bee easy to built.

>> I'm targeting a very old Red Hat (7.2), and would downright prefer a 
>> very minimal mono package, thus I include most items in the 
>> enable_minimal configure option.

I didn't use eglib as it's not obvious what should go there.

FWIW, mono compiles quite nicely with gcc 2.96, except for a few C 
twists. However, make check freezes when it tries to verify 
ByteFX.Data.dll. I'll seek your help again as soon as I can figure out 
what's happening.

Thanks again for your help
Ale


More information about the Mono-list mailing list