通过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
最佳答案
make
寻找一个 Makefile
。没有一个:Makefile.in
与 Makefile
不同。您需要运行 aclocal
、autoheader
和 autoconf
从 configure.ac
生成 configure
;或者,正如 README.rst
文件中的构建说明告诉您的(您应该阅读这些文件,您知道),运行 autoreconf -i
。然后,您将能够运行 ./configure
生成一个 Makefile
,然后运行 make
来构建程序。
关于ubuntu - 安装fcgiwrap时遇到make问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6902138/