通过本文,我下载了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.in
和Makefile
不是一回事。你需要运行aclocal
, autoheader
和autoconf
从configure.ac
生成configure
;或者,正如README.rst
文件中的构建指令告诉您的那样(您应该阅读这些文件),运行autoreconf -i
。然后您将能够运行./configure
来生成Makefile
,然后运行make
来构建程序。