[mod_python] Problems with apxs

Martin MOKREJŠ mmokrejs at ribosome.natur.cuni.cz
Thu Jul 7 13:44:42 EDT 2005

Rafath doom oculta wrote:
> I've installed Apache 2.0.54 following the INSTALL file instructions and 
> the installation seems correct. I've installed it in /usr/local/apache
> Then I've begun to install mod python 3.1.4.  When I execute the command 
> to detect apxs, it detect the direction with any problem.
> However, when I execute the command to detect python library, it shows 
> two warnings and 1 error related with the apxs searching
> The commands that I've written to install Apache are these:
>      ./configure --prefix=/usr/local/apache
>      make
>      make install
>     /usr/local/apache/bin/apachectl start
>    configuration of installation tree and the modules for DSO mechanism
>    CC="pgcc" CFLAGS="-O2"
>   ./configure --prefix=/sw/pkg/apache      --enable-rewrite=shared      
> --enable-speling=shared
> The command that I've written in mod Python are:
>    ./configure --with-apxs=/usr/local/apache/bin/apxs

Check if the file is there. At least my apache-2.0.54 has apxs2!
Look for /usr/local/apache/bin/apxs2 or even /usr/local/apache/sbin/apxs2

In case of doubt:

$ find / -name apxs*


More information about the Mod_python mailing list