[mod_python] Problems with getting mod_python into Apache

Larry Goodwin goodwin at apple.com
Fri Aug 11 10:59:21 EST 2000


Folks, I am still having problems with getting mod_python compiled into
Apache 1.3.12
I followed the procedures:
cd apache/src
vi Configuration
AddModule modules/extra/mod_python.c
./Configure

Get this error:
+ adding selected modules
    o python_module uses ConfigStart/End
 + checking sizeof various data types
 + doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed.  The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.

======== Error Output for sanity check ========
cd ..; gcc  -DAIX=41 -DNEED_RLIM_T -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX
-DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED 
-I/usr/local/include/python1.5  -
Wl,-bE:python.exp -lld      -o helpers/dummy helpers/dummy.c   /usr/local/lib/py
thon1.5/config/libpython1.5.a      -lm
ld: 0706-004 Cannot find or read export file: python.exp
        ld:accessx(): No such file or directory
collect2: ld returned 255 exit status
make: *** [dummy] Error 1
============= End of Error Report =============

 Aborting!

python.exp is in /usr/local/lib/python1.5/conf

My path is: 
PATH=/usr/local/bin:/usr/local/lib/python1.5:/usr/local/lib/python1.5/conf:/usr/
local/include/python1.5:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin

Thanks,
Larry



More information about the Mod_python mailing list