默认 xampp-linux 安装中缺少 config_vars.mk

发布于 2024-07-07 21:59:37 字数 1002 浏览 9 评论 0原文

我在 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 并将其解压到同一路径。

I extracted the xampp package xampp-linux-1.6.7 on a Ubuntu 8.10 system and followed the instuctions from mod_wsgi documentation. I get the error below:

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

I could not google for instructions on getting mod_wsgi running on xampp. Please help.

Solution:
The solution for this is buried in the comments. Thanks to Martin v. Löwis I was able to solve this. When apxs throws and error complaining about missing config_vars.mk it means that the build directory of Apache is missing. Fox xampp users the solution is to download xampp-dev as well and extract that to the same path.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

潇烟暮雨 2024-07-14 21:59:37

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

When apxs throws and error complaining about missing config_vars.mk it means that the build directory of Apache is missing. Fox xampp users the solution is to download xampp-dev as well and extract that to the same path.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文