cannot build python bindings on suse 10.2

"mandy_roemer" <[email protected]>
Newsgroups gmane.text.clearsilver.general
Message-ID <[email protected]>
hi there,
i have downloaded clearsilver 0.10.5 and installed them. every thing 
is fine when ich configure and install it on my machine. but if i 
change after sucessfully install to the python dir an do a "python 
setup.px install" i get the following error message:
---
poldi:/usr/local/src/clearsilver-0.10.5/python # python setup.py 
install
adding lib_path $(LIB_DIR)
adding lib z
Overriding setup's CC from gcc -pthread to gcc
running install
running build
running build_ext
building 'neo_cgi' extension
gcc build/temp.linux-i686-2.5/neo_cgi.o build/temp.linux-i686-2.5/
neo_cs.o build/temp.linux-i686-2.5/neo_util.o -L../libs/ -L../libs -L/
usr/lib/python2.5/config -lz -lneo_cgi -lneo_cs -lneo_utl -lpython2.5 
-o build/lib.linux-i686-2.5/neo_cgi.so
/usr/lib/python2.5/config/libpython2.5.a(posixmodule.o): In function 
`posix_tmpnam':
(.text+0x820): warning: the use of `tmpnam_r' is dangerous, better 
use `mkstemp'
/usr/lib/python2.5/config/libpython2.5.a(posixmodule.o): In function 
`posix_tempnam':
(.text+0x934): warning: the use of `tempnam' is dangerous, better use 
`mkstemp'
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../crt1.o: In function 
`_start':
(.text+0x18): undefined reference to `main'
/usr/lib/python2.5/config/libpython2.5.a(longobject.o): In function 
`PyLong_FromString':
(.text+0x258a): undefined reference to `log'
/usr/lib/python2.5/config/libpython2.5.a(longobject.o): In function 
`PyLong_FromString':
(.text+0x25a1): undefined reference to `log'
/usr/lib/python2.5/config/libpython2.5.a(dynload_shlib.o): In 
function `_PyImport_GetDynLoadFunc':
(.text+0x12e): undefined reference to `dlsym'
/usr/lib/python2.5/config/libpython2.5.a(dynload_shlib.o): In 
function `_PyImport_GetDynLoadFunc':
(.text+0x195): undefined reference to `dlopen'
/usr/lib/python2.5/config/libpython2.5.a(dynload_shlib.o): In 
function `_PyImport_GetDynLoadFunc':
(.text+0x1c3): undefined reference to `dlsym'
/usr/lib/python2.5/config/libpython2.5.a(dynload_shlib.o): In 
function `_PyImport_GetDynLoadFunc':
(.text+0x232): undefined reference to `dlerror'
/usr/lib/python2.5/config/libpython2.5.a(thread.o): In function 
`PyThread_set_stacksize':
(.text+0xb6): undefined reference to `pthread_attr_setstacksize'
/usr/lib/python2.5/config/libpython2.5.a(thread.o): In function 
`PyThread_release_lock':
(.text+0xf9): undefined reference to `sem_post'
/usr/lib/python2.5/config/libpython2.5.a(thread.o): In function 
`PyThread_acquire_lock':
(.text+0x177): undefined reference to `sem_wait'
/usr/lib/python2.5/config/libpython2.5.a(thread.o): In function 
`PyThread_acquire_lock':
(.text+0x192): undefined reference to `sem_trywait'
/usr/lib/python2.5/config/libpython2.5.a(thread.o): In function 
`PyThread_free_lock':
(.text+0x2a2): undefined reference to `sem_destroy'
/usr/lib/python2.5/config/libpython2.5.a(thread.o): In function 
`PyThread_allocate_lock':
(.text+0x317): undefined reference to `sem_init'
/usr/lib/python2.5/config/libpython2.5.a(thread.o): In function 
`PyThread_start_new_thread':
(.text+0x619): undefined reference to `pthread_attr_setstacksize'
/usr/lib/python2.5/config/libpython2.5.a(thread.o): In function 
`PyThread_start_new_thread':
(.text+0x64a): undefined reference to `pthread_create'
/usr/lib/python2.5/config/libpython2.5.a(thread.o): In function 
`PyThread_start_new_thread':
(.text+0x677): undefined reference to `pthread_detach'
/usr/lib/python2.5/config/libpython2.5.a(posixmodule.o): In function 
`posix_forkpty':
(.text+0x3519): undefined reference to `forkpty'
/usr/lib/python2.5/config/libpython2.5.a(posixmodule.o): In function 
`posix_openpty':
(.text+0x35a8): undefined reference to `openpty'
/usr/lib/python2.5/config/libpython2.5.a(complexobject.o): In 
function `complex_abs':
(.text+0x58d): undefined reference to `hypot'
/usr/lib/python2.5/config/libpython2.5.a(complexobject.o): In 
function `_Py_c_pow':
(.text+0x2418): undefined reference to `hypot'
/usr/lib/python2.5/config/libpython2.5.a(complexobject.o): In 
function `_Py_c_pow':
(.text+0x242a): undefined reference to `pow'
/usr/lib/python2.5/config/libpython2.5.a(complexobject.o): In 
function `_Py_c_pow':
(.text+0x243f): undefined reference to `atan2'
/usr/lib/python2.5/config/libpython2.5.a(complexobject.o): In 
function `_Py_c_pow':
(.text+0x2470): undefined reference to `cos'
/usr/lib/python2.5/config/libpython2.5.a(complexobject.o): In 
function `_Py_c_pow':
(.text+0x2483): undefined reference to `sin'
/usr/lib/python2.5/config/libpython2.5.a(complexobject.o): In 
function `_Py_c_pow':
(.text+0x24f6): undefined reference to `exp'
/usr/lib/python2.5/config/libpython2.5.a(complexobject.o): In 
function `_Py_c_pow':
(.text+0x2507): undefined reference to `log'
/usr/lib/python2.5/config/libpython2.5.a(floatobject.o): In function 
`float_rem':
(.text+0x1df8): undefined reference to `fmod'
/usr/lib/python2.5/config/libpython2.5.a(floatobject.o): In function 
`float_divmod':
(.text+0x2be8): undefined reference to `fmod'
/usr/lib/python2.5/config/libpython2.5.a(floatobject.o): In function 
`float_pow':
(.text+0x2faf): undefined reference to `pow'
/usr/lib/python2.5/config/libpython2.5.a(floatobject.o): In function 
`float_pow':
(.text+0x3043): undefined reference to `fmod'
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
----

can you please help me, because i need the bindings for my 
apache2,subversion,trac installation.

best regards,
mandy
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.