graehl / pygr

Automatically exported from code.google.com/p/pygr
0 stars 0 forks source link

pygr requires 10.4 SDK on Mac OS X 10.6 #126

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Trying to build pygr on a default install of Mac OS 10.6 developer tools
apparently yields:

python setup.py build.

Compiling with an SDK that doesn't seem to exist:
/Developer/SDKs/MacOSX10.4u.sdk
Please check your Xcode installation
gcc-4.0 -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -g
-bundle -undefined dynamic_lookup build/temp.macosx-10.3-fat-2.6/pygr/seqfmt.o
-o build/lib.macosx-10.3-fat-2.6/pygr/seqfmt.so     
ld: library not found for -lbundle1.o
collect2: ld returned 1 exit status
ld: library not found for -lbundle1.o
collect2: ld returned 1 exit status
lipo: can't open input file:
/var/folders/9X/9XnrFARkEnOLHRXhpTMxrE+++TI/-Tmp-//ccyJs1Vq.out (No such
file or
directory)
error: command 'gcc-4.0' failed with exit status 1

This can apparently be fixed by installing the 10.4 SDK.

My guess is that this is because the python2.6 on OS X 10.6 was built with
the 10.4 sdk?

Can anyone else replicate?

Original issue reported on code.google.com by the.good...@gmail.com on 23 Jan 2010 at 9:49

GoogleCodeExporter commented 9 years ago
Doesn't replicate for me on

Mac OS 10.6.4
10.6 SDK version 10M2423

/usr/bin/python setup.py build
succeeds normally for me.

Original comment by cjlee...@gmail.com on 17 Dec 2010 at 11:24

GoogleCodeExporter commented 9 years ago

Original comment by cjlee...@gmail.com on 17 Dec 2010 at 11:25

GoogleCodeExporter commented 9 years ago
I have the same error. Lion 10.7.2.

Original comment by m...@swarm.nu on 9 Nov 2011 at 1:24

GoogleCodeExporter commented 9 years ago
Same error here. Lion 10.7.2

running build_ext
building 'pygr.seqfmt' extension
creating build/temp.macosx-10.3-fat-2.7
creating build/temp.macosx-10.3-fat-2.7/pygr
gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -arch ppc -arch i386 -g -O2 
-DNDEBUG -g -O3 
-I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c 
pygr/seqfmt.c -o build/temp.macosx-10.3-fat-2.7/pygr/seqfmt.o
unable to execute gcc-4.0: No such file or directory
error: command 'gcc-4.0' failed with exit status 1

Original comment by m...@swarm.nu on 9 Nov 2011 at 1:31