karlma / odbc

Automatically exported from code.google.com/p/odbc
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Can't go get on Mavericks (OS X 10.9) #33

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
On OS X 10.9 with xcode 5.0.2 I get the following when trying to go get:

[kbrandt@glade: ~/src/go] go get code.google.com/p/odbc
# code.google.com/p/odbc/api
src/code.google.com/p/odbc/api/api_unix.go:11:11: fatal error: 'sql.h' file not 
found
 #include <sql.h>
          ^
1 error generated.

According to this link Mavericks dropped the sql headers: 
http://stackoverflow.com/questions/20074620/installing-pyodbc-fails-on-osx-10-9-
mavericks 

Original issue reported on code.google.com by k...@kbrandt.com on 22 Jan 2014 at 8:33

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
This might be because of using brew. I removed my go install, and installed go 
with brew and then I was able to go get. So you can close this.

Original comment by k...@kbrandt.com on 22 Jan 2014 at 9:23

GoogleCodeExporter commented 8 years ago
You got luck this time. :-) I have no idea how to fix your problem. I don't use 
darwin myself.

Alex

Original comment by alex.bra...@gmail.com on 22 Jan 2014 at 10:01