[Mono-dev] Build problems on Solaris 9/sparc

Jason Downs downsj at downsj.com
Wed Aug 31 12:08:52 EDT 2005


I've been trying to get mono built on Solaris 9/sparc.  It's not
going very well.  The first problem encountered is when the build process
attempts to use mcs for the first time.  mcs is there, and is a working
.exe, but it appears to be *invoking* it wrong (note the usage line):

make[3]: Entering directory `/usr/local/src/build/mono-1.1/mono-'
make profile-do--default--all profile-do--net_2_0--all
make[4]: Entering directory `/usr/local/src/build/mono-1.1/mono-'
make PROFILE=basic all
make[5]: Entering directory `/usr/local/src/build/mono-1.1/mono-'
make[6]: Entering directory `/usr/local/src/build/mono-1.1/mono-'
usage: mcs [-cdpVz] [-a string] [-n name] file ...
make[6]: *** [build/deps/basic-profile-check.exe] Error 1
make[6]: Leaving directory `/usr/local/src/build/mono-1.1/mono-'
*** The compiler 'mcs' doesn't appear to be usable.
*** Falling back to using pre-compiled binaries.  Be warned, this may not work.
make[6]: Entering directory `/usr/local/src/build/mono-1.1/mono-'
make all-local
make[7]: Entering directory `/usr/local/src/build/mono-1.1/mono-'
gcc -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o closure.o closure.c

I've went through all of the various Makefile fragments looking for what could
be the problem, but I've not found it.

Perhaps unsurprisingly, the build then eventually fails while compiling the

make[8]: Entering directory `/usr/local/src/build/mono-1.1/mono-'
make[8]: *** No rule to make target `Mono.Math.Prime.Generator/SequentialSearchPrimeGeneratorBase.cs', needed by `../../class/lib/net_1_1_bootstrap/Mono.Security.dll'.  Stop.
make[8]: Leaving directory `/usr/local/src/build/mono-1.1/mono-'
make[7]: *** [do-all] Error 2
make[7]: Leaving directory `/usr/local/src/build/mono-1.1/mono-'
make[6]: *** [all-recursive] Error 1

Anyone have any ideas why this will not build?  It's just Solaris 9 w/ GNU,
nothing particularly special about the environment.  Using gcc-3.4.4.

Has anyone built this version under Solaris 9/sparc?

(Please include me directly in any replies!)

Jason Downs
downsj at downsj.com

 	I see a sky full of the stars that change our minds
	and lead us back to a world we would not face.

More information about the Mono-devel-list mailing list