[xml] Problem building libxml2-2.6.20
- From: "Cesar Ortiz" <cesar ortiz gmail com>
- To: xml gnome org
- Subject: [xml] Problem building libxml2-2.6.20
- Date: Wed, 5 Jul 2006 12:27:23 +0200
Hi,
The platform used for the building is: Linux 2.4.21-20.ELsmp #1 SMP. It is a Red Hat EAS.
*****
If I do ./configure + make, it builds nicely [1].
But if I do ./configure --prefix=/home/fast/Alejandria/ --with-python=/home/fast/Alejandria/bin/python2.4 it does not [2]:
make[2]: Cambiando a directorio `/home/fast/software/lxml/libxml2-2.6.20'
/bin/sh ./libtool --mode=link --tag=CC gcc -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 -o xmllint
xmllint.o ./libxml2.la -lz -lmgcc -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 -o .libs/xmllint
xmllint.o ./.libs/libxml2.so -ldl -lz -lm -Wl,--rpath -Wl,/home/fast/Alejandria//lib
./.libs/libxml2.so: undefined reference to `pthread_getspecific'./.libs/libxml2.so: undefined reference to `pthread_once'
./.libs/libxml2.so: undefined reference to `pthread_key_create'
./.libs/libxml2.so: undefined reference to `pthread_setspecific'
collect2: ld returned 1 exit status
make[2]: *** [xmllint] Error 1make[2]: Saliendo directorio `/home/fast/software/lxml/libxml2-
2.6.20'make[1]: *** [all-recursive] Error 1
make[1]: Saliendo directorio `/home/fast/software/lxml/libxml2-2.6.20'
make: *** [all] Error 2Is it a configuration error? How could I add manualy the pthread library?
*****
But when I do make tests in [1] I get:
## running Python regression tests
./nsdel.py:15: Warning: 'yield' will become a reserved keyword in the future
File "./nsdel.py", line 15
yield n ^
SyntaxError: invalid syntax
-- nsdel.pyMay it be because the default configure uses python 2.2?
*****
A last question....
We´ve been using libxml2 for a while, but compiled without-threads and for python 2.3.5
. And now I have noticed that 'make tests' fails:
## running Python regression tests
-- thread2.py
FAILED to obtain correct value for lineNumbersDefault in thread 56966064Is this failing ok? I might be, because the 'without-threads' flag.
Thanks, Cesar
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]