GNucash for cygwin: possible...

Frédéric Bazin fbazin@ifrance.com
Sat, 14 Dec 2002 16:23:26 +0100


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


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