sakuto29 / 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 8 years ago

GoogleCodeExporter commented 8 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

GoogleCodeExporter commented 8 years ago
the issue is that you've packaged your source distribution incorrectly - it 
does not contain the full set of files.  If I build from the git clone, then 
it's fine.  The "utils" directory is missing from pyodbc-2.1.9.zip. 

Original comment by zzz...@gmail.com on 8 Sep 2011 at 3:30

GoogleCodeExporter commented 8 years ago
and seems to be a dupe of #192

Original comment by zzz...@gmail.com on 8 Sep 2011 at 1:55

GoogleCodeExporter commented 8 years ago

Original comment by mkleehammer on 13 Sep 2011 at 10:26