![mod_python 在 BSD 上无法使用“./configure”](https://linux22.com/image/1330121/mod_python%20%E5%9C%A8%20BSD%20%E4%B8%8A%E6%97%A0%E6%B3%95%E4%BD%BF%E7%94%A8%E2%80%9C.%2Fconfigure%E2%80%9D.png)
我尝试mod_python
在 Apache 2.4.3 上安装 3.3.1,每当我尝试运行./configure
(使用 apxs 等)时,它都会提示需要 Apache 2.x,而我当前的版本是.
我尝试过两个不同版本的 Apache,以及两个不同版本的,mod_python
但结果总是相同的。我在 FreeBSD 系统上以 root 身份运行。有什么建议吗?
\# ./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 .
#