News for hackers. Stuff that matters.
Re:Xcode 4.1 now available free from the Mac App Store by pbreit on Wednesday July 20, 2011 @01:52PM (#2786684)
I've had a terrible time installing things like lxml and PIL due to problems with GCC and/or caused by installing Xcode 4.x. Shouldn't this kind of stuff be pretty reliable?
Re:Xcode 4.1 now available free from the Mac App Store by wvanwazer on Wednesday July 20, 2011 @05:44PM (#2787558)
It should. But if you're still having trouble, I found using this will always work for me:

sudo ARCHFLAGS="-arch i386 -arch x86_64" CC=/usr/bin/gcc-4.2 pip install

Re:Xcode 4.1 now available free from the Mac App Store by pbreit on Wednesday July 20, 2011 @06:56PM (#2787748)
Yeah, I think I finally found that tip after trying quite a number of things.

And hooray, lxml and PIL both appear to have installed successfully on Lion + Xcode 4.1.

Re:Xcode 4.1 now available free from the Mac App Store by andybak on Thursday July 21, 2011 @06:15AM (#2789005)
With or without the ARCHFLAGS tip?
Re:Xcode 4.1 now available free from the Mac App Store by masterj on Friday July 22, 2011 @07:40PM (#2795597)
Both worked for me with a sudo pip install after downloading Xcode from the MAS.