执行./configure 然后就出现以下提示 :
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
执行make后,
提示:No targets specified and no makefile found.Stop.
执行make install后
提示:No rule to make target 'install'.Stop.
原因:没有安装GCC组件的
centos 用yum install gcc
(先要用yum install yum-fastestmirror更新下,选择最快源)
rhel安装如下包
libf2c-3.3.2-1.i386.rpm
libstdc -devel-3.3.2-1.i386.rpm
glibc-kernheaders-2.4-8.36.i386.rpm
glibc-headers-2.3.2-101.i386.rpm
glibc-devel-2.3.2-101.i386.rpm
gcc-objc-3.3.2-1.i386.rpm
binutils-2.14.90.0.6-3.i386.rpm
gcc-3.3.2-1.i386.rpm
gcc-c -3.3.2-1.i386.rpm
automake14-1.4p6-7.noarch.rpm
可以正常使用./configure