Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

migration rejected from stackoverflow.com Jul 14 at 23:09

This question came from our site for professional and enthusiast programmers. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.

closed as unclear what you're asking by Jeff Schaller, dhag, sam, Archemar, Gilles Jul 14 at 23:09

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

    
What OS/Distro are you using? How did you install Apache (via package or source)? – bahamat Sep 24 '12 at 18:59
1  
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