[mod_python] Error in make dso

dorellik1 dorellik1 at inwind.it
Wed May 21 17:19:50 EST 2003


I have the following result after

$ make dso
make[1]: Entering directory `/home/bill/mod_python-2.7.8/src'
gcc  -I/home/bill/mod_python-2.7.8/src/include -I/usr/src/apache_1.3.26/src/include -I/usr/src/apache_1.3.26/src/os/unix -I/usr/include/python2.2    -c -o mod_python.o mod_python.c
In file included from /usr/src/apache_1.3.26/src/include/httpd.h:72,
                 from /home/bill/mod_python-2.7.8/src/include/mod_python.h:63,
                 from mod_python.c:54:
/usr/src/apache_1.3.26/src/include/ap_config.h:77:28: ap_config_auto.h: No such file or directory
make[1]: *** [mod_python.o] Error 1
make[1]: Leaving directory `/home/bill/mod_python-2.7.8/src'
make: *** [do_dso] Error 2

$ find /usr -name "ap_config_auto.h" gives me

/usr/include/apache/ap_config_auto.h

[root at .... mod_python-2.7.8]# ./configure  --with-apache=/usr/src/apache_1.3.26
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ranlib... (cached) ranlib
checking for ar... (cached) ar
checking for a BSD compatible install... (cached) /usr//bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking for main in -lm... (cached) yes
checking for working const... (cached) yes
checking your blood pressure... a bit high, but we can proceed
checking whether apxs is available
checking for --with-apxs... no
checking for apxs in /usr/local/apache/sbin... no
checking for apxs in your PATH... checking for apxs... (cached) /usr/sbin/apxs
found /usr/sbin/apxs, we'll use this. Use --with-apxs to specify another.
checking for Apache libexec directory... /usr/lib/apache
checking for Apache include directory... -I/usr/include/apache
checking for --with-apache... /usr/src/apache_1.3.26
checking for --with-python... no
checking for python... (cached) /usr//bin/python
checking Python version... 2.2
checking whether Python is compiled with thread support... no threads, good
checking Python install prefix... /usr
checking what libraries Python was linked with... /usr/lib/python2.2/config/libpython2.2.a -ldl -lutil -lm
checking linker flags used to link Python...
checking where Python include files are... -I/usr/include/python2.2
checking for mkdep... (cached) /usr/X11R6/bin/makedepend
creating ./config.status
creating Makefile
creating src/Makefile
creating src/libpython.module
creating Doc/Makefile
analyzing dependencies



Why make don't find an existing file ?

                                                                                             Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.modpython.org/pipermail/mod_python/attachments/20030521/3e06d4f9/attachment-0003.htm


More information about the Mod_python mailing list