rpm源码 gcc-4.7.0 都 出现checking for C compiler default output file name... configure: error: C compiler cannot create executables

xzby 发布于 2013/11/09 13:41
阅读 2K+
收藏 0

http://bbs.chinaunix.net/forum.php?mod=viewthread&tid=4105281&page=1&extra=#pid24043720

configure rpm源码

[root@localhost rpm-5.0.0]# ./configure --disable-check
Configuring RPM Package Manager (RPM), Version 5.0.0

=== INITIALIZATION ===
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 a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no

=== TOOL-CHAIN CHECKS ===
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

gcc源码包也是这样


cpp gcc c++ g++都有 但是不都是系统安装时就有的

系统rpmlib很低 只能装h=rhel centos 5的4的  不能装6 manddriver mandrake 也是低版本的 所以rpm包关于c的就都有问题

加载中
返回顶部
顶部