[Mono-dev] Compile mono in FC5

ZhangZQ newuser at zzq.lir.dk
Thu Jul 20 22:08:21 EDT 2006


Hi,

I checkout the source from SVN and compile it under FC5 with gcc-4.1.1-1, 
and I installed the mono 1.1.13.7 that come with FC5. I used this command to 
build mono 'make get-monolite-latest;make EXTERNAL_MCS=false' to build mono, 
but got the error,

Making all in net_2_0
make[3]: Entering directory `/home/zzq01/source/mono/mono/data/net_2_0'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zzq01/source/mono/mono/data/net_2_0'
make[3]: Entering directory `/home/zzq01/source/mono/mono/data'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/zzq01/source/mono/mono/data'
make[2]: Leaving directory `/home/zzq01/source/mono/mono/data'
Making all in runtime
make[2]: Entering directory `/home/zzq01/source/mono/mono/runtime'
if test -w ../../mcs; then :; else chmod -R +w ../../mcs; fi
cd ../../mcs && make PROFILES='default net_2_0' CC='gcc' all-profiles
make[3]: Entering directory `/home/zzq01/source/mono/mcs'
make profile-do--default--all profile-do--net_2_0--all
make[4]: Entering directory `/home/zzq01/source/mono/mcs'
make PROFILE=basic all
make[5]: Entering directory `/home/zzq01/source/mono/mcs'
make[6]: *** [build/deps/basic-profile-check.exe] Error 1
make[6]: Entering directory `/home/zzq01/source/mono/mcs'
*** The compiler 'false' doesn't appear to be usable.
*** Trying the 'monolite' directory.
make[7]: Entering directory `/home/zzq01/source/mono/mcs'
mono: mono-codeman.c:257: new_codechunk: Assertion `!err' failed.
make[8]: *** [build/deps/basic-profile-check.exe] Aborted
make[8]: Entering directory `/home/zzq01/source/mono/mcs'
*** The contents of your 'monolite' directory may be out-of-date
*** You may want to try 'make get-monolite-latest'
make[8]: *** [do-profile-check-monolite] Error 1
make[8]: Leaving directory `/home/zzq01/source/mono/mcs'
make[7]: *** [do-profile-check] Error 2
make[7]: Leaving directory `/home/zzq01/source/mono/mcs'
make[6]: *** [do-profile-check-monolite] Error 2
make[6]: Leaving directory `/home/zzq01/source/mono/mcs'
make[5]: *** [do-profile-check] Error 2
make[5]: Leaving directory `/home/zzq01/source/mono/mcs'
make[4]: *** [profile-do--basic--all] Error 2
make[4]: Leaving directory `/home/zzq01/source/mono/mcs'
make[3]: *** [profiles-do--all] Error 2
make[3]: Leaving directory `/home/zzq01/source/mono/mcs'
make[2]: *** [all-local] Error 2
make[2]: Leaving directory `/home/zzq01/source/mono/mono/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zzq01/source/mono/mono'
make: *** [all] Error 2


then I used 'make' to build again, still got the error
make all-local
make[8]: Entering directory `/home/zzq01/source/mono/mcs/class/System'
** Warning: System.dll built without parts that depend on: System.Xml.dll
make[8]: Leaving directory `/home/zzq01/source/mono/mcs/class/System'
make[7]: Leaving directory `/home/zzq01/source/mono/mcs/class/System'
make[7]: Entering directory `/home/zzq01/source/mono/mcs/class/System.XML'
make all-local
make[8]: Entering directory `/home/zzq01/source/mono/mcs/class/System.XML'
MONO_PATH="../../class/lib/basic:$MONO_PATH" 
/home/zzq01/source/mono/mono/runtime/mono-wrapper 
../../class/lib/basic/mcs.exe 
/codepage:28591   -d:NET_1_1 -d:ONLY_1_1 -d:BOOTSTRAP_WITH_OLDLIB -debug 
/noconfig -r:mscorlib.dll -r:System.dll -nowarn:0162,0618,0612,0642,1595 -target:library 
 -out:System.Xml.dll System.Xml.XPath/Parser.cs 
Mono.Xml.Xsl/PatternParser.cs Mono.Xml.Xsl/PatternTokenizer.cs 
@System.Xml.dll.sources
mono: mono-codeman.c:257: new_codechunk: Assertion `!err' failed.
make[8]: *** [../../class/lib/basic/System.Xml.dll] Aborted
make[8]: Leaving directory `/home/zzq01/source/mono/mcs/class/System.XML'
make[7]: *** [do-all] Error 2
make[7]: Leaving directory `/home/zzq01/source/mono/mcs/class/System.XML'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/home/zzq01/source/mono/mcs/class'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/zzq01/source/mono/mcs'
make[4]: *** [profile-do--basic--all] Error 2
make[4]: Leaving directory `/home/zzq01/source/mono/mcs'
make[3]: *** [profiles-do--all] Error 2
make[3]: Leaving directory `/home/zzq01/source/mono/mcs'
make[2]: *** [all-local] Error 2
make[2]: Leaving directory `/home/zzq01/source/mono/mono/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zzq01/source/mono/mono'
make: *** [all] Error 2


I can successfully compile the mono source from SVN in FC4 with gcc 4.0.2-8. 
has somebody successfully compiled mono in FC5?


Regards,
ZhangZQ 




More information about the Mono-devel-list mailing list