[Mono-dev] Building Mono on Scratchbox2
dvosp
dvospierre at gmail.com
Thu Feb 4 05:56:33 EST 2010
Hi All,
I've setup sbox2 on Ubuntu Karmic using the Sourcery Lite (2009q3-67)
GNU/Linux compiler. The environment seems to be working.
I'm now trying to build mono according to
http://www.mono-project.com/Mono:ARM
I copied the "seed" rootfs from the compiler archive to ~/pierre/buildroot.
made a ~/pierre/buildroot/src directory
extracted, glib 2.22.0 and mono-2.6.1 to ~/pierre/buildroot/src.
I had to build glib (the seed rootfs does not include this).
I then try to do the 2 step build of mono.
Host build succeeds.
when I try to build the target part, ./configure succeeds, but make gives
the following error:
make[3]: Entering directory
`/home/pierre/buildroot/src/mono-2.6.1/mono/utils'
make all-am
make[4]: Entering directory
`/home/pierre/buildroot/src/mono-2.6.1/mono/utils'
CC mono-hash.lo
mono-hash.c:39: fatal error: glib.h: No such file or directory
compilation terminated.
make[4]: *** [mono-hash.lo] Error 1
make[4]: Leaving directory
`/home/pierre/buildroot/src/mono-2.6.1/mono/utils'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/home/pierre/buildroot/src/mono-2.6.1/mono/utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/pierre/buildroot/src/mono-2.6.1/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pierre/buildroot/src/mono-2.6.1'
make: *** [all] Error 2
I have verified that glib.h is present in the correct directories and the
correct include path is specified in the Makefile.
Any ideas?
Regards
Pierre
--
View this message in context: http://old.nabble.com/Building-Mono-on-Scratchbox2-tp27450942p27450942.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
More information about the Mono-devel-list
mailing list