[Biopython] installation failure on mac OS10.6.7

Ian Lancaster ilancaster at gmail.com
Mon Jun 6 16:56:13 UTC 2011


The 10.4 SDK support option was removed in Xcode 4, along with gcc 4.0 support necessary for building numpy and others. Xcode 3 installs Apple's gcc 4.0, but Xcode 4 installs only 4.2. The easiest solution I've found is to start clean by removing Xcode 4, install Xcode 3 (which is free), and then upgrade back to Xcode 4. Then you will have both the required gcc 4.0 and 4.2. 

http://stackoverflow.com/questions/5333490/how-can-we-restore-ppc-ppc64-as-well-as-full-10-4-10-5-sdk-support-to-xcode-4

Ian

Sorry for duplicates, I forgot to cc the list at first.

On Jun 6, 2011, at 12:38 PM, Peter Cock wrote:

> On Mon, Jun 6, 2011 at 5:18 PM, Dilara Ally <dilara.ally at gmail.com> wrote:
>> Hi,
>> 
>> I was trying to install Biopython on mac OS 10.6.7.  I checked the archives
>> and installed Apple's Xcode ver4.0.2.  But I got this error message:
>> 
>> 
>> building 'Bio.cpairwise2' extension
>> gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -arch ppc -arch i386 -g
>> -O2 -DNDEBUG -g -O3 -IBio
>> -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c
>> Bio/cpairwise2module.c -o
>> build/temp.macosx-10.3-fat-2.6/Bio/cpairwise2module.o
>> unable to execute gcc-4.0: No such file or directory
>> error: command 'gcc-4.0' failed with exit status 1
>> 
>> Thanks so much for the help.
>> 
>> Cheers, Dilara
> 
> That's strange - I have it under /usr/bin/gcc-4.0
> 
> When you installed X Code, did you tick the optional 10.4 SDK as recommended
> here http://biopython.org/wiki/Download ?
> 
> 
> Peter
> 
> _______________________________________________
> Biopython mailing list  -  Biopython at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/biopython





More information about the Biopython mailing list