7
我一直想在我的EC2实例安装Gearman的,但是当我尝试运行./configure gearmand,我得到这个:EC2上没有C编译器?
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
然而,当我尝试运行命令 “海湾合作委员会”,它没有找到,
我已经设法抹去/ intall /重装gcc和gcc-C++通过yum,但这似乎没有帮助。
有什么建议吗?提前致谢。
'ln/usr/bin/gcc46/usr/bin/gcc'? –
EC2不是一个操作系统。你安装了哪个操作系统?如果它是像“Amazon Linux”这样的Red Hat派生系统,那么“yum install gcc”将会起作用。在类似Debian的系统上(Ubuntu等)使用“aptitude install gcc”。 –
'./configure CC = gcc46';配置将不可能寻找版本装饰的名称。 –