[mod_python] DSO compile

hUnTeR hunter at userfriendly.net
Fri Jun 23 22:40:41 EST 2000


Dear list readers - 

I am currently trying to build the mod_python as a DSO for
apache-1.3.12. I have already compiled as DSO mod_perl, mod_ssl, etc but
i desparately need this module. I would even settle for a static compile
to get this to work (trying to replace our company's current method of
Netscape Enterprise Server with python). I get the following error when
trying to make:

===> src/modules/extra
gcc -c -I/usr/include/python1.5 -I../../os/unix -I../../include  
-DLINUX=2 -DUo
In file included from mod_python.c:89:
/usr/include/python1.5/Python.h:39: config.h: No such file or directory
In file included from /usr/include/python1.5/modsupport.h:52,
                 from /usr/include/python1.5/Python.h:101,
                 from mod_python.c:89:
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/varargs.h:106:
warning:d
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/stdarg.h:90:
warning: tn
make[4]: *** [mod_python.so] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/root/temp/apache_1.3.12/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/root/temp/apache_1.3.12'
make: *** [build] Error 2

Any ideas? I have even recently rebuilt python to include the ctsybase
and thread modules, but this one is giving me a headache.

Any help would be appreciated.

Regards
-- 
Michael B. Weiner
Systems Administrator/Partner
The UserFriendly Network (UFN)
--

             / /  (_)__  __ ____  __
            / /__/ / _ \/ // /\ \/ /  
           /____/_/_//_/\_,_/ /_/\_\ 

     * * * CHOICE OF A GNU GENERATION * * *



More information about the Mod_python mailing list