The following forum(s) have migrated to Microsoft Q&A (Preview): Azure Virtual Machines!
Visit Microsoft Q&A (Preview) to post new questions.

Learn More

 locked
unable to install gcc on CentOS RRS feed

  • Question

  • Hi,

    For our application we use Yii Framework, mongodb and others. As Azure Websites services does not integrate mongo extension for php, we have decided to configure a virtual machine. Everything went well except that we can not configure mongo drivers (extension) for php because gcc is not installed. We tried to install gcc but we encounter a  kernel problem.

    We ask for your help because we urgently need an environment, PHP Yii, MongoDB, nodejs which works correctly.

    Monday, January 28, 2013 3:27 PM

Answers

  • Hello,

    What method did you use to try to install gcc? What is the exact error that you get?

    You can install kernel headers with:

    sudo yum --disableexcludes=main install kernel-headers-2.6.32-279.14.1.el6.openlogic.x86_64

    You can install gcc with:

    sudo yum install gcc gcc-c++ autoconf automake

      Please let us know the errors you get after trying the commands above.

    Thanks.

    Monday, January 28, 2013 6:38 PM
    Moderator