No C compiler on EC2?

后端 未结 1 1655
花落未央
花落未央 2020-12-19 05:33

I\'ve been trying to install Gearman on my EC2 instance, but when I try to ./configure gearmand, I get this:

checking build system type... x86_64-unknown-lin         


        
相关标签:
1条回答
  • 2020-12-19 06:16

    You can get around this by linking /usr/bin/gcc to /usr/bin/gcc46 using this command:

    ln /usr/bin/gcc46 /usr/bin/gcc
    

    When you upgrade gcc, you can then keep multiple versions with binaries named /usr/bin/gccXX and simple point the /usr/bin/gcc link to the version you want to use (which will probably be the newest one).

    0 讨论(0)
提交回复
热议问题