[Mono-list] Compiling Mono

Andreas Färber andreas.faerber at web.de
Sat Mar 7 05:05:45 EST 2009


Am 05.03.2009 um 04:44 schrieb anton123:

>
> Hi,
>
> I'm trying to build Mono 2.2 into Ubuntu Gutsy and it's turning into a
> nightmare.
> I got through compiling and installing mono, mono-basic, and  
> libgdiplus just
> fine.  All of them are in the same configure prefix.
>
> Now I'm trying to install gtk-sharp and mono-tools and these won't  
> compile
> and there's not much documentation that can clearly state what I'm  
> supposed
> to do.
>
> With gtk-sharp this happens on configure:
> <snip>
> checking size of off_t... 4
> checking pkg-config is at least version 0.9.0... yes
> checking for MONO_DEPENDENCY... no
> checking for gacutil... /home/sep/app/installed/mono-2.2/bin/gacutil
> checking for al... /home/sep/app/installed/mono-2.2/bin/al
> checking for csc.exe... no
> configure: error: You need to install either mono or .Net
>
> configure on mono-tools:
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for NUNIT... configure: error: Package requirements (mono- 
> nunit)
> were not met:
>
> No package 'mono-nunit' found
>
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.

Try `PKG_CONFIG_PATH=/home/sep/app/installed/mono-2.2/lib/pkgconfig ./ 
configure ...` or similar.

Andreas

> Alternatively, you may set the environment variables NUNIT_CFLAGS
> and NUNIT_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
>
> I don't know where csc.exe is supposed to be and I don't know where  
> to get
> this nunit.  Apparently I can apt-get install it but this comes with
> outdated mono packages on Ubuntu.
>
> Please help!
> -- 
> View this message in context: http://www.nabble.com/Compiling-Mono-tp22344761p22344761.html
> Sent from the Mono - General mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list



More information about the Mono-list mailing list