Re: [Mono-dev] Build mono from svn on Solaris Express x86

2006-10-02 Thread Miguel de Icaza
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
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Build mono from svn on Solaris Express x86

2006-10-02 Thread Daniel Morgan
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


Re: [Mono-dev] Build mono from svn on Solaris Express x86

2006-09-28 Thread Zoltan Varga
 Hi,

  You may have very old versions of autoconf/automake etc.

   Zoltan

On 9/28/06, Daniel Morgan [EMAIL PROTECTED] wrote:
 I have a problem running autogen.sh when building Mono
 from svn on solaris express build 46 x86.

 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)'

 But, pkg-config shows up correctly for glib-2.0:

 bash-3.00$ pkg-config --cflags --libs glib-2.0
  -I/opt/csw/include/glib-2.0
 -I/opt/csw/lib/glib-2.0/include  -L/opt/csw/lib
 -lglib-2.0 -lintl

 I installed mono 1.1.13 from blastwave.org to satisfy
 missing dependencies.

 There was warning near the beginning with
 libgc/autogen.sh too.

 Running autoconf ...
 Running libgc/autogen.sh ...
 Running aclocal  ...
 acinclude.m4:20: warning: underquoted definition of
 GC_SET_VERSION
   run info '(automake)Extending aclocal'
   or see
 http://sources.redhat.com/automake/automake.html#Extending-aclocal
 Running automake --gnu  ...
 Running autoconf ...
 Skipping configure process.
 Done running libgc/autogen.sh ...
 Running ./configure --enable-maintainer-mode
 --enable-compile-warnings
 --prefix=/export/home/danmorg/monoinstall ...
 checking build system type... i386-pc-solaris2.11

 Any ideas?

 Thanks,
 Daniel




 __
 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

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Build mono from svn on Solaris Express x86

2006-09-28 Thread Daniel Morgan
What versions are required?

autoconf 2.59
automake 1.9.6


--- Zoltan Varga [EMAIL PROTECTED] wrote:

  Hi,
 
   You may have very old versions of
 autoconf/automake etc.
 
Zoltan
 
 On 9/28/06, Daniel Morgan [EMAIL PROTECTED]
 wrote:
  I have a problem running autogen.sh when building
 Mono
  from svn on solaris express build 46 x86.
 
  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)'
 
  But, pkg-config shows up correctly for glib-2.0:
 
  bash-3.00$ pkg-config --cflags --libs glib-2.0
   -I/opt/csw/include/glib-2.0
  -I/opt/csw/lib/glib-2.0/include  -L/opt/csw/lib
  -lglib-2.0 -lintl
 
  I installed mono 1.1.13 from blastwave.org to
 satisfy
  missing dependencies.
 
  There was warning near the beginning with
  libgc/autogen.sh too.
 
  Running autoconf ...
  Running libgc/autogen.sh ...
  Running aclocal  ...
  acinclude.m4:20: warning: underquoted definition
 of
  GC_SET_VERSION
run info '(automake)Extending aclocal'
or see
 

http://sources.redhat.com/automake/automake.html#Extending-aclocal
  Running automake --gnu  ...
  Running autoconf ...
  Skipping configure process.
  Done running libgc/autogen.sh ...
  Running ./configure --enable-maintainer-mode
  --enable-compile-warnings
  --prefix=/export/home/danmorg/monoinstall ...
  checking build system type... i386-pc-solaris2.11
 
  Any ideas?
 
  Thanks,
  Daniel
 
 
 
 
  __
  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
 
 


__
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