Re: [xml] Problem building libxml2-2.6.20



On Wed, Jul 05, 2006 at 12:27:23PM +0200, Cesar Ortiz wrote:
Hi,

The platform used for the building is: Linux  2.4.21-20.ELsmp #1 SMP. It is
a Red Hat EAS.
[...]
./.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'
[...]
Is it a configuration error? How could I add manualy the pthread library?

  that should come automatically. Retry with -2.6.26 , I assume it is
RHEL4 I used RHEL4 as my development platform until 6 months ago, so
2.6.20 was developped on that platform, and always with threads.
  In general use RPMs to manage a RHEL setup don't recompile from tarballs

*****
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.py

May it be because the default configure uses python 2.2?

  No idea where this come from.

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 56966064

Is this failing ok? I might be, because the 'without-threads' flag.

  compiling without threads support is risky, especially when using with
python, some library may use threads while you may not be immediately aware
of it.

-- 
Daniel Veillard      | Red Hat http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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