开发者

How to disable easy_install or pip building ppc by default on Snow Leopard 10.6.6?

开发者 https://www.devze.com 2023-02-16 04:14 出处:网络
Since I have Xcode 4 installed and it seems xcode 4 can\'t build ppc binaries anymore, quite a lot of python packages(especially mercurial pymongo, etc.) can\'t build and complained that there is no \

Since I have Xcode 4 installed and it seems xcode 4 can't build ppc binaries anymore, quite a lot of python packages(especially mercurial pymongo, etc.) can't build and complained that there is no "as" installe开发者_运维技巧d for ppc architecture. Is there any way to disable pip or easy_install from building ppc?

I have snow leopard 10.6.6, Xcode 4 from Mac App Store. (Xcode 3 is not installed, and I don't want duplicated devtools).

Thanks!


You can try setting ARCHFLAGS:

ARCHFLAGS="-arch i386 -arch x86_64" easy_install mercurial

If I just set x86_64 and then do the easy install, I get:

$ file bdiff.so 
bdiff.so: Mach-O 64-bit bundle x86_64
0

精彩评论

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