Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm trying to install mod_python 3.3.1 on Apache 2.4.3 and whenever I try to run ./configure (with apxs etc) and instead of configuring correctly, it says that Apache 2.x is required and my current version is .

I've tried on two different versions of Apache, and Two different versions of mod_python but always with the same result. I am running as root. Any suggestions?

# ./configure --with-apxs=/wwwroot/bin/apxs
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ar... ar
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking for main in -lm... yes
checking for an ANSI C-conforming const... yes
checking your blood pressure... a bit high, but we can proceed
configure: checking whether apxs is available...
checking for --with-apxs... /wwwroot/bin/apxs executable, good
checking Apache version... ./configure.lineno: /wwwroot/bin/apxs: not found
./configure.lineno: /wwwroot/bin/apxs: not found
./configure.lineno: /: permission denied

configure: error: This version of mod_python only works with Apache 2. The one you have     seems to be .
#
share|improve this question

migrated from stackoverflow.com Sep 24 '12 at 15:15

This question came from our site for professional and enthusiast programmers.

    
What OS/Distro are you using? How did you install Apache (via package or source)? –  bahamat Sep 24 '12 at 18:59
    
The problem doesn't seem to be the version of Apache, but the file /wwwroot/bin/apxs, which is reported to be executable on one line and not found on the next line. What distribution are you running? What architecture (32-bit or 64-bit)? What is the output of ls -l /wwwroot/bin/apxs; file -L /wwwroot/bin/apxs? –  Gilles Sep 24 '12 at 23:31
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.