Title: RE: [Mono-list] GC error building mono on windows

My guess is that your packages are not installed correctly.

Go to /monocvs/install/lib/pkgconfig and check the 'prefix=' line in each of the '*.pc' files in there. If the line reads 'prefix=/target' then change it to read 'prefix=/monocvs/install'


Here's a section of my ~/.profile script I use for building mono:

  export MONOINSTALL=$HOME/mono/install
  export CPPFLAGS="$CPPFLAGS -I$MONOINSTALL/include"
  export LDFLAGS="$LDFLAGS -L$MONOINSTALL/lib"
  export ACLOCAL_FLAGS="-I $MONOINSTALL/share/aclocal $ACLOCAL_FLAGS"
  export PKG_CONFIG_PATH=$MONOINSTALL/lib/pkgconfig
  export PATH=$PATH:$MONOINSTALL/bin:$MONOINSTALL/lib

And instead of running configure, I do this:
  ./autogen.sh --prefix=`cygpath -m $MONOINSTALL` --with-gc=boehm

Although, if the mono-build-w32.sh script works for you you should probably stick with that...

HTH
Piers.

> -----Original Message-----
> From: Jean-Marc Andr� [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 10, 2003 12:54 PM
> To: John BouAntoun
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Mono-list] GC error building mono on windows
>
>
> Hi,
>
> I had the same problem.
> If it still doesn't work, try this: in the configure.in file replace
> "mno-cygwin" by "mcygwin" on the line 20 and check your gc.h is in
> something like /usr/include or /usr/local/include.
> Then re-run autogen.sh
>
> Hope this helps
>
> JM
>
>
>
> John BouAntoun wrote:
>
> > Hi guys,
> >
> > This is my first post to the mailing list. Appologies about the html
> > mail, but i'm using the web interface to my office email.
> >
> > I am running the lateste mono-build-w32.sh and get the following
> > error:
> >
> > ...
> > checking whether to build shared libraries... yes
> > checking whether to build static libraries... yes
> > creating libtool
> > checking for sys/filio.h... no
> > checking for sys/sockio.h... no
> > checking for netdb.h... no
> > checking for utime.h... no
> > checking for semaphore.h... no
> > checking for elf.h... no
> > checking for wchar.h... yes
> > checking size of void *... 4
> > checking for pkg-config... /usr/bin/pkg-config
> > checking for glib-2.0 >= 1.3.11... yes
> > checking BASE_DEPENDENCIES_CFLAGS...
> > -I/monocvs/install/include/glib-2.0 -I/mono
> > cvs/install/lib/glib-2.0/include
> > checking BASE_DEPENDENCIES_LIBS... -L/monocvs/install/lib
> -lglib-2.0
> > -lintl -lic
> > onv
> > checking for gc.h... no
> > checking for gc/gc.h... no
> > checking for GC_malloc in -lgc... yes
> > configure: error: Found libgc but not its header files! You
> may need
> > to install
> > them by hand.
> >
> >
> > My setup is as follows:
> >  - full fresh mono, mcs and xsp get from cvs
> >  - /monocvs/mono, /monocvs/mcs, /monocvs/xsp folders
> contain cvs files
> >  - running /monocvs/mono-build-w32.sh
> >  - it creates a directory called /monocvs/install
> >
> > Help with this would be appreciated, I actually think it's a bug in
> > the make file, but have no real idea how to read a make file.
> >
> > jba (aka SecretSquirrel)
> >
>
>
> _______________________________________________
> Mono-list maillist  -  [EMAIL PROTECTED]
> http://lists.ximian.com/mailman/listinfo/mono-list
>

Reply via email to