|
下载了安装包proftpd-1.3.0.tar.gz,解压,进入解压后的目录后,准备按照./configure; make; make install的步骤编译安装,但是在运行./configure后,倒数第二行报错,执行make后会提示 “没有指明目标并且找不到 makefile", 我想应该在./configure时没有成功,因而没有产生makefile文件
急需安装此软件, 请各位帮帮忙。谢谢!
我使用的系统是Ubuntu 9.04,内核2.6.30
执行命令的输出如下:
root@lan-desktop:/tmp/proftpd-1.3.0# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
root@lan-desktop:/tmp/proftpd-1.3.0# make
make: *** 没有指明目标并且找不到 makefile。 停止。 |
|