[vtkusers] VTK 5.0.2 + python 2.4 on a freebsd box...

fred fredmfp at gmail.com
Mon Dec 11 15:17:57 EST 2006


Hi,

I'm trying to build VTK 5.0.2 (which is not yet provided by the FreeBSD 
6.2 repository), and
I'm quite stuck.

I build python 2.4 from ports, and python has thread enabled in its 
Makefile:
OPTIONS=        THREADS "Enable thread support" on \

But when I try to build VTK from tarball (pthread enabled), I get the 
following message:

make
Linking C executable ../bin/vtkWrapPython
/usr/local/lib/python2.4/config/libpython2.4.so: warning: warning: 
tmpnam() possibly used unsafely; consider using mkstemp()
/usr/local/lib/python2.4/config/libpython2.4.so: warning: warning: 
tempnam() possibly used unsafely; consider using mkstemp()
/usr/local/lib/python2.4/config/libpython2.4.so: undefined reference to 
`pthread_attr_destroy'
/usr/local/lib/python2.4/config/libpython2.4.so: undefined reference to 
`pthread_create'
/usr/local/lib/python2.4/config/libpython2.4.so: undefined reference to 
`pthread_attr_init'
/usr/local/lib/python2.4/config/libpython2.4.so: undefined reference to 
`pthread_detach'
/usr/local/lib/python2.4/config/libpython2.4.so: undefined reference to 
`pthread_attr_setstacksize'
*** Error code 1

(/usr/local/lib/python2.4/config/libpython2.4.so is a symbolic link to 
/usr/local/lib/libpython2.4.so)

I get the same error if upload the python24 precompiled binary package.

Any freebsd wizard here ?

What's wrong ?

Thanks in advance.


Cheers,

-- 
http://scipy.org/FredericPetit




More information about the vtkusers mailing list