【问题标题】:when install fcgiwrap encounter make problem安装 fcgiwrap 时遇到 make 问题
【发布时间】:2011-08-01 17:33:03
【问题描述】:

通过this article,我下载了fcgiwrap并解压并cd进去。但是当我运行make时,报错

make: *** No targets specified and no makefile found.  Stop.

会。

drwxrwxr-x 2 root root  4096 2011-08-01 17:15 ./
drwxr-xr-x 5 root root  4096 2011-08-01 16:51 ../
-rw-rw-r-- 1 root root  1251 2010-09-14 22:32 configure.ac
-rw-rw-r-- 1 root root  3220 2010-09-14 22:32 fcgiwrap.8
-rw-rw-r-- 1 root root 16757 2010-09-14 22:32 fcgiwrap.c
-rw-rw-r-- 1 root root    82 2010-09-14 22:32 .gitignore
-rw-rw-r-- 1 root root   577 2010-09-14 22:32 Makefile.in
-rw-rw-r-- 1 root root  1624 2010-09-14 22:32 README.rst

当前目录中有一个 Makefile.in。为什么make 看不到?

环境:ubuntu 10.04

【问题讨论】:

    标签: ubuntu makefile


    【解决方案1】:

    make 查找Makefile。没有:Makefile.inMakefile 不同。你需要运行aclocalautoheaderautoconfconfigure.ac生成configure;或者,正如README.rst 文件中的构建说明告诉你的(你应该阅读这些文件,你知道),运行autoreconf -i。然后你就可以运行./configure来生成Makefile,然后make来构建程序。

    【讨论】:

      猜你喜欢
      • 2014-09-11
      • 2013-12-24
      • 2020-02-27
      • 2018-02-25
      • 2011-06-06
      • 2021-04-14
      • 2016-03-23
      • 2018-09-25
      • 2018-04-18
      相关资源
      最近更新 更多