[mod_python] Can't compile mod_python-3.0.3 on solaris 8 (sparc)

Tuan-Huy La tuan-huy.la at muenchen.de
Tue Jun 24 17:01:12 EST 2003


I'm trying to install mod_python-3.0.3 on a sparc machine  running 
solaris 8, Apache 2.0.46, gcc 3.2.3, gnu ld 2.11.2 (binutil) and Python 
2.2.3.

I always get the following error when trying the make (gnu make 3.79) 
command:

(last few lines:)
    ...
    <unknown>                           0x12f8      
/usr/local/python-2.2.3/lib/python2.2/config/libpython2.2.a(tupleobject.o)
    <unknown>                           0x12fc      
/usr/local/python-2.2.3/lib/python2.2/config/libpython2.2.a(tupleobject.o)
    _PyObject_GC_NewVar                 0x140       
/usr/local/python-2.2.3/lib/python2.2/config/libpython2.2.a(tupleobject.o)
    _PyObject_GC_NewVar                 0x3c8       
/usr/local/python-2.2.3/lib/python2.2/config/libpython2.2.a(frameobject.o)
    PyTuple_Fini                        0x1974      
/usr/local/python-2.2.3/lib/python2.2/config/libpython2.2.a(pythonrun.o)
    PyTuple_Fini                        0x1b40      
/usr/local/python-2.2.3/lib/python2.2/config/libpython2.2.a(pythonrun.o)
    _PyObject_GC_Resize                 0x2cc       
/usr/local/python-2.2.3/lib/python2.2/config/libpython2.2.a(tupleobject.o)
    _PyObject_GC_Resize                 0x3a8       
/usr/local/python-2.2.3/lib/python2.2/config/libpython2.2.a(frameobject.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 `/export/home/root/mod_python-3.0.3/src'
    make: *** [do_dso] Error 2

What's wrong? Any ideas?



More information about the Mod_python mailing list