gpt4 book ai didi

mod-wsgi - 安装 mod_wsgi 的问题 - 找不到 Makefile.in

转载 作者:行者123 更新时间:2023-12-03 11:04:55 29 4
gpt4 key购买 nike

我正在尝试重建 mod_wsgi 并且遇到了这个问题?有谁知道这里发生了什么?

/tmp/mod_wsgi-3.4# ls
config.log LICENCE posix-ap2X.mk.in win32-ap22py31.mk
config.status Makefile.in README
configure mod_wsgi.c win32-ap22py26.mk
configure.ac posix-ap1X.mk.in win32-ap22py27.mk
root@vps-547073:/tmp/mod_wsgi-3.4# ./configure
checking for apxs2... no
checking for apxs... no
checking Apache version... ./configure: line 1704: apxs: command not found
./configure: line 1704: apxs: command not found
./configure: line 1705: apxs: command not found
./configure: line 1708: /: Is a directory

checking for python... /usr/bin/python
./configure: line 1877: apxs: command not found
configure: creating ./config.status
config.status: error: cannot find input file: Makefile.in

最佳答案

请参阅 mod_wsgi 说明:

  • http://code.google.com/p/modwsgi/wiki/QuickInstallationGuide#Apache_Requirements

  • 它说:

    On Linux systems, if Apache has been installed from a package repository, you must have installed the corresponding Apache "dev" package as well.

    For most Linux distributions, the "dev" package for Apache 2.X is "apache2-dev" where the corresponding Apache package was "apache2". Some systems however distinguish the "dev" package based on which MPM is used by Apache. As such, it may also be called "apache2-worker-dev" or "apache2-prefork-dev". If using Apache 2.X, do not mix things up and install "apache-dev" by mistake, which is the "dev" package for Apache 1.3 called just "apache".



    您缺少 Apache 的开发包。这就是为什么找不到“apxs”并出现后续问题的原因。

    关于mod-wsgi - 安装 mod_wsgi 的问题 - 找不到 Makefile.in,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16854750/

    29 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com