安装fcgiwrap时遇到make问题



通过本文,我下载了fcgiwrap并将其解压缩并导入。但是当我运行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。在当前目录中。为什么make看不到呢?

env: ubuntu 10.04

make查找Makefile。没有一个:Makefile.inMakefile不是一回事。你需要运行aclocal, autoheaderautoconfconfigure.ac生成configure;或者,正如README.rst文件中的构建指令告诉您的那样(您应该阅读这些文件),运行autoreconf -i。然后您将能够运行./configure来生成Makefile,然后运行make来构建程序。

最新更新