[xml] Building libxml2-2.6.16 on HP-UX 11i
- From: Øyvind Hvamstad <oyvind hvamstad net>
- To: xml gnome org
- Subject: [xml] Building libxml2-2.6.16 on HP-UX 11i
- Date: Wed, 29 Dec 2004 15:42:00 +0100
Hi, I'm trying to build libxml2 with python bindings, zlib and iconv for
HP-UX.
<configure>
./configure --prefix=/h/dsbuild/hvaoyv/src/install/
--with-python=pythonloc --with-zlib=zlibloc --with-iconv=iconvloc
</configure>
First I am halted by an error with the linker:
/usr/bin/ld -b +h libxml2.sl.8
-o .libs/libxml2.sl.8.16 .libs/SAX.o .libs/entities.o .libs/encoding.o .libs/error.o .libs/parserInternals.o
.libs/parser.o .libs/tree.o .libs/hash.o .libs/list.o .libs/xmlIO.o .libs/xmlmemory.o .libs/uri.o
.libs/valid.o .libs/xlink.o .libs/HTMLparser.o .libs/HTMLtree.o .libs/debugXML.o .libs/xpath.o
.libs/xpointer.o .libs/xinclude.o .libs/nanohttp.o .libs/nanoftp.o .libs/DOCBparser.o .libs/catalog.o
.libs/globals.o .libs/threads.o .libs/c14n.o .libs/xmlstring.o .libs/xmlregexp.o .libs/xmlschemas.o
.libs/xmlschemastypes.o .libs/xmlunicode.o .libs/xmlreader.o .libs/relaxng.o .libs/dict.o .libs/SAX2.o
.libs/xmlwriter.o .libs/legacy.o .libs/chvalid.o .libs/pattern.o .libs/xmlsave.o +b
/h/dsbuild/build/hp-ux11.11-9000.800/libxml-2.6.11-iconv-newpyton-python-000/install/iconv/lib -lpthread
-L/h/dsbuild/build/hp-ux11.11-9000.800/libxml-2.6.11-iconv-newpyton-python-000/install/zlib/lib
-L/h/dsbuild/build/hp-ux11.11-9000.800/libxml-2.6.11-iconv-newpyton-python-000/install/iconv/lib
/h/dsbuild/build/hp-ux11.11-9000.800/libxml-2.6.11-iconv-newpyton-python-000/install/iconv/lib/libiconv.sl
-lm -lc
/usr/bin/ld: Invalid loader fixup in text space needed in output file
for symbol "$000003F1" in input file: ".libs/entities.o". Make sure it
was compiled with +z/+Z.
Then I set CFLAGS=+z and the make step completes, but when I do make
install it breaks with the following:
<snip>
/bin/sh ../libtool --mode=install /fs/build/bin/install -c
libxml2mod.la
/h/dsbuild/build/hp-ux11.11-9000.800/libxml-2.6.11-iconv-newpyton-python-000/install/python/lib/python2.2/site-packages/libxml2mod.la
libtool: install: warning: relinking `libxml2mod.la'
(cd /h/dsbuild/hvaoyv/src/libxml2-2.6.16/python; /bin/sh ../libtool
--mode=relink cc +z -Wp,-H30000 -o libxml2mod.la
-rpath
/h/dsbuild/build/hp-ux11.11-9000.800/libxml-2.6.11-iconv-newpyton-python-000/install/python/lib/python2.2/site-packages
-module -avoid-version -L../.libs libxml.lo types.lo libxml2-py.lo ../libxml2.la )
*** Warning: linker path does not have real file for library -lxml2.
*** I have the capability to make that library automatically link in
when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libxml2 and none of the candidates passed a file format test
*** using a file magic. Last file
checked: /h/dsbuild/hvaoyv/src/libxml2-2.6.16/.libs/libxml2.sl.8.16
*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module libxml2mod. Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.
ar cru .libs/libxml2mod.a libxml.o types.o libxml2-py.o
ranlib .libs/libxml2mod.a
creating libxml2mod.la
(cd .libs && rm -f libxml2mod.la && ln -s ../libxml2mod.la
libxml2mod.la)
/fs/build/bin/install
-c .libs/libxml2mod.slT
/h/dsbuild/build/hp-ux11.11-9000.800/libxml-2.6.11-iconv-newpyton-python-000/install/python/lib/python2.2/site-packages/libxml2mod.sl
/fs/build/bin/install: .libs/libxml2mod.slT: No such file or directory
</snip>
.slT? What kind of file is that? I want it to say .sl. I suppose
something is wrong with libtool, or? Could anyone help? Also shouldn't
configure detect the need for +z?
In advance thanks..
--
Øyvind Hvamstad <oyvind hvamstad net>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]