LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 805|回复: 0

求救,linux下怎样安装GCC 在安装ProFtpd时的问题

[复制链接]
发表于 2006-4-8 18:46:39 | 显示全部楼层 |阅读模式
linux内核2.6.9-22.ELsmp

在安装FroFtpd时提示
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

我用whereis gcc反回
gcc: /usr/libexec/gcc


$ rpm -qa | grep gcc

libgcc-3.4.4-2
compat-libgcc-296-2.96-132.7.2


这是不是说明我已经有GCC了,后来我在$PATH加上了$PATH:/usr/libexec/gcc
但好像还是不行。如果来指定GCC的位置呢

再后来,我wget了一个gcc3.3

安装时提示
*** The command 'cc -o conftest -g   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

要CC支持,那么如果如何安装CC呢
或者怎样来指定系统编译的位置??

昨晚搞到4点多没搞定。。。
第一次发贴请村里的高手帮忙
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表