我在Ubuntu 8.10系统上提取了xampp包xampp-linux-1.6.7,并按照mod_wsgi文档中的说明进行操作。我收到以下错误:

ravi@Ibex:~/mod_wsgi-2.3$ ./configure  --with-apxs=/opt/lampp/bin/apxs 
checking Apache version... cannot open /opt/lampp/build/config_vars.mk: No such file or directory at /opt/lampp/bin/apxs line 218.
cannot open /opt/lampp/build/config_vars.mk: No such file or directory at /opt/lampp/bin/apxs line 218.
./configure: line 1696: /: is a directory

checking for python... /usr/bin/python
cannot open /opt/lampp/build/config_vars.mk: No such file or directory at /opt/lampp/bin/apxs line 218.
configure: creating ./config.status
config.status: error: cannot find input file: Makefile.in

我无法google获取有关在xampp上运行mod_wsgi的说明。请帮忙。

解决方案: 对此的解决方案隐藏在评论中。感谢 Martin v.Lö wis ,我能够解决这个问题。当apxs抛出并且错误抱怨缺少config_vars.mk时,这意味着缺少Apache的构建目录。 Fox xampp用户的解决方案是下载xampp-dev并将其提取到同一路径。

有帮助吗?

解决方案

当apxs抛出并且错误抱怨缺少config_vars.mk时,这意味着缺少Apache的构建目录。 Fox xampp用户的解决方案是下载xampp-dev并将其提取到同一路径。

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top