[Mono-dev] problem building mono, can't get monolite to work

pablosantosluac at terra.es pablosantosluac at terra.es
Thu Oct 2 11:43:51 EDT 2008

Hi there,

I've been bothering Zoltan, Geoff and Mark all they trying to get my 
Solaris x86 to build latest mono correctly. But I'm stopped now and 
maybe someone can help.

First mistake I had is I was using packages from sunfreeware instead of 
blastwave. Getting rid of the first ones (gcc, automake, autogen, 
libtool, glib, glib2) and using the ones from blastwave seems to be much 

Well, I've configured, run make, and I get to the point where I need 
monolite. I did make get-monolite-latest and run make again.

Here's my problem now:

  Making all in runtime
  gmake[2]: Entering directory `/home/pablo/mono/trunk/mono/runtime'
  if test -w ../../mcs; then :; else chmod -R +w ../../mcs; fi
  cd ../../mcs && gmake NO_DIR_CHECK=1 PROFILES='default net_2_0 
net_3_5net_2_1' CC='gcc' all-profiles
  gmake[3]: Entering directory `/home/pablo/mono/trunk/mcs'
  gmake profile-do--default--all profile-do--net_2_0--all 
profile-do--net_3_5--all profile-do--net_2_1--all
  gmake[4]: Entering directory `/home/pablo/mono/trunk/mcs'
  gmake PROFILE=basic all
  gmake[5]: Entering directory `/home/pablo/mono/trunk/mcs'
  usage: mcs [-cdpVz] [-a string] [-n name] file ...
  gmake[6]: *** [build/deps/basic-profile-check.exe] Error 1
  gmake[6]: Entering directory `/home/pablo/mono/trunk/mcs'
  *** The compiler 'mcs' doesn't appear to be usable.
  *** Trying the 'monolite' directory.
  gmake[7]: Entering directory `/home/pablo/mono/trunk/mcs'
  GC Warning: Large stack limit(133464064): only scanning 8 MB
  gmake[8]: *** [build/deps/basic-profile-check.exe] Error 1
  gmake[8]: Entering directory `/home/pablo/mono/trunk/mcs'
  *** The contents of your 'monolite' directory may be out-of-date
  *** You may want to try 'make get-monolite-latest'
  gmake[8]: *** [do-profile-check-monolite] Error 1
  gmake[8]: Leaving directory `/home/pablo/mono/trunk/mcs'
  gmake[7]: *** [do-profile-check] Error 2
  gmake[7]: Leaving directory `/home/pablo/mono/trunk/mcs'
  gmake[6]: *** [do-profile-check-monolite] Error 2
  gmake[6]: Leaving directory `/home/pablo/mono/trunk/mcs'
  gmake[5]: *** [do-profile-check] Error 2
  gmake[5]: Leaving directory `/home/pablo/mono/trunk/mcs'
  gmake[4]: *** [profile-do--basic--all] Error 2
  gmake[4]: Leaving directory `/home/pablo/mono/trunk/mcs'
  gmake[3]: *** [profiles-do--all] Error 2
  gmake[3]: Leaving directory `/home/pablo/mono/trunk/mcs'
  gmake[2]: *** [all-local] Error 2
  gmake[2]: Leaving directory `/home/pablo/mono/trunk/mono/runtime'
  gmake[1]: *** [all-recursive] Error 1
  gmake[1]: Leaving directory `/home/pablo/mono/trunk/mono'
  *** Error code 2
  make: Fatal error: Command failed for target `all'

As Geoff pointed out: it appears the runtime is crashing according to:

  GC Warning: Large stack limit(133464064): only scanning 8 MB
  gmake[8]: *** [build/deps/basic-profile-check.exe] Error 1

He asked to run the .exe independently with gdb to find out what the 
problem is...

But I can't find this basic-profile-check.exe anywhere...

I guess I'm doing something prettry wrong, but any help would be 



More information about the Mono-devel-list mailing list