GNucash for cygwin: possible...

Matthew Vanecek mevanecek@yahoo.com
14 Dec 2002 09:47:24 -0600


--=-JnUHPKPdEed+4CSnOg3t
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Sat, 2002-12-14 at 09:23, Fr=E9d=E9ric 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 Gl=
ib.
> It has some linking problems on a test
> It seems he try to use glib library  but actually the only files I have=
=20
> are libglib.a and libglib.la
> I hope someone can understand this.
> Thanks
> Fred
>=20

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.

>=20
> 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
>=20
> 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/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'
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 6228 "configure"
> #include "confdefs.h"
>=20
> #include <glib.h>
> #include <stdio.h>
>=20
> int main() {
>  return ((glib_major_version) || (glib_minor_version) ||=20
> (glib_micro_version));
> ; return 0; }
>=20
>=20
>=20
> _____________________________________________________________________
> Envie de discuter en "live" avec vos amis ? Telecharger MSN Messenger
> http://www.ifrance.com/_reloc/m la 1?re messagerie instantanee de France
>=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...

--=-JnUHPKPdEed+4CSnOg3t
Content-Type: application/DEFANGED-1052; name="signature_asc.DEFANGED-1052"

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

iD8DBQA9+1KLOMmiB1jXEBsRAi7VAJ9DzfptUOfHSrjubTrsH7FU18XlRACdFqQ2
/CwgauGgoLw/5onVXVFEPNk=
=i0c6
-----END PGP SIGNATURE-----

--=-JnUHPKPdEed+4CSnOg3t--