[Mono-dev] compiling on solaris

Rafael Teixeira monoman at gmail.com
Tue Aug 22 10:39:52 EDT 2006


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
>


-- 
Rafael "Monoman" Teixeira
---------------------------------------
"The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man." George Bernard Shaw



More information about the Mono-devel-list mailing list