ankursal / pyodbc

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

Installation of fails on Mac #378

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. on Mac OSX 10.9.4 use pip installation as:
2. sudo pip install pyodbc
3.

What is the expected output? What do you see instead?
Expected correct compilation and install. Yet I received error that sql.h was 
missing.
See below
Downloading/unpacking pyodbc
  You are installing a potentially insecure and unverifiable file. Future versions of pip will default to disallowing insecure files.
  Downloading pyodbc-3.0.7.zip (85kB): 85kB downloaded
  Running setup.py egg_info for package pyodbc

    warning: no files found matching 'tests/*'
Installing collected packages: pyodbc
  Running setup.py install for pyodbc
    building 'pyodbc' extension
    cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPYODBC_VERSION=3.0.7 -UMAC_OS_X_VERSION_10_7 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c /private/tmp/pip_build_root/pyodbc/src/buffer.cpp -o build/temp.macosx-10.9-intel-2.7/private/tmp/pip_build_root/pyodbc/src/buffer.o -Wno-write-strings -Wno-deprecated-declarations
    In file included from /private/tmp/pip_build_root/pyodbc/src/buffer.cpp:12:
    /private/tmp/pip_build_root/pyodbc/src/pyodbc.h:52:10: fatal error: 'sql.h' file not found
    #include <sql.h>
             ^
    1 error generated.

What version of the product are you using? On what operating system?
pyodbc-3.0.7.zip, Mac OSx 10.9.4

Please provide any additional information below.

Original issue reported on code.google.com by CyberFu...@gmail.com on 1 Aug 2014 at 2:45