GCC-4.2 error on Mac OSX Mountain Lion, unable to install mysql-python

后端 未结 4 1036
说谎
说谎 2020-12-25 09:04

I\'m having trouble building MySQLdb on Mac OSX Mountain Lion. After upgrading to OSX Mountain Lion from OSX Lion, I have downloaded and installed Xcode 4.4 also. Then, I we

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-25 09:17

    Use the following command to make make (or similiar) use the correct gcc:

    export CC=/usr/bin/gcc

提交回复
热议问题