|
rodrigo
rodrigo at dgf.uchile.cl
Thu Dec 27 19:14:47 EST 2001
Dear experts
I have compiled Python-2.1.1 with "--without-threads" option....
(then make and make install)
I have compiled mod_python_2.7.6 with options :
--with-apache=../apache_1.3.22 --with-python
(then make and make install)
I have compiled apache_1.3.22 with the following options:
./configure --activate-module=src/modules/python/libpython.a
and then, when I do "make" ... I get the following compiling errors:
---------------------------------------------------------------------
gcc -DSOLARIS2=270 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
`./apaci` \
-o httpd buildmark.o modules.o modules/python/libpython.a
modules/standard/libstandard.a \
main/libmain.a ./os/unix/libos.a ap/libap.a
lib/expat-lite/libexpat.a -lsocket -lns
modules/python/libpython.a(mod_python.o): In function
`make_interpreter':
mod_python.o(.text+0xc): undefined reference to `Py_NewInterpreter'
mod_python.o(.text+0x6c): undefined reference to `PyThreadState_Swap'
modules/python/libpython.a(mod_python.o): In function
`get_interpreter_data':
mod_python.o(.text+0xc4): undefined reference to `PyDict_GetItemString'
mod_python.o(.text+0x130): undefined reference to
`PyCObject_FromVoidPtr'
mod_python.o(.text+0x150): undefined reference to `PyDict_SetItemString'
.....
modules/python/libpython.a(mod_python.o): In function `python_cleanup':
mod_python.o(.text+0x338): undefined reference to `PyThreadState_New'
mod_python.o(.text+0x348): undefined reference to `PyThreadState_Swap'
mod_python.o(.text+0x368): undefined reference to
`PyObject_CallFunction'
.....
and so ...
----------------------------------------------------------------------
when I add "--with-apxs" option in mod_python_2.7.6, and compile apache
adding
"--enable-module=rewrite --enable-shared=rewrite" options... apache
failed
to start, in the lines:
LoadModule rewrite_module libexec/mod_rewrite.so
LoadModule python_module libexec/mod_python.so
...
I'm really confused ...
Any idea ?
Rodrigo Sanchez Olavarria
DGF. U. de Chile
|