installation (linux)
Thomas Thiele
thiele at muc.das-werk.de
Tue May 30 14:15:59 EDT 2000
At the moment I'm trying to install python on linux(Suse).
./configure --prefix=/usr/local/python/
make
make test
make install
All worked fine but I have no module thread
so I tried it once again.
typing: ./configure --prefix=/usr/local/python/ --with-threads
printed lines with "thread":
checking for thread.h... (cached) no
checking for --with-dec-threads... no
checking for --with-threads... yes
checking for --with-thread... yes
checking for mach/cthreads.h... (cached) no
checking for pthread_detach... (cached) no
checking for kernel/OS.h... (cached) no
checking for pthread_create in -lpthreads... (cached) no
checking for pthread_create in -lpthread... (cached) yes
checking for usconfig in -lmpc... (cached) no
checking for thr_create in -lthread... (cached) no
make says at the end:
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 can be wrong? What have I to do?
Thanks Thomas
More information about the Python-list
mailing list