[Mono-list] Mono compilation problems (Solaris 8, SPARC)

Harry Sufehmi milis-2@harrysufehmi.com
Mon, 02 Aug 2004 12:50:48 +0100


I'm asked by my manager to install Mono on our Intranet server, to run an=
 eLearning package.
However, the compilation process ended up with a few error messages, and=
 Mono won't install.

I've looked around (newsgroups, google, mailing list archives, etc), and it=
 seems that not many people are installing Mono in this particular platform=
 (or they didn't encounter any problem at all). So I'm still clueless on=
 why Mono won't install here.

Here's the notes that I made during the installation :

#Mono installation notes


#[1] Platform : Solaris 8, SPARC
#[2] The following packages already installed: gcc >=3D 3.4.1, make, flex,=
#from http://www.sunfreeware.com)

#----- Enable system to find the compilation tools

#----- Install pkgconfig
cd /downloads
gzip -d pkgconfig-0.15.0.tar.gz
tar xvf pkgconfig-0.15.0.tar
cd pkgconfig-0.15.0
make install

#----- Install Mono 1.0 runtime
cd /downloads
wget http://mono2.ximian.com/archive/1.0/mono-1.0.tar.gz
gzip -d mono-1.0.tar.gz
tar xvf mono-1.0.tar
cd mono-1.0
mkdir /usr/local/mono-1.0
./configure --prefix=3D/usr/local/mono-1.0

Here's the error messages showed up after executing make :

The following happened 6 times, on the following files :
mono-hash.c, handles.c, processes.c, threads.c, timed-thread.c, wait.c, 
../../libgc/include/gc_config_macros.h:9:1: warning: "GC_SOLARIS_THREADS"=
<command line>:5:1: warning: this is the location of the previous=

The following shows the end of make process:
make[3]: Leaving directory `/bcc/harry/mono-1.0/mono/io-layer'
Making all in monoburg
make[3]: Entering directory `/bcc/harry/mono-1.0/mono/monoburg'
bison ./monoburg.y -o parser.c
make[3]: *** [parser.c] Broken Pipe
make[3]: Leaving directory `/bcc/harry/mono-1.0/mono/monoburg'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/bcc/harry/mono-1.0/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/bcc/harry/mono-1.0'
make: *** [all] Error 2

A bit weird because there's no error on the compilation itself (just a few=
 warnings), but make ended up with errors (and "make install" won't run)

Here's a few notes showed up after running configure :
Might be irrelevant though (just a few warnings)
checking for icu-config... no
configure: WARNING: Only invariant locale available; install ICU for I18N=
checking for random device... no
configure: WARNING:
*** A system-provided entropy source was not found on this system.
*** Because of this, the System.Security.Cryptography random number=
*** will throw a NotImplemented exception.

I noted that gcc is running with "pthreads" option. I read in gcc v3.4.1=
 notes that we shoudl replace pthreads with posix

configure: running /bin/bash './configure' --prefix=3D/bcc/mono-1.0=
  '--prefix=3D/bcc/mono-1.0' 'CC=3D/usr/local/bin/gcc'=
 --disable-embed-check --with-libgc-threads=3Dpthreads=
 --cache-file=3D/dev/null --srcdir=3D.

Hopefully someone on this list would be able to assist me with this.

Many thanks,