gcc46,在Amazon EC2上找不到c编译器

我一直在试图在我的EC2实例上安装Gearman,但是当我尝试./configure gearmand时,我得到这个:

checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: in `/home/ec2-user/gearmand-1.1.3': configure: error: no acceptable C compiler found in $PATH See `config.log' for more details 

现在,奇怪的是,GCC是绝对安装的。

 which gcc46 

回报

 /usr/bin/gcc46 

但是,当我尝试运行命令“gcc”时,找不到…

我试图通过yum擦除/安装/重新安装gcc和gcc-c ++,但这似乎没有帮助。

有什么build议? 提前致谢。

您必须安装.travis.yml中列出的依赖项 。