免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1641 | 回复: 4
打印 上一主题 下一主题

请大家帮忙解决这个问题[已解决] [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-01-16 14:59 |只看该作者 |倒序浏览
系统为 Linux as4  ,按装 ImageMagick635
./configure --prefix=/usr/local/ImageMagick635

出现如下所示错误提示:

configuring ImageMagick 6.3.5
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 whether build environment is sane... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
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 ISO C89... unsupported
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check

See `config.log' for more details.

请各位帮忙解决。

[ 本帖最后由 skelly_huang 于 2009-1-16 16:47 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2009-01-16 16:04 |只看该作者
已经解决。

重新按装了这三个包就可以了

rpm -ivh --force glibc-headers-2.3.4-2.39.i386.rpm
  rpm -ivh --force glibc-kernheaders-2.4-9.1.100.EL.i386.rpm
  rpm -ivh --force glibc-2.3.4-2.39.i386.rpm

论坛徽章:
0
3 [报告]
发表于 2009-01-16 16:22 |只看该作者
原帖由 skelly_huang 于 2009-1-16 16:04 发表
已经解决。

重新按装了这三个包就可以了

rpm -ivh --force glibc-headers-2.3.4-2.39.i386.rpm
  rpm -ivh --force glibc-kernheaders-2.4-9.1.100.EL.i386.rpm
  rpm -ivh --force glibc-2.3.4-2.39. ...

checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check

就是这个问题

论坛徽章:
0
4 [报告]
发表于 2009-01-16 16:48 |只看该作者
原帖由 kns1024wh 于 2009-1-16 16:22 发表

checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
就是这个问题



在GOOGLE上找了好久

论坛徽章:
0
5 [报告]
发表于 2009-01-16 20:02 |只看该作者
不错,谢谢共享!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP