安装 proftpd-1.3.0时 ./configure命令不成功

CreateLove 2009-08-31 11:26:05
下载了安装包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。 停止。

...全文
200 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
CreateLove 2009-09-01
  • 打赏
  • 举报
回复
fox000002,config.log太长,不知从哪里找问题,也不能贴上来,给点意见,谢谢!
CreateLove 2009-09-01
  • 打赏
  • 举报
回复
steptodream,运行了yum命令后,出现下面的结果:

root@lan-desktop:/usr/proftpd-1.3.0# yum -y install glibc-headers libstdc++-devel gcc-c++
设置安装进程
分析安装参数的语法
No package glibc-headers available.
No package libstdc++-devel available.
No package gcc-c++ available.
无事可做
steptodream 2009-09-01
  • 打赏
  • 举报
回复
configure: error: C preprocessor "/lib/cpp" fails sanity check

从这句判断 我怀疑你的系统缺少c++支持
安装如下3个包就可以了
glibc-headers libstdc++-devel gcc-c++
不知道你的系统是否支持yum 如果支持的话执行下面的命令就可以了
yum -y install glibc-headers libstdc++-devel gcc-c++

fox000002 2009-08-31
  • 打赏
  • 举报
回复
See `config.log' for more details.

19,612

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧