[Clfs-support] a problem of making libXML2

xg du realdxg at gmail.com
Tue Dec 2 18:03:42 PST 2008


I meet a problem when making the libXML2-2.7.2(multilib64) according cblfs'
method. I used the clfs multilib system and install the
python2.5.2(multilib32 and multilib64) also according the cblfs' method.
what should I do to fix this error ?

CC="gcc -m64" USE_ARCH=64 ./configure --prefix=/usr --libdir=/usr/lib64 &&
make
then I got the message below:


make  all-recursive
make[1]: Entering directory `/sources/libxml2-2.7.2'
Making all in include
make[2]: Entering directory `/sources/libxml2-2.7.2/include'
Making all in libxml
make[3]: Entering directory `/sources/libxml2-2.7.2/include/libxml'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/sources/libxml2-2.7.2/include/libxml'
make[3]: Entering directory `/sources/libxml2-2.7.2/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/sources/libxml2-2.7.2/include'
make[2]: Leaving directory `/sources/libxml2-2.7.2/include'
Making all in .
make[2]: Entering directory `/sources/libxml2-2.7.2'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/sources/libxml2-2.7.2'
Making all in doc
make[2]: Entering directory `/sources/libxml2-2.7.2/doc'
Making all in devhelp
make[3]: Entering directory `/sources/libxml2-2.7.2/doc/devhelp'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/sources/libxml2-2.7.2/doc/devhelp'
Making all in examples
make[3]: Entering directory `/sources/libxml2-2.7.2/doc/examples'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/sources/libxml2-2.7.2/doc/examples'
make[3]: Entering directory `/sources/libxml2-2.7.2/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/sources/libxml2-2.7.2/doc'
make[2]: Leaving directory `/sources/libxml2-2.7.2/doc'
Making all in example
make[2]: Entering directory `/sources/libxml2-2.7.2/example'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/sources/libxml2-2.7.2/example'
Making all in xstc
make[2]: Entering directory `/sources/libxml2-2.7.2/xstc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/sources/libxml2-2.7.2/xstc'
Making all in python
make[2]: Entering directory `/sources/libxml2-2.7.2/python'
Making all in .
make[3]: Entering directory `/sources/libxml2-2.7.2/python'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -m64 -DHAVE_CONFIG_H -I.
-I.. -I/usr/include/python2.5 -I../include -I../include -I../python    -g
-O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch
-Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized
-Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings
-Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
-Winline -Wredundant-decls -MT libxml.lo -MD -MP -MF .deps/libxml.Tpo -c -o
libxml.lo libxml.c
 gcc -m64 -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.5 -I../include
-I../include -I../python -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit
-Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts
-Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align
-Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes
-Wnested-externs -Winline -Wredundant-decls -MT libxml.lo -MD -MP -MF
.deps/libxml.Tpo -c libxml.c  -fPIC -DPIC -o .libs/libxml.o
In file included from /usr/include/python2.5/Python.h:8,
                 from libxml.c:14:
/usr/include/python2.5/pyconfig.h:1:1: error: unterminated #ifndef
In file included from /usr/include/python2.5/pyport.h:4,
                 from /usr/include/python2.5/Python.h:57,
                 from libxml.c:14:
/usr/include/python2.5/pyconfig.h:1:1: error: unterminated #ifndef
In file included from /usr/include/python2.5/Python.h:84,
                 from libxml.c:14:
/usr/include/python2.5/intobject.h:44: warning: ISO C90 does not support
'long long'
In file included from /usr/include/python2.5/Python.h:86,
                 from libxml.c:14:
/usr/include/python2.5/longobject.h:43: warning: ISO C90 does not support
'long long'
/usr/include/python2.5/longobject.h:44: warning: ISO C90 does not support
'long long'
/usr/include/python2.5/longobject.h:45: warning: ISO C90 does not support
'long long'
/usr/include/python2.5/longobject.h:46: warning: ISO C90 does not support
'long long'
/usr/include/python2.5/longobject.h:47: warning: ISO C90 does not support
'long long'
libxml.c: In function 'libxml_xmlValidCtxtGenericErrorFuncHandler':
libxml.c:1748: warning: unused parameter 'severity'
libxml.c: In function 'libxml_xmlValidCtxtGenericWarningFuncHandler':
libxml.c:1775: warning: unused parameter 'severity'
libxml.c: At top level:
libxml.c:2677: warning: no previous prototype for
'libxml_xmlNodeRemoveNsDef'
libxml.c: In function 'libxml_serializeNode':
libxml.c:2764: warning: unused variable 'len'
make[3]: *** [libxml.lo] Error 1
make[3]: Leaving directory `/sources/libxml2-2.7.2/python'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/sources/libxml2-2.7.2/python'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/libxml2-2.7.2'
make: *** [all] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clfs.org/pipermail/clfs-support-clfs.org/attachments/20081203/16f6ae31/attachment.html>


More information about the Clfs-support mailing list