Thanks miguel. That helped. I am using subversion because I like to build it myself so I can make changes to it. :-)
export ACLOCAL_FLAGS="-I /usr/share/aclocal" I used these links to help me: http://home.comcast.net/~jonel.rienton/2005/04/solaris-10-x86-and-mono.html http://www.genunix.org/wiki/index.php/How_to_build_Mono_on_Solaris Mono 1.1.13.8 and its dependencies are available for Solaris 10/x86 via http://www.blastwave.org. However, there is no new verison though. You download pkg-get and install it. Then you use pkg-get to get mono. It downloads and installs mono and its dependencies. /opt/csw is where blastwave.org installs its packages. /usr/sfw is where you find some GNU tools like gcc /usr/ccs is where you find tools like ar export PATH=/usr/sfw/bin:/opt/csw/bin:$PATH:/usr/sbin:/sbin:/usr/X/bin:/usr/ccs/bin export LD_LIBRARY_PATH=/usr/sfw/lib:/opt/csw/lib:$LD_LIBRARY_PATH:/usr/lib:/usr/X/lib:/usr/ccs/lib export PKG_CONFIG_PATH=/opt/csw/lib/pkgconfig export ACLOCAL_FLAGS="-I /usr/share/aclocal" And of course, I used the bash shell. How I ran autogen.sh: CC=/usr/sfw/bin/gcc ./autogen.sh --prefix=$HOME/monosvn/monoinstall --with-libs=/opt/csw/lib --with-includes=/opt/csw/include How I ran gmake: CC=/usr/sfw/bin/gcc CFLAGS='-D_POSIX_PTHREAD_SEMANTICS' gmake However, I did make a change to configure.in for tls by adding with_tls=pthread and I commented with_nptl. *-*-solaris*) platform_win32=no CPPFLAGS="$CPPFLAGS -DGC_SOLARIS_THREADS -DGC_SOLARIS_PTHREADS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_MMAP -DUSE_MUNMAP" need_link_unlink=yes libmono_cflags="-D_REENTRANT" libgc_threads=pthreads # This doesn't seem to work on solaris/x86, but the configure test runs # with_nptl=no with_tls=pthread ;; I know this works for Solaris Express and Solaris 10, but not sure about versions prior to 2.10. --- Miguel de Icaza <[EMAIL PROTECTED]> wrote: > Hello, > > > configure error building mono from svn on solaris > x86 > > /configure: line 22795: syntax error near > unexpected > > token `BASE_DEPENDENCIES,'./configure: line 22795: > ` > > PKG_CHECK_MODULES(BASE_DEPENDENCIES, glib-2.0 >= > > $GLIB_REQUIRED_VERSION)' > > This looks like you are missing the pkg-config > installation on your > system, or you have not set ACLOCAL_FLAGS to include > the -I and the path > where aclocal can find it. > > You will drastically reduce the number of > dependencies in your build, if > you use a tarball instead of SVN which has none of > these problems. > > Miguel > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list