[Mono-list] Re: Mono In Solaris

Enrique Garcia Ayuda kikegayuda at gmail.com
Mon Dec 19 05:59:23 EST 2005


I have GCC 3.4.2

I resume all the steps i have done in order to get Mono on Solaris.
The last thin it's open the Bug 77034 on Mono
because solaris do not support the Math.h isnormal Function

I'm downloading Sun Studio 11 (it' s Free) Others Sun Strudio Cost
3000$ and will try again.
I get two sarc machine anoe with CC and other without, and CC native
compiler it's a must.
another problem it's the ld native you have to link to ld in
usr/local/bin/ld to /usr/bin/ld or the mono install do not work, maybe
with Sun Studio 11 may be work.
The install of  binutils-2.16.1.tar.gz only woks with  CC=gcc
./configure --prefix=/usr/local --disable-nls

I sent to you my .sh of the total compilation.

Now i have the problem of isnormal, but in mono/dis/get.c i comnet the
two reference to isnormal and i make again and i get the error:
 mcs: Command not found
make[6]: *** [build/deps/basic-profile-check.exe] Error 127
*** The compiler 'mcs' doesn't appear to be usable.
*** You need a C# compiler installed to build MCS (make sure mcs works
from the command line)
*** Read INSTALL.txt for information on how to bootstrap a Mono installation

the Steps

After all i get some key factor every time you enter in console do:
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export PATH=/usr/local/bin:$PATH
1. the Tar in Solaris in incompatible with Tar GNU in
http://www.sunfreeware.com get tar-1.15.1-sol8-sparc-local.gz
2. get the binutils-2.11.2-sol8-sparc-local.gz  install ang get the
sources binutils-2.16.1.tar.gz and install try with --disable-nls but
it's seems that do not work
3. get the last Make make-3.80-sol8-sparc-local.gz and install
3. get the last GCC  gcc-3.4.2-sol8-sparc-local
4. libiconv-1.9.2 ftp://ftp.cs.tu-berlin.de/pub/gnu/libiconv/
libiconv-1.9.1 do not work
5. get gettext-0.14.5 bison-2.0 m4-1.4.3 , this install ins /usr not
usr/local because bison search in usr. Remenber to make twice because
libiconv if you already done before put libiconv-1.9.2  or the getText
won't  work with  libiconv-1.9.2
6. install glib-2.9.0
7. now begins the problem, you need the ld from binutils or you get
error of ilegall ld options, the best solutions it's to isntall the
GCC but i think it's too complicate, and the trick it's to make ln -s
/usr/local/bin/ld /usr/ccs/bin/ld and try, but i can not make it. .

So I don't how to install mcs.


2005/12/16, C. <christopherbergstrom at gmail.com>:
>  I recently installed Mono on Solaris 11 so I feel your pains...  I'm not a
> Solaris/sparc guy, but was curious what all the fuss was about..  I can say
> that it was a major pain and I've been working with Linux for years..  I
> imagine if your paths are all messed up and you don't have GCC installed
> getting that all up and running is your first challenge..
>  btw.. Why in your post did you put it's a 3000$ question?
>  If you catch me within the next couple hours I might leave that system up
> and could maybe help you, but otherwise I'm formatting it and it's getting
> FreeBSD on there..
>  (Doing some performance comparisons between Linux-hardened, Linux-mm,
> Solaris, FreeBSD For internal company purposes mostly..)
>  What version of GCC? x86 or sparc?  How familiar are you with Solaris?
>  Cheers,
>  C.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mono10_07GPOV.sh
Type: application/x-sh
Size: 1768 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20051219/77ff8f86/mono10_07GPOV.sh

More information about the Mono-list mailing list