[Gdal-dev] building GDAL under cygwin with ODBC

Neil Best nbest at ci.uchicago.edu
Tue Jul 14 11:50:36 EDT 2009




Neil Best wrote:
> 
> Does anyone know if it's possible?
> 
> I said:  ./configure --with-odbc=/usr/include/w32api
> 

It doesn't seem possible, so I am resigned to making it work in the FWTools
DOS shell.  Is it possible to make a DSN-less ODBC connection?  In other
words, can I specify my data source on the fly without having to go through
the ODBC Administrator and setting up every single Access file as a DSN? 
Something along the lines of:

ODBC:"Driver={Microsoft Access Driver (*.mdb)};Dbq=c:\somepath\mydb.mdb;" 

(Lifted from
http://www.carlprothman.net/Default.aspx?tabid=90#ODBCDriverForAccess )

Otherwise I'll have to write something in Perl using Win32::ODBC to loop
through all of my Access files and set up a DSN for each one.
-- 
View this message in context: http://n2.nabble.com/building-GDAL-under-cygwin-with-ODBC-tp3228405p3257609.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list