discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NSDictionary DictionaryWithContentsOfFile] question


From: Lloyd Dupont
Subject: Re: [NSDictionary DictionaryWithContentsOfFile] question
Date: Wed, 31 Aug 2005 17:52:34 +1000

After doing some tests and getting at some dead ends it looks I had an incorrect xml2-config file and removing it solved all trouble, apparently....

because, when I tried to make gnustep/base it failed at the link stage with the following error:
==============
Linking library libgnustep-base ...
Info: resolving ___objc_class_name_Protocol by linking to __imp____objc_class_name_Protocol (auto-import) Info: resolving ___objc_class_name_Object by linking to __imp____objc_class_name_Object (auto-import)
Creating library file: ./shared_obj/libgnustep-base.dll.a
Additions/shared_obj/subproject.o(.text+0x1c970):GSXML.m: undefined reference to `xmlSAX2GetPublicId' Additions/shared_obj/subproject.o(.text+0x1cad0):GSXML.m: undefined reference to `xmlSAX2GetSystemId' Additions/shared_obj/subproject.o(.text+0x1fc00):GSXML.m: undefined reference to `xmlSAX2GetColumnNumber' Additions/shared_obj/subproject.o(.text+0x1fdc3):GSXML.m: undefined reference to `xmlSAX2GetLineNumber' Additions/shared_obj/subproject.o(.text+0x1fdd0):GSXML.m: undefined reference to `xmlSAX2GetColumnNumber' Additions/shared_obj/subproject.o(.text+0x1ff93):GSXML.m: undefined reference to `xmlSAX2GetLineNumber' Additions/shared_obj/subproject.o(.text+0x1ffa0):GSXML.m: undefined reference to `xmlSAX2GetColumnNumber' Additions/shared_obj/subproject.o(.text+0x207e0):GSXML.m: undefined reference to `xmlSAXVersion' Additions/shared_obj/subproject.o(.text+0x20adb):GSXML.m: undefined reference to `xmlSAXVersion' Additions/shared_obj/subproject.o(.text+0x1bdde):GSXML.m: undefined reference to `xmlSAX2GetColumnNumber' Additions/shared_obj/subproject.o(.text+0x1c4ce):GSXML.m: undefined reference to `xmlSAX2GetLineNumber'
collect2: ld returned 1 exit status
make[2]: *** [shared_obj/libgnustep-base.dll.a] Error 1
make[1]: *** [libgnustep-base.all.library.variables] Error 2
make[1]: Leaving directory `/c/GNUstep-CVS/gnustep/core/base/Source'
make: *** [internal-all] Error 2
==============

OK, it looks like I'm missing a DLL/ library, but which one?


----- Original Message ----- From: "Richard Frith-Macdonald" <richard@brainstorm.co.uk>
To: "Lloyd Dupont" <lloyd@nova-mind.com>
Cc: "GNUstep Discussion" <discuss-gnustep@gnu.org>
Sent: Wednesday, August 31, 2005 3:39 PM
Subject: Re: [NSDictionary DictionaryWithContentsOfFile] question


On 2005-08-31 02:41:03 +0100 Lloyd Dupont <lloyd@nova-mind.com> wrote:

I tried to rebuild my GNUstep distribution with XML support.
I went in to gnustep/core/base
typed
../configure

It echos a long string of text and finaly outputed:
=====================
checking for xml2-config... /mingw/bin/xml2-config
checking for libxml - version >= 2.3.0... no
*** Could not run libxml test program, checking why...

You most likely do not want to build base without XML support.
For instance, MacOS-X compatible property lists require XML.
If you really want to build -base without XML support,
add --disable-xml to the configure arguments.
configure: error: Missing support for XML functionality.
=====================

And here, let me say: "stop, bull.. er.. manure!".
I checked the xml2-config file my self and it says:
=========
   --version)
echo 2.4.12
exit 0
;;
=========
so... how come ./configure believes "2.4 < 2.3" ?

Most likely you have two versions of the library installed, and the configure script is detecting the wrong one.
You could try configuring using --with-xml-prefix=...






reply via email to

[Prev in Thread] Current Thread [Next in Thread]