methew / pyodbc

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

Building 3.0.2 from source causing gcc issues #253

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build 3.0.2 from source

What is the expected output? What do you see instead?
-Successful compilation 

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

Please provide any additional information below.
-Python2.7

Original issue reported on code.google.com by cyborg10...@gmail.com on 16 Apr 2012 at 9:00

Attachments:

GoogleCodeExporter commented 9 years ago
I get the same if I checkout from latest from Git.

Original comment by cyborg10...@gmail.com on 10 May 2012 at 11:19

GoogleCodeExporter commented 9 years ago
You are missing the unixODBC header files:

/home1/users/joe.borg/pyodbc-3.0.3/src/pyodbc.h:49:17: error: sql.h: No such 
file or directory
/home1/users/joe.borg/pyodbc-3.0.3/src/pyodbc.h:50:20: error: sqlext.h: No such 
file or directory

You'll need something like:

  yum install unixODBC-devel

http://code.google.com/p/pyodbc/wiki/Building

Original comment by mkleehammer on 29 Sep 2012 at 4:55