Hi Boz,
I want install libxml++. When I was installing this library, It request me
to install libxml. It is for this reason i have tried to install this old
version.
Now, I have downloaded the libxml2-2.6.28 version. But, unfortunately, i
still have installation problems.
> ./config --prefix = /myProjectDir
> make
...
./.libs/libxml2.a(xmlIO.o)(.text+0x12d4): In function `xmlGzfileOpenW':
/mts_rd/IRD_APPLI/users/richard/Hamid/libxml2-2.6.28/xmlIO.c:1171:
undefined reference to `.gzdopen'
./.libs/libxml2.a(xmlIO.o)(.text+0x1330):/mts_rd/IRD_APPLI/users/richard/Hamid/libxml2-
2.6.28/xmlIO.c:1193: undefined reference to `.gzopen'
./.libs/libxml2.a(xmlIO.o)(.text+0x1514): In function
`__xmlParserInputBufferCreateFilename':
/mts_rd/IRD_APPLI/users/richard/Hamid/libxml2-2.6.28/xmlIO.c:2404:
undefined reference to `.gzread'
./.libs/libxml2.a(xmlIO.o)(.text+0x1550):/mts_rd/IRD_APPLI/users/richard/Hamid/libxml2-2.6.28/xmlIO.c:2409:
undefined reference to `.gzrewind'
./.libs/libxml2.a(xmlIO.o)(.text+0x17d8): In function `xmlFreeZMemBuff':
/mts_rd/IRD_APPLI/users/richard/Hamid/libxml2-2.6.28/xmlIO.c:1354:
undefined reference to `.deflateEnd'
./.libs/libxml2.a(xmlIO.o)(.text+0x1e10): In function `xmlGzfileOpen_real':
/mts_rd/IRD_APPLI/users/richard/Hamid/libxml2-
2.6.28/xmlIO.c:1101: undefined reference to `.gzdopen'
./.libs/libxml2.a(xmlIO.o)(.text+0x1e74):/mts_rd/IRD_APPLI/users/richard/Hamid/libxml2-2.6.28/xmlIO.c:1125:
undefined reference to `.gzopen'
./.libs/libxml2.a( xmlIO.o)(.text+0x3acc): In function `xmlGzfileClose':
/mts_rd/IRD_APPLI/users/richard/Hamid/libxml2-2.6.28/xmlIO.c:1248:
undefined reference to `.gzclose'
./.libs/libxml2.a(xmlIO.o)(.text+0x3b40): In function `xmlGzfileWrite':
/mts_rd/IRD_APPLI/users/richard/Hamid/libxml2-2.6.28/xmlIO.c:1232:
undefined reference to `.gzwrite'
./.libs/libxml2.a(xmlIO.o)(.text+0x3d60): In function `xmlIOHTTPCloseWrite':
/mts_rd/IRD_APPLI/users/richard/Hamid/libxml2-
2.6.28/xmlIO.c:1556: undefined reference to `.deflate'
./.libs/libxml2.a(xmlIO.o)(.text+0x4054): In function `xmlIOHTTPWrite':
/mts_rd/IRD_APPLI/users/richard/Hamid/libxml2-2.6.28/xmlIO.c:1515:
undefined reference to `.deflate'
./.libs/libxml2.a(xmlIO.o)(.text+0x4080):/mts_rd/IRD_APPLI/users/richard/Hamid/libxml2-2.6.28/xmlIO.c:1527:
undefined reference to `.crc32'
./.libs/libxml2.a(xmlIO.o)(.text+0x4258): In function `xmlGzfileRead':
/mts_rd/IRD_APPLI/users/richard/Hamid/libxml2-2.6.28/xmlIO.c:1212:
undefined reference to `.gzread'
./.libs/libxml2.a(xmlIO.o)(.text+0x4468): In function `xmlIOHTTPOpenW':
/mts_rd/IRD_APPLI/users/richard/Hamid/libxml2-
2.6.28/xmlIO.c:1398: undefined reference to `.deflateInit2_'
./.libs/libxml2.a(xmlIO.o)(.text+0x44c0):/mts_rd/IRD_APPLI/users/richard/Hamid/libxml2-2.6.28/xmlIO.c:1413:
undefined reference to `.crc32'
./.libs/libxml2.a( nanohttp.o)(.text+0x146c): In function
`xmlNanoHTTPFreeCtxt':
/mts_rd/IRD_APPLI/users/richard/Hamid/libxml2-2.6.28/nanohttp.c:422:
undefined reference to `.inflateEnd'
./.libs/libxml2.a(nanohttp.o)(.text+0x18d0): In function `xmlNanoHTTPRead':
/mts_rd/IRD_APPLI/users/richard/Hamid/libxml2-2.6.28/nanohttp.c:1211:
undefined reference to `.inflate'
./.libs/libxml2.a(nanohttp.o)(.text+0x28b8): In function
`xmlNanoHTTPMethodRedir':
/mts_rd/IRD_APPLI/users/richard/Hamid/libxml2-
2.6.28/nanohttp.c:782: undefined reference to `.inflateInit2_'
collect2: ld returned 1 exit status
make[2]: *** [xmllint] Error 1
make[2]: Leaving directory
`/nfs/mts_rd/IRD_APPLI/users/richard/Hamid/libxml2- 2.6.28'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/nfs/mts_rd/IRD_APPLI/users/richard/Hamid/libxml2-2.6.28'
make: *** [all] Error 2
Than you.
2007/5/18, Boz <boz boz org uk>:
> That version was released in January 2002, and as such is over 5 years
> old. I'm not surprised it didn't compile after you mixed it with a new
> config.guess
>
> You might want to try a more recent version, latest is 2.6.28...
>
> Boz
>
>
>
> On 5/18/07, Hamid Gasmi <h gasmi gmail com> wrote:
> >
> > Hi,
> >
> > I would like to use libxml. I have downloaded libxml-1.8.17. I have
updated
> > the script config.guess by the last version, as it is said. But, i have
not
> > succeed to install it. I have, in fact, the following problem when I
make
> > the library, like you can see below:
> >
> > > ./configure --prefix = /myProjectDir
> > > make
> > ...
> > /bin/sh ./libtool --mode=link gcc -m64 -g -O2 -Wall -o libxml.la
-rpath
> > /myProjectDir/lib/ibm/ -version-info 9:17:8 SAX.lo entities.lo
encoding.lo
> > error.lo parser.lo parserold.lo HTMLparser.lo HTMLtree.lo debugXML.lo
> > tree.lo xpath.lo xmlIO.lo xmlmemory.lo nanohttp.lo nanoftp.lo valid.lo
> > xlink.lo uri.lo
> > rm -fr .libs/libxml.la .libs/libxml.* .libs/libxml.*
> > (cd .libs && rm -f libxml.so.1 && ln -s libxml.so.1.8.17 libxml.so.1)
> > (cd .libs && rm -f libxml.so && ln -s libxml.so.1.8.17 libxml.so)
> > ar cru .libs/libxml.a SAX.o entities.o encoding.o error.o parser.o
> > parserold.o HTMLparser.o HTMLtree.o debugXML.o tree.o xpath.o xmlIO.o
> > xmlmemory.o nanohttp.o nanoftp.o valid.o xlink.o uri.o
> > ranlib .libs/libxml.a
> > creating libxml.la
> > (cd .libs && rm -f libxml.la && ln -s ../libxml.la libxml.la)
> > gcc -m64 -DHAVE_CONFIG_H -I. -I. -I. -I. -DLIBXML_VERSION=\"1.8.17\"
-g
> > -O2 -Wall -c tester.c
> > tester.c: In function `main':
> > tester.c :271: warning: implicit declaration of function `xmlInitParser'
> > /bin/sh ./libtool --mode=link gcc -m64 -g -O2 -Wall -o tester
tester.o
> > ./libxml.la
> > gcc -m64 -g -O2 -Wall -o .libs/tester tester.o ./.libs/libxml.so
> > gcc: ./.libs/libxml.so: No such file or directory
> > make[2]: *** [tester] Error 1
> > make[2]: Leaving directory `/libxml-1.8.17'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/libxml- 1.8.17 '
> > make: *** [all-recursive-am] Error 2
> >
> > Thank you for your help.
> >
> > _______________________________________________
> > xml mailing list, project page http://xmlsoft.org/
> > xml gnome org
> > http://mail.gnome.org/mailman/listinfo/xml
> >
> >
>