tomlxq / pyodbc

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

Install Error pyodbc-2.1.8 on Snow Leopard (10.6.7) #169

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download zip file
2. Extract and cd into directory
3. run: python setup.py install

What is the expected output? What do you see instead?

A successful installation.

What version of the product are you using? On what operating system?

2.1.8.  Mac 10.6.7, and
Python 2.6.1 (r261:67515, Aug  2 2010, 20:10:18) 
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin

Please provide any additional information below.

Here is the output I'm getting:

pinerog-lm1:pyodbc-2.1.8 pinerog$ python setup.py install
running install
running bdist_egg
running egg_info
writing pyodbc.egg-info/PKG-INFO
writing top-level names to pyodbc.egg-info/top_level.txt
writing dependency_links to pyodbc.egg-info/dependency_links.txt
reading manifest file 'pyodbc.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'pyodbc.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.6-universal/egg
running install_lib
running build_ext
building 'pyodbc' extension
gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -Os -Wall 
-Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch ppc -arch x86_64 -pipe 
-DPYODBC_VERSION=2.1.8 
-I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c 
/Users/pinerog/Downloads/pyodbc-2.1.8/src/buffer.cpp -o 
build/temp.macosx-10.6-universal-2.6/Users/pinerog/Downloads/pyodbc-2.1.8/src/bu
ffer.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC 
but not for C++
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/datet
ime.h:186: warning: ‘PyDateTimeAPI’ defined but not used
/usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler 
(/usr/bin/../libexec/gcc/darwin/ppc/as or 
/usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not installed
Installed assemblers are:
/usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64
/usr/bin/../libexec/gcc/darwin/i386/as for architecture i386
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC 
but not for C++
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/datet
ime.h:186: warning: ‘PyDateTimeAPI’ defined but not used
/Users/pinerog/Downloads/pyodbc-2.1.8/src/buffer.cpp:58: fatal error: error 
writing to -: Broken pipe
compilation terminated.
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC 
but not for C++
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/datet
ime.h:186: warning: ‘PyDateTimeAPI’ defined but not used
lipo: can't open input file: 
/var/folders/z3/z3Y30fNyGvennzCS3hWhkLlN-Ec/-Tmp-//ccZURNsn.out (No such file 
or directory)
error: command 'gcc-4.2' failed with exit status 1

Original issue reported on code.google.com by gregpin...@gmail.com on 7 Apr 2011 at 2:11

GoogleCodeExporter commented 8 years ago

Original comment by mkleehammer on 20 May 2011 at 7:37

GoogleCodeExporter commented 8 years ago
I believe I am experiencing the same problem. I have an almost identical 
environment:
Mac 10.6.5
Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49)
gcc version 4.2.1 (Apple Inc. build 5664)

I'm using buildout to build pyodbc and getting:

utils/pyodbcconf/pyodbcconf.cpp: No such file or directory

This was all working until about a week ago.

Original comment by rsolo...@gmail.com on 29 Jul 2011 at 8:25

GoogleCodeExporter commented 8 years ago
I should also say, I am also experiencing this problem on my Linux server: 
Ubuntu 11.04
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53) 
gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)

As on my Mac box, using buildout to compile and build a python project.

Original comment by rsolo...@gmail.com on 29 Jul 2011 at 8:30

GoogleCodeExporter commented 8 years ago
I have same error.
Ubuntu 11.04
Python 2.7.1+
GCC 4.5.2 on linux2

Original comment by ochib...@gmail.com on 16 Sep 2011 at 9:01