lyl2002 发表于 2009-11-22 10:33

suse安装gcc失败,为何?

因为我的suse没有cc,所以想安装gcc
如题,报以下错:
./configure --prefix=/usr/local/gcc
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/lyl2002/gcc-4.4.2':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
难道是没有cc就不能安装gcc?请大家指教!thx!

cjaizss 发表于 2009-11-22 12:21

你这是在编译它,你没有编译器怎么编译它?
先找光盘装一个用吧

prolj 发表于 2009-11-22 19:21

进入光盘的RMPS目录,rpm -i gcc-xxxxxxxxxxxxxxxxx

mik 发表于 2009-11-22 22:41

suse 有自带的 gcc 呀,


使用 yast 系统管理命令进去,选择安装 gcc 就行了

chenyx 发表于 2009-11-23 08:20

安装系统自带的gcc包
页: [1]
查看完整版本: suse安装gcc失败,为何?