Bobspadger / pyodbc

Automatically exported from code.google.com/p/pyodbc
MIT No Attribution
0 stars 0 forks source link

PyODBC 2.1.9 will not build on Mac OSX #209

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download Pyodbc 2.1.9 on OSX
2. type "python setup.py build"

What is the expected output? 

successful build.  

What do you see instead?

classics-MacBook-Pro:pyodbc-2.1.9 classic$ python setup.py install
running build
running build_ext
building 'pyodbcconf' extension
gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -isysroot 
/Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 -g -O2 -DNDEBUG -g -O3 
-DPYODBC_VERSION=2.1.9 
-I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c 
utils/pyodbcconf/pyodbcconf.cpp -o 
build/temp.macosx-10.3-fat-2.7/utils/pyodbcconf/pyodbcconf.o
powerpc-apple-darwin10-gcc-4.0.1: utils/pyodbcconf/pyodbcconf.cpp: No such file 
or directory
powerpc-apple-darwin10-gcc-4.0.1: no input files
i686-apple-darwin10-gcc-4.0.1: utils/pyodbcconf/pyodbcconf.cpp: No such file or 
directory
i686-apple-darwin10-gcc-4.0.1: no input files
lipo: can't figure out the architecture type of: 
/var/folders/bv/bvGj7UN02RWNJ++8ZRcrpU+++TI/-Tmp-//ccWe8nsL.out
error: command 'gcc-4.0' failed with exit status 1

I am able to install Pyodbc 2.1.4 with no issue, so something has definitely 
regressed in 2.1.9.

Original issue reported on code.google.com by zzz...@gmail.com on 8 Sep 2011 at 3:05