[Mono-dev] mono 2.0, solaris x86, bootstrap
Andreas Färber
andreas.faerber at web.de
Sun Oct 19 04:32:45 EDT 2008
Hi Pablo et al.,
I've compiled the latest Mono trunk on S10 5/08, and faced some issues
but two different ones: ;)
* GNU gettext or something was probably not installed, so gmake failed
early when trying to process mcs' .po files. As a workaround I added --
disable-nls to the configure switches.
* I had r104591 (post-1.9) installed, and compilation of the net_2_0
assemblies failed due to some class missing in the old mscorlib.dll
apparently. Removing the installed Mono and using the latest monolite
instead worked fine however. I remember having such an issue before -
is this expected?
-bash-3.00$ uname -a
SunOS sonnengoettin 5.10 Generic_137112-08 i86pc i386 i86pc
-bash-3.00$ mono -V
Mono JIT compiler version 2.1 (/trunk/mono r116391)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
TLS: normal
GC: System Boehm (with typed GC)
SIGSEGV: normal
Notification: Thread + polling
Architecture: x86
Disabled: none
Btw I noticed that lacking git-svn (didn't find the SVN Perl files on
S10 on quick search...), Mono from my Git repo wrongly said "Mono JIT
compiler version 1.9 (tarball)". I'll see if I can piece together a
patch.
Andreas
Am 12.10.2008 um 21:03 schrieb Andreas Färber:
>
>> Here's my Solaris 10 build environment:
>>
>> PATH=/usr/local/bin:/opt/gdb/bin:/opt/mono/bin:/opt/sfw/bin:/opt/sfw/
>> sbin:/usr/sfw/bin:/usr/bin:/usr/dt/bin:/usr/openwin/bin
>> export PATH
>> export MAKE=gmake
>> export AR=gar
>> export STRIP=gstrip
>> export RANLIB=granlib
>> export AS=gas
>
> Note: /opt/gdb is a self-compiled amd64 GDB - not needed for
> bootstrapping.
> Some GNU packages from the Companion CD are used here, Subversion
> comes from sunfreeware.com.
>
>> x86:
>>
>> GC_PREFIX=/opt/mono-gc7.0
>> ../gc-7.0/configure --prefix=$GC_PREFIX CC=gcc MAKE=gmake AR=gar
>> RANLIB=granlib STRIP=gstrip AS=gas INSTALL=/usr/ucb/install
>>
>> ../mono/configure --prefix=/opt/mono --with-tls=pthread --with-
>> sigaltstack=no --with-gc=boehm --enable-dtrace \
>> CC=gcc MAKE=gmake AR=gar RANLIB=granlib STRIP=gstrip AS=gas INSTALL=/
>> usr/ucb/install \
>> CPPFLAGS=-I/opt/mono-gc7.0/include LDFLAGS=-L/opt/mono-gc7.0/lib
>>
>> amd64:
>>
>> export LD_LIBRARY_PATH=/usr/sfw/lib/amd64:$LD_LIBRARY_PATH
>> GC_PREFIX=/opt/mono-gc7.0
>> ../gc-7.0/configure --prefix=$GC_PREFIX --libdir=$GC_PREFIX/lib/
>> amd64 CC=gcc CFLAGS=-m64 MAKE=gmake AR=gar RANLIB=granlib
>> STRIP=gstrip CCAS=gas CCASFLAGS=-64 INSTALL=/usr/ucb/install
>>
>> export LD_LIBRARY_PATH=/usr/sfw/lib/amd64:$LD_LIBRARY_PATH
>> MONO_PREFIX=/opt/mono
>> ../mono/configure --prefix=$MONO_PREFIX --bindir=$MONO_PREFIX/bin/
>> amd64 --libdir=$MONO_PREFIX/lib/amd64 --with-tls=pthread --with-
>> sigaltstack=no --with-gc=boehm --disable-mcs-build CC="gcc -m64"
>> MAKE=gmake AR=gar RANLIB=granlib STRIP=gstrip AS="gas -64" INSTALL=/
>> usr/ucb/install CPPFLAGS=-I/opt/mono-gc7.0/include LDFLAGS=-L/opt/
>> mono-gc7.0/lib/amd64 PKG_CONFIG_PATH=/usr/lib/amd64/pkgconfig:/opt/
>> mono-gc7.0/lib/amd64/pkgconfig
More information about the Mono-devel-list
mailing list