Mac osx lion, virtualenv, pil install - gcc error

后端 未结 5 929
刺人心
刺人心 2021-02-08 15:14

I have just completed the xcode install, mac osx lion. Upon completion I attempted to install PIL in a virtual enviroment using pip, easy_install and home brew. All three are er

5条回答
  •  遥遥无期
    2021-02-08 15:26

    If it helps any, I solved this pesky issue with sym links, and I think it will work for you. I wrote this with my version of gcc in mind, which is 4.2:

    cd /usr/bin
    rm cc gcc c++ g++
    ln -s gcc-4.2 cc
    ln -s gcc-4.2 gcc
    ln -s c++-4.2 c++
    ln -s g++-4.2 g++
    ln -s gcc-4.2 gcc-4.0
    

    There ya go!

提交回复
热议问题