当前位置: 技术问答>linux和unix
gcc-4.4.2安装报错
来源: 互联网 发布时间:2016-07-16
本文导语: [whutsun@rmsd2009 gcc-4.4.2]$ su root 口令: [root@rmsd2009 gcc-4.4.2]# ./configure --prefix=/usr/gcc-build 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...
[whutsun@rmsd2009 gcc-4.4.2]$ su root
口令:
[root@rmsd2009 gcc-4.4.2]# ./configure --prefix=/usr/gcc-build
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 ln works... yes
checking whether ln -s works... yes
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: in `/home/whutsun/work/tools/gcc-4.4.2':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
口令:
[root@rmsd2009 gcc-4.4.2]# ./configure --prefix=/usr/gcc-build
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 ln works... yes
checking whether ln -s works... yes
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: in `/home/whutsun/work/tools/gcc-4.4.2':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
|
没有装Gcc... 至少找一个预编译好的Gcc在系统里, 去编译这个4.4.2版本吧