Hi, 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 #ASSUMPTIONS: #[1] Platform : Solaris 8, SPARC #[2] The following packages already installed: gcc >= 3.4.1, make, flex, libiconv #from http://www.sunfreeware.com) #----- Enable system to find the compilation tools PATH=/usr/local/bin:/usr/ccs/bin:$PATH #----- Install pkgconfig cd /downloads wget http://freedesktop.org/Software/pkgconfig/releases/pkgconfig-0.15.0.tar.gz gzip -d pkgconfig-0.15.0.tar.gz tar xvf pkgconfig-0.15.0.tar cd pkgconfig-0.15.0 ./configure make 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=/usr/local/mono-1.0 make ======================= 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" redefined <command line>:5:1: warning: this is the location of the previous definition ======================= 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 bash-2.03# ======================= 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 support 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 generator *** 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=/bcc/mono-1.0 '--prefix=/bcc/mono-1.0' 'CC=/usr/local/bin/gcc' --disable-embed-check --with-libgc-threads=pthreads --cache-file=/dev/null --srcdir=. Hopefully someone on this list would be able to assist me with this. Many thanks, Harry _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
