GNucash for cygwin: possible...

Matthew Vanecek mevanecek@yahoo.com
15 Dec 2002 23:35:22 -0600


--=-z15/etHL6PAFeXHe3bCE
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Sat, 2002-12-14 at 19:24, Fr=E9d=E9ric Bazin wrote:
> everything is fine about the glib config
> even i tryed to link manually all of the libraries libglib.....
> the linker can't resolve the 3 symbols
>=20
> `__imp__glib_major_version'
> /cygdrive/d/DOCUME~1/fbazin/LOCALS~1/Temp/ccVwbn6A.o(.text+0x23):/home/fb=
azin/gnucash-1.6.8/configure:6234:=20
> undefined reference to `__imp__glib_minor_version'
> /cygdrive/d/DOCUME~1/fbazin/LOCALS~1/Temp/ccVwbn6A.o(.text+0x2e):/home/fb=
azin/gnucash-1.6.8/configure:6234:=20
> undefined reference to `__imp__glib_micro_version'
>=20
>=20
>=20
> The cause might be:
> - unadequate configure script for cygwin
> -wrong set up/building  of glib. I donwload a version from cygwin gnome=
=20
> project which is new from december
> - wrong shell enviroment.
> - i definetely have no skill about these automake/autoconf  and the=20
> configure script
>=20
>=20
> i need help about
> - configure script: how to correct diagnose the script in such=20
> circumstances ?
> - cygwin/glib/gnome skilled people: is there some special postinstall=20
> trick ?
> - linker /library skilled people: : how to find the library /object=20
> where these symbols were defined ?
>=20

Easiest/quickest way probably is to look in the glib source code for
that symbol.  However, they should be defined in libglib (the -lglib gcc
argument).  My guess would be an incorrect path specification to the
glib lib directory (I don't know how cygwin handles missing
libraries--it probably spits out an error message), or a
mis-built/installed glib package.

If you cannot successfully build and run the program from the config.log
(remove the confdefs.h include), then your glib installation is at
fault.  If you can build it using different lib/include paths than what
configure found, then either your glib installation is messed up, or the
configure script did not correctly identify glib, and you'll want to
specify "--with-glib=3D/opt" or whatever you glib install prefix is.

I'd be very surprised to learn that there is a problem with the
configure script itself.

> >>first i get this:
> >>---------------
> >>checking for GLIB - version >=3D 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=
=20
> >>for the
> >>*** exact error that occured. This usually means GLIB was incorrectly=
=20
> >>installed
> >>*** or that you have moved GLIB since it was installed. In the latter=
=20
> >>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=20
> >>-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=20
> >>function `main':
> >>/home/fbazin/gnucash-1.6.8/configure:6234: undefined reference to=20
> >>`__imp__glib_major_version'
> >>/cygdrive/d/DOCUME~1/fbazin/LOCALS~1/Temp/ccVwbn6A.o(.text+0x23):/home/=
fbazin/gnucash-1.6.8/configure:6234:=20
> >>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:=20
> >>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) ||=20
> >>(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
> >>gnucash-devel@lists.gnucash.org
> >>https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> >>=20=20=20=20
> >>
>=20
>=20
>=20
> _____________________________________________________________________
> Envie de discuter en "live" avec vos amis ? T=E9l=E9charger MSN Messenger
> http://www.ifrance.com/_reloc/m la 1=E8re messagerie instantan=E9e de Fra=
nce
>=20
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel@lists.gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
--=20
Matthew Vanecek
perl -e 'print $i=3Dpack(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...

--=-z15/etHL6PAFeXHe3bCE
Content-Type: application/DEFANGED-0; name="signature_asc.DEFANGED-0"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQA9/WYZOMmiB1jXEBsRAmuNAJ0fvOCZBsiZtxplUllUtnFCQc9iPACeJ0aJ
aD/XLUKaid6yOQR6IJb+NPo=
=ssOI
-----END PGP SIGNATURE-----

--=-z15/etHL6PAFeXHe3bCE--