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! 你这是在编译它,你没有编译器怎么编译它?
先找光盘装一个用吧 进入光盘的RMPS目录,rpm -i gcc-xxxxxxxxxxxxxxxxx suse 有自带的 gcc 呀,
使用 yast 系统管理命令进去,选择安装 gcc 就行了 安装系统自带的gcc包
页:
[1]