clearsilver install problem (undefined reference..)

"bernhardschelling" <[email protected]>
Newsgroups gmane.text.clearsilver.general
Message-ID <[email protected]>
hi,

i've a similar problem installing clearsilver as mentionend
in the previous posting:

my system information:

schello@devschello:~> python -V
Python 2.5
schello@devschello:~> uname -a
Linux devschello 2.6.4-54.5-default #1 Fri May 7 21:43:10 UTC 2004 
i686 i686 i386 
schello@devschello:~> cat /etc/SuSE-release
SuSE Linux 9.1 (i586)
VERSION = 9.1

I downloaded clearsilver-0.10.4 and ran configure:
./configure --width python=/usr/local/bin/python

make & make install without any problem.

trying to rann setup.py now just gives me undefined references :(

# /usr/local/bin/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 
$(NEOTONIC_ROOT)/libs/ -L../libs -lz -lneo_cgi -lneo_cs -lneo_utl -o 
build/lib.linux-i686-2.5/neo_cgi.so
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../crt1.o(.text+0x18): 
In function `_start':
../sysdeps/i386/elf/start.S:98: undefined reference to `main'
build/temp.linux-i686-2.5/neo_cgi.o(.text+0x5f): In function 
`p_cgi_value_get_attr':
/usr/local/src/clearsilver-0.10.4/python/neo_cgi.c:451: undefined 
reference to `Py_FindMethod'
build/temp.linux-i686-2.5/neo_cgi.o(.text+0x9f): In function 
`p_cgi_set_upload_cb':
/usr/local/src/clearsilver-0.10.4/python/neo_cgi.c:157: undefined 
reference to `PyArg_ParseTuple'
build/temp.linux-i686-2.5/neo_cgi.o
(.text+0xd1):/usr/local/src/clearsilver-0.10.4/python/neo_cgi.c:168: 
undefined reference to `_Py_NoneStruct'
....



Thanks for hints!
Bernhard
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.