install on linux with thread support
Bhavin Turakhia
bhavint at directi.com
Tue Aug 15 00:23:09 EDT 2000
At the moment I'm trying to install python on linux(Suse).
# ./configure --prefix=/usr/local/python/ --with-thread
WENT FINE
# make
.....
.....
gcc -Xlinker -export-dynamic python.o \
../libpython1.5.a -lieee -ldl -lpthread -lm -o python
../libpython1.5.a(threadmodule.o): In function `t_bootstrap':
/usr/local/python/Python-1.5.2/Modules/./threadmodule.c:223: undefined
reference to `PyEval_AcquireThread'
/usr/local/python/Python-1.5.2/Modules/./threadmodule.c:241: undefined
reference to `PyEval_ReleaseThread'
../libpython1.5.a(threadmodule.o): In function
`thread_PyThread_start_new_thread':
/usr/local/python/Python-1.5.2/Modules/./threadmodule.c:281: undefined
reference to `PyEval_InitThreads'
collect2: ld returned 1 exit status
make[1]: *** [link] Error 1
make[1]: Leaving directory `/usr/local/python/Python-1.5.2/Modules' make:
*** [python] Error 2
threadmodule.o exists.
What do i do to solve this
More information about the Python-list
mailing list