开发者

Unable to compile PIL/pysqlite after OS X 10.7 Lion upgrade

After Lion upgrade, I had to reinstall my pyt开发者_开发问答hon packages, and ran into problem installing PIL and pysqlite.

...
unable to execute gcc-4.2: No such file or directory
error: command 'gcc-4.2' failed with exit status 1


Turned out all I had to do was link up gcc-4.2, which was in /Developer/usr/bin

I added export PATH=$PATH:/Developer/usr/bin to ~/.bash_profile


ln -s /Developer/usr/bin/gcc /Developer/usr/bin/gcc-4.2

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜