My favorites | Sign in
Project Home Downloads Wiki
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 209: PyODBC 2.1.9 will not build on Mac OSX
1 person starred this issue and may be notified of changes. Back to list
Status:  Duplicate
Merged:  issue 192
Owner:  ----
Closed:  Sep 2011


 
Reported by zzz...@gmail.com, Sep 7, 2011
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.
Sep 7, 2011
#1 zzz...@gmail.com
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. 
Sep 8, 2011
#2 zzz...@gmail.com
and seems to be a dupe of #192
Sep 13, 2011
Project Member #3 mkleehammer
(No comment was entered for this change.)
Status: Duplicate
Mergedinto: 192

Powered by Google Project Hosting