On Sat, 2002-12-14 at 09:23, Fr�d�ric Bazin wrote: > I'm having trouble about the configure script. > I can't set up the right options/enviroment vars to make it work with Glib. > It has some linking problems on a test > It seems he try to use glib library but actually the only files I have > are libglib.a and libglib.la > I hope someone can understand this. > Thanks > Fred >
This probably means you have glib incorrectly installed. ;) Are you
building this on a Windows machine with cygwin? You don't say, but I'm
assuming since it's in this thread...Shouldn't there be a libglib.dll or
whatever they call the on Windows? The libglib.*a files are generally
used for statically linking programs with glib. Double-check your glib
install. Also, check the glib-config script to make sure it is
returning the correct paths for what you have installed. Simply running
"glib-config" provides a usage statement, and "glib-config --libs"
prints out the "-L/... -lglib" stuff from below. Make sure those paths
are correct.
>
> first i get this:
> ---------------
> checking for GLIB - version >= 0.99.7... no
> *** Could not run GLIB test program, checking why...
> *** The test program failed to compile or link. See the file config.log
> for the
> *** exact error that occured. This usually means GLIB was incorrectly
> installed
> *** or that you have moved GLIB since it was installed. In the latter
> case, you
> *** may want to edit the glib-config script: /opt/gnome/bin/glib-config
> configure: error: Cannot find glib. Check config.log
>
> the config:.log contains
> configure:6238: gcc -o conftest.exe -g -O2 -I/opt/gnome/include/glib-1.2
> -I/opt/gnome/lib/glib/include conftest.c -L/opt/gnome/lib -lglib 1>&5
> /cygdrive/d/DOCUME~1/fbazin/LOCALS~1/Temp/ccVwbn6A.o(.text+0x16): In
> function `main':
> /home/fbazin/gnucash-1.6.8/configure:6234: undefined reference to
> `__imp__glib_major_version'
>
>/cygdrive/d/DOCUME~1/fbazin/LOCALS~1/Temp/ccVwbn6A.o(.text+0x23):/home/fbazin/gnucash-1.6.8/configure:6234:
>
> undefined reference to `__imp__glib_minor_version'
>
>/cygdrive/d/DOCUME~1/fbazin/LOCALS~1/Temp/ccVwbn6A.o(.text+0x2e):/home/fbazin/gnucash-1.6.8/configure:6234:
>
> undefined reference to `__imp__glib_micro_version'
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 6228 "configure"
> #include "confdefs.h"
>
> #include <glib.h>
> #include <stdio.h>
>
> int main() {
> return ((glib_major_version) || (glib_minor_version) ||
> (glib_micro_version));
> ; return 0; }
>
>
>
> _____________________________________________________________________
> Envie de discuter en "live" avec vos amis ? Telecharger MSN Messenger
> http://www.ifrance.com/_reloc/m la 1?re messagerie instantanee de France
>
> _______________________________________________
> gnucash-devel mailing list
> [EMAIL PROTECTED]
> http://www.gnucash.org/cgi-bin/mailman/listinfo/gnucash-devel
--
Matthew Vanecek
perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
********************************************************************************
For 93 million miles, there is nothing between the sun and my shadow except me.
I'm always getting in the way of something...
signature_asc_DEFANGED-1052.DEFANGED-2563
Description: application/defanged-2563
