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

Jason Downs downsj at downsj.com
Fri Sep 2 12:41:41 EDT 2005


In message <295e750a0509020555546df3db at mail.gmail.com>, Zoltan Varga writes:
>  You most likely have a binary on your system with the name 'mcs'. Remove it,
>or remove it from your patch, and it should work.

Well, ok.  Seems somewhat silly that it's pulling mcs out of $PATH instead of
referring to it directly.  Many (most?) Solaris administrators have
/usr/ccs/bin in their $PATH, at least if they ever do any compiling.

The other error still exists, and the build still fails, after moving
/usr/ccs/bin/mcs out of the way.

[...]
make[8]: Entering directory `/usr/local/src/build/mono-1.1/mono-1.1.8.3/mcs/class/Mono.Security'
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-1.1.8.3/mcs/class/Mono.Security'
[...]

>On 8/31/05, Jason Downs <downsj at downsj.com> wrote:
>> Hi,
>> 
>> I've been trying to get mono 1.1.8.3 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-1.1.8.3/mcs'
>> make profile-do--default--all profile-do--net_2_0--all
>> make[4]: Entering directory `/usr/local/src/build/mono-1.1/mono-1.1.8.3/mcs'
>> make PROFILE=basic all
>> make[5]: Entering directory `/usr/local/src/build/mono-1.1/mono-1.1.8.3/mcs'
>> make[6]: Entering directory `/usr/local/src/build/mono-1.1/mono-1.1.8.3/mcs'
>> 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-1.1.8.3/mcs'
>> *** The compiler 'mcs' doesn't appear to be usable.
>> *** Falling back to using pre-compiled binaries.  Be warned, this may not wo
>rk.
>> make[6]: Entering directory `/usr/local/src/build/mono-1.1/mono-1.1.8.3/mcs/
>jay'
>> make all-local
>> make[7]: Entering directory `/usr/local/src/build/mono-1.1/mono-1.1.8.3/mcs/
>jay'
>> gcc -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o closure.o closu
>re.c
>> [...]
>> 
>> I've went through all of the various Makefile fragments looking for what cou
>ld
>> be the problem, but I've not found it.
>> 
>> Perhaps unsurprisingly, the build then eventually fails while compiling the
>> classes:
>> 
>> [...]
>> make[8]: Entering directory `/usr/local/src/build/mono-1.1/mono-1.1.8.3/mcs/
>class/Mono.Security'
>> make[8]: *** No rule to make target `Mono.Math.Prime.Generator/SequentialSea
>rchPrimeGeneratorBase.cs', needed by `../../class/lib/net_1_1_bootstrap/Mono.S
>ecurity.dll'.  Stop.
>> make[8]: Leaving directory `/usr/local/src/build/mono-1.1/mono-1.1.8.3/mcs/c
>lass/Mono.Security'
>> make[7]: *** [do-all] Error 2
>> make[7]: Leaving directory `/usr/local/src/build/mono-1.1/mono-1.1.8.3/mcs/c
>lass/Mono.Security'
>> 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.
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>
>

--
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