You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_python-dev@quetz.apache.org by Ziying Sherwin <sh...@lhc.nlm.nih.gov> on 2003/06/20 17:57:39 UTC
Error compiling mod_python 3.0.3 with Apache 2.0.46 and python 2.2.1
on Solaris 2.8
We tried to install mod_python 3.0.3 as a DSO with Apache 2.0.46 and python
2.2.1 on our Solaris 2.8 platform. However the compilation failed with the
following error message:
/depot/package/apache_2.0.46/vendor/build/libtool --silent --mode=link gcc -o mod_python.la -I/site4/web_kit_2.0/src/mod_python_3.0.3.dir/src/include -I/depot/package/apache_2.0.46/vendor/include -I/depot/package/python_2.2.1/include/python2.2 -rpath /depot/package/apache_2.0.46/vendor/modules -module -avoid-version hlistobject.lo hlist.lo filterobject.lo connobject.lo serverobject.lo util.lo tableobject.lo requestobject.lo _apachemodule.lo mod_python.lo -L/depot/package/python_2.2.1/lib/python2.2/config -lm -lpython2.2 -lsocket -lnsl -ldl -lpthread -lthread -lm -L/depot/lib -ltk8.3 -ltcl8.3 -L/usr/openwin/lib -lX11 -L/lib -lz _eprintf.o _floatdidf.o _muldi3.o
*** Warning: Linking the shared library mod_python.la against the non-libtool
*** objects _eprintf.o _floatdidf.o _muldi3.o is not portable!
Text relocation remains referenced
against symbol offset in file
<unknown> 0x1bc4 /depot/package/python_2.2.1/lib/python2.2/config/libpython2.2.a(listobject.o)
<unknown> 0x1bc8
/depot/package/python_2.2.1/lib/python2.2/config/libpython2.2.a(listobject.o)
<unknown> 0x1bcc /depot/package/python_2.2.1/lib/python2.2/config/libpython2.2.a(listobject.o)
<unknown> 0x1bd0 /depot/package/python_2.2.1/lib/python2.2/config/libpython2.2.a(listobject.o)
<unknown> 0x1bd4 /depot/package/python_2.2.1/lib/python2.2/config/libpython2.2.a(listobject.o)
<unknown> 0x1bd8 /depot/package/python_2.2.1/lib/python2.2/config/libpython2.2.a(listobject.o)
<unknown> 0x1308 /depot/package/python_2.2.1/lib/python2.2/config/libpython2.2.a(object.o)
<unknown> 0x130c /depot/package/python_2.2.1/lib/python2.2/config/libpython2.2.a(object.o)
<unknown> 0x1310 /depot/package/python_2.2.1/lib/python2.2/config/libpython2.2.a(object.o)
<unknown> 0x1314
....
/depot/package/python_2.2.1/lib/python2.2/config/libpython2.2.a(getpath.o)
getcwd 0x5b4 /depot/package/python_2.2.1/lib/python2.2/config/libpython2.2.a(getpath.o)
getcwd 0xd44 /depot/package/python_2.2.1/lib/python2.2/config/libpython2.2.a(getpath.o)
getcwd 0x24e8 /depot/package/python_2.2.1/lib/python2.2/config/libpython2.2.a(posixmodule.o)
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
apxs:Error: Command failed with rc=65536
.
*** Error code 1
make: Fatal error: Command failed for target `mod_python.so'
Current working directory /src/mod_python_3.0.3.dir/src
*** Error code 1
make: Fatal error: Command failed for target `do_dso'
Any ideas about how to fix it? Thanks in advance.
Ziying Sherwin