darkwood001 / odbc

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

go get code.google.com/p/odbc/ Fails in Darwin #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When I attempt to get get this library I get:

[kbrandt@glade: ~/src/go/src] go get code.google.com/p/odbc/
# code.google.com/p/odbc/api
code.google.com/p/odbc/api/api.go:13: undefined: SQLSMALLINT
code.google.com/p/odbc/api/api.go:14: undefined: SQLUSMALLINT
code.google.com/p/odbc/api/api.go:15: undefined: SQLUSMALLINT
code.google.com/p/odbc/api/api.go:19: undefined: SQLSMALLINT
code.google.com/p/odbc/api/api.go:20: undefined: SQLUSMALLINT
code.google.com/p/odbc/api/api.go:21: undefined: SQLUSMALLINT
code.google.com/p/odbc/api/api.go:22: undefined: SQLUSMALLINT
code.google.com/p/odbc/api/api.go:23: undefined: SQLUSMALLINT
code.google.com/p/odbc/api/api.go:24: undefined: SQLUSMALLINT
code.google.com/p/odbc/api/api.go:25: undefined: SQLUINTEGER
code.google.com/p/odbc/api/api.go:25: too many errors

Original issue reported on code.google.com by k...@kbrandt.com on 3 Aug 2013 at 1:41

GoogleCodeExporter commented 9 years ago
I don't have computer with darwin, so I cannot test it myself. But, please, try 
this https://codereview.appspot.com/12431043 change to see if it helps you.

Also, I suspect that darwin does not come with any odbc libraries. So you would 
have to install something to make it work. For example on linux I use 
http://www.unixodbc.org and http://freetds.schemamania.org to access my sql 
server.

I hope it helps.

Alex

Original comment by alex.bra...@gmail.com on 4 Aug 2013 at 9:30

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 1f170996324b.

Original comment by alex.bra...@gmail.com on 15 Oct 2013 at 11:39