[Mono-dev] compiling on solaris

Tom Bombadil grlists at gmail.com
Tue Aug 22 16:28:30 EDT 2006


Thanks Rafael,


I found one of the problems, but the compilation still fails:

Solaris' tar just doesn't unpack the whole tree, and it exits without
spitting out any error or warning. I have seen sun's tar fails unpacking
  a bunch of stuff before, but it always returned an error.


The new error is this:
---------
gmake[2]: Entering directory `/home/gbaratto/src/mono-1.1.16.1/data'
Making all in net_1_1
gmake[3]: Entering directory `/home/gbaratto/src/mono-1.1.16.1/data/net_1_1'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/home/gbaratto/src/mono-1.1.16.1/data/net_1_1'
Making all in net_2_0
gmake[3]: Entering directory `/home/gbaratto/src/mono-1.1.16.1/data/net_2_0'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/home/gbaratto/src/mono-1.1.16.1/data/net_2_0'
gmake[3]: Entering directory `/home/gbaratto/src/mono-1.1.16.1/data'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/home/gbaratto/src/mono-1.1.16.1/data'
gmake[2]: Leaving directory `/home/gbaratto/src/mono-1.1.16.1/data'
Making all in runtime
gmake[2]: Entering directory `/home/gbaratto/src/mono-1.1.16.1/runtime'
if test -w ../mcs; then :; else chmod -R +w ../mcs; fi
cd ../mcs && gmake PROFILES='default net_2_0' CC='gcc' all-profiles
gmake[3]: Entering directory `/home/gbaratto/src/mono-1.1.16.1/mcs'
gmake profile-do--default--all profile-do--net_2_0--all
gmake[4]: Entering directory `/home/gbaratto/src/mono-1.1.16.1/mcs'
gmake PROFILE=basic all
gmake[5]: Entering directory `/home/gbaratto/src/mono-1.1.16.1/mcs'
gmake[6]: execvp: mcs: Permission denied
gmake[6]: *** [build/deps/basic-profile-check.exe] Error 127
gmake[6]: Entering directory `/home/gbaratto/src/mono-1.1.16.1/mcs'
*** The compiler 'mcs' doesn't appear to be usable.
*** Trying the 'monolite' directory.
gmake[7]: Entering directory `/home/gbaratto/src/mono-1.1.16.1/mcs'
build/deps/basic-profile-check.cs(1,1): error CS8025: Parsing error
gmake[8]: *** [build/deps/basic-profile-check.exe] Error 1
gmake[8]: Entering directory `/home/gbaratto/src/mono-1.1.16.1/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/gbaratto/src/mono-1.1.16.1/mcs'
gmake[7]: *** [do-profile-check] Error 2
gmake[7]: Leaving directory `/home/gbaratto/src/mono-1.1.16.1/mcs'
gmake[6]: *** [do-profile-check-monolite] Error 2
gmake[6]: Leaving directory `/home/gbaratto/src/mono-1.1.16.1/mcs'
gmake[5]: *** [do-profile-check] Error 2
gmake[5]: Leaving directory `/home/gbaratto/src/mono-1.1.16.1/mcs'
gmake[4]: *** [profile-do--basic--all] Error 2
gmake[4]: Leaving directory `/home/gbaratto/src/mono-1.1.16.1/mcs'
gmake[3]: *** [profiles-do--all] Error 2
gmake[3]: Leaving directory `/home/gbaratto/src/mono-1.1.16.1/mcs'
gmake[2]: *** [all-local] Error 2
gmake[2]: Leaving directory `/home/gbaratto/src/mono-1.1.16.1/runtime'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/gbaratto/src/mono-1.1.16.1'
gmake: *** [all] Error 2
------------






Then I executed "gmake get-monolite-latest" and got this:

----------
Making all in docs
gmake[2]: Entering directory `/home/gbaratto/src/mono-1.1.16.1/docs'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/home/gbaratto/src/mono-1.1.16.1/docs'
Making all in data
gmake[2]: Entering directory `/home/gbaratto/src/mono-1.1.16.1/data'
Making all in net_1_1
gmake[3]: Entering directory `/home/gbaratto/src/mono-1.1.16.1/data/net_1_1'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/home/gbaratto/src/mono-1.1.16.1/data/net_1_1'
Making all in net_2_0
gmake[3]: Entering directory `/home/gbaratto/src/mono-1.1.16.1/data/net_2_0'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/home/gbaratto/src/mono-1.1.16.1/data/net_2_0'
gmake[3]: Entering directory `/home/gbaratto/src/mono-1.1.16.1/data'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/home/gbaratto/src/mono-1.1.16.1/data'
gmake[2]: Leaving directory `/home/gbaratto/src/mono-1.1.16.1/data'
Making all in runtime
gmake[2]: Entering directory `/home/gbaratto/src/mono-1.1.16.1/runtime'
if test -w ../mcs; then :; else chmod -R +w ../mcs; fi
cd ../mcs && gmake PROFILES='default net_2_0' CC='gcc' all-profiles
gmake[3]: Entering directory `/home/gbaratto/src/mono-1.1.16.1/mcs'
gmake profile-do--default--all profile-do--net_2_0--all
gmake[4]: Entering directory `/home/gbaratto/src/mono-1.1.16.1/mcs'
gmake PROFILE=basic all
gmake[5]: Entering directory `/home/gbaratto/src/mono-1.1.16.1/mcs'
gmake[6]: execvp: mcs: Permission denied
gmake[6]: *** [build/deps/basic-profile-check.exe] Error 127
gmake[6]: Entering directory `/home/gbaratto/src/mono-1.1.16.1/mcs'
*** The compiler 'mcs' doesn't appear to be usable.
*** Trying the 'monolite' directory.
gmake[7]: Entering directory `/home/gbaratto/src/mono-1.1.16.1/mcs'
Corlib not in sync with this runtime: expected corlib version 53, found 54.
Download a newer corlib or a newer runtime at http://www.go-mono.com/daily.
gmake[8]: *** [build/deps/basic-profile-check.exe] Error 1
gmake[8]: Entering directory `/home/gbaratto/src/mono-1.1.16.1/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/gbaratto/src/mono-1.1.16.1/mcs'
gmake[7]: *** [do-profile-check] Error 2
gmake[7]: Leaving directory `/home/gbaratto/src/mono-1.1.16.1/mcs'
gmake[6]: *** [do-profile-check-monolite] Error 2
gmake[6]: Leaving directory `/home/gbaratto/src/mono-1.1.16.1/mcs'
gmake[5]: *** [do-profile-check] Error 2
gmake[5]: Leaving directory `/home/gbaratto/src/mono-1.1.16.1/mcs'
gmake[4]: *** [profile-do--basic--all] Error 2
gmake[4]: Leaving directory `/home/gbaratto/src/mono-1.1.16.1/mcs'
gmake[3]: *** [profiles-do--all] Error 2
gmake[3]: Leaving directory `/home/gbaratto/src/mono-1.1.16.1/mcs'
gmake[2]: *** [all-local] Error 2
gmake[2]: Leaving directory `/home/gbaratto/src/mono-1.1.16.1/runtime'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/gbaratto/src/mono-1.1.16.1'
gmake: *** [all] Error 2
-------------





Any ideas?






Rafael Teixeira wrote:
> Yes you need a precompiled mcs/gmcs/corlib set called the monolite.
> 
> Just do:
> 
> make get-monolite-latest
> 
> as is already instructed inside your long list of messages...
> 
> Renaming the solaris mcs or rearranging the PATH to avoid this
> collision, is a step that normally only aflict those that doesn't get
> monolite first.
> 
> Although it doesn't seem to have experienced your trouble (I remember
> more than one Solaris person having it in the past) this guy has a
> good page on the subject:
> 
> http://www.genunix.org/wiki/index.php/How_to_build_Mono_on_Solaris
> 
> Fun,
> 
> On 8/21/06, Tom Bombadil <grlists at gmail.com> wrote:
>> Hi all...
>>
>> Trying to build 1.1.16.1 under solaris 10 with blastwave's gcc stuff,
>> and I'm getting this error when compiling:
>> ----------
>> gmake[3]: Entering directory
>> `/home/gbaratto/src/mono-1.1.16.1/data/net_1_1'
>> gmake[3]: Nothing to be done for `all'.
>> gmake[3]: Leaving directory
>> `/home/gbaratto/src/mono-1.1.16.1/data/net_1_1'
>> Making all in net_2_0
>> gmake[3]: Entering directory
>> `/home/gbaratto/src/mono-1.1.16.1/data/net_2_0'
>> gmake[3]: Nothing to be done for `all'.
>> gmake[3]: Leaving directory
>> `/home/gbaratto/src/mono-1.1.16.1/data/net_2_0'
>> gmake[3]: Entering directory `/home/gbaratto/src/mono-1.1.16.1/data'
>> gmake[3]: Nothing to be done for `all-am'.
>> gmake[3]: Leaving directory `/home/gbaratto/src/mono-1.1.16.1/data'
>> gmake[2]: Leaving directory `/home/gbaratto/src/mono-1.1.16.1/data'
>> Making all in runtime
>> gmake[2]: Entering directory `/home/gbaratto/src/mono-1.1.16.1/runtime'
>> if test -w ../mcs; then :; else chmod -R +w ../mcs; fi
>> cd ../mcs && gmake PROFILES='default net_2_0' CC='gcc' all-profiles
>> gmake[3]: Entering directory `/home/gbaratto/src/mono-1.1.16.1/mcs'
>> gmake profile-do--default--all profile-do--net_2_0--all
>> gmake[4]: Entering directory `/home/gbaratto/src/mono-1.1.16.1/mcs'
>> gmake PROFILE=basic all
>> gmake[5]: Entering directory `/home/gbaratto/src/mono-1.1.16.1/mcs'
>> gmake[6]: mcs: Command not found
>> gmake[6]: *** [build/deps/basic-profile-check.exe] Error 127
>> gmake[6]: Entering directory `/home/gbaratto/src/mono-1.1.16.1/mcs'
>> *** The compiler 'mcs' doesn't appear to be usable.
>> *** Trying the 'monolite' directory.
>> gmake[7]: Entering directory `/home/gbaratto/src/mono-1.1.16.1/mcs'
>> error CS8025: Parsing error
>> gmake[8]: *** [build/deps/basic-profile-check.exe] Error 1
>> gmake[8]: Entering directory `/home/gbaratto/src/mono-1.1.16.1/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/gbaratto/src/mono-1.1.16.1/mcs'
>> gmake[7]: *** [do-profile-check] Error 2
>> gmake[7]: Leaving directory `/home/gbaratto/src/mono-1.1.16.1/mcs'
>> gmake[6]: *** [do-profile-check-monolite] Error 2
>> gmake[6]: Leaving directory `/home/gbaratto/src/mono-1.1.16.1/mcs'
>> gmake[5]: *** [do-profile-check] Error 2
>> gmake[5]: Leaving directory `/home/gbaratto/src/mono-1.1.16.1/mcs'
>> gmake[4]: *** [profile-do--basic--all] Error 2
>> gmake[4]: Leaving directory `/home/gbaratto/src/mono-1.1.16.1/mcs'
>> gmake[3]: *** [profiles-do--all] Error 2
>> gmake[3]: Leaving directory `/home/gbaratto/src/mono-1.1.16.1/mcs'
>> gmake[2]: *** [all-local] Error 2
>> gmake[2]: Leaving directory `/home/gbaratto/src/mono-1.1.16.1/runtime'
>> gmake[1]: *** [all-recursive] Error 1
>> gmake[1]: Leaving directory `/home/gbaratto/src/mono-1.1.16.1'
>> gmake: *** [all] Error 2
>> [01:26 PM] van-www-test:~/src/mono-1.1.16.1$
>> ---------
>>
>>
>> do I need mcs pre-installed in the system?
>>
>> Also, solaris has /usr/css/bin/mcs (which I renamed temporarily), and
>> the build system tries to execute it.
>>
>> Any ideas?
>>
>> Thanks
>>
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>
> 
> 



More information about the Mono-devel-list mailing list