httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Toke, Gyula" <Gyula.T...@pfizer.com>
Subject [users@httpd] mod_python 3.1.4 issue with Apache 2.0.53
Date Thu, 14 Apr 2005 13:20:25 GMT
Hello there,
 
has anybody seen the following
 
on Sun Solaris 8:
 
$ pwd
/path_to_builds/mod_python-3.1.4
$ /path_to_apache/2.0.53/bin/apxs -q CC
gcc
$ which gcc
/usr/local/bin/gcc
$ /usr/local/bin/gcc --version
2.95.3
$ /path_to_python/2.3.5/bin/python
Python 2.3.5 (#4, Apr 13 2005, 12:37:44)
[GCC 2.95.3 20010315 (release)] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> ^D
$
$ ./configure --with-apxs=/path_to_apache/2.0.53/bin/apxs
--with-python=/path_to_python/2.3.5/bin/python
...
$ make
...
/path_to_apache/2.0.53/build/libtool --silent --mode=link gcc -o
mod_python.la -rpath /path_to_apache/2.0.53/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/usr/local/lib -L/path_to_python/2.3.5/lib/python2.3/config -lm
-lpython2.3 -lresolv -lsocket -lnsl -lrt -ldl -lpthread -lm _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!
...
 
and here comes a long list which ends with:
 
printf 0x154
/path_to_python/2.3.5/lib/python2.3/config/libpython2.3.a(dynload_shlib.o)
printf 0x7c
/path_to_python/2.3.5/lib/python2.3/config/libpython2.3.a(acceler.o)
printf 0xb0
/path_to_python/2.3.5/lib/python2.3/config/libpython2.3.a(acceler.o)
printf 0x114
/path_to_python/2.3.5/lib/python2.3/config/libpython2.3.a(acceler.o)
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
apxs:Error: Command failed with rc=65536
.
make[1]: *** [mod_python.so] Error 1
make[1]: Leaving directory `/path_to_builds/mod_python-3.1.4/src'
make: *** [do_dso] Error 2
$
 
In the relocation list above, every single entry is about
/path_to_python/2.3.5/lib/python2.3/config/libpython2.3.a file.
 
We have Apache 2.0.52 server with mod_python 3.1.3 (with Python 2.3.4) up
and running and I did not have any problems with the installation. I tried
to install mod_python 3.1.3 (with Python 2.3.4) on apache 2.0.53, but the
problem seems to be the same.
 
Does anybody have any idea what could go wrong, what I am doing wrong??
 
Thanks,
Gyula
 

Mime
View raw message