|
From: | Xypron |
Subject: | Re: [Help-glpk] unixODBC |
Date: | Mon, 29 Sep 2008 19:13:02 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.17) Gecko/20080829 SeaMonkey/1.1.12 |
Hello Andrew, I dropped the glpk database and recreated it with the provided transp.sql. I compiled glpk-4.31 with provided configure.ac (after changing the version number back to 4.31). ~/src/glpk-4.31$ aclocal ~/src/glpk-4.31$ autoconf ~/src/glpk-4.31$ ./configure --enable-dl --enable-mysql --enable-odbc=unix ~/src/glpk-4.31$ make The SQL examples run fine. autoheader 2.61 gives a warning that looks incorrect to me: ~/src/glpk-4.31$ autoheader autoheader: warning: missing template: HAVE_DLFCN autoheader: Use AC_DEFINE([HAVE_DLFCN], [], [Description]) Best regards Xypron Andrew Makhorin wrote: currently the configure script only allows to use package iODBC to connect to databases via ODBC. A common alternative package is unixODBC. For using unixODBC no changes in the coding are necessary. Only library libodbc.so has to be specified instead of libiodbc.so.Please see files configure.ac and INSTALL attached. To configure with unixODBC the option '--enable-odbc=unix' should be used. By default '--enable-odbc' assumes using iODBC. |
[Prev in Thread] | Current Thread | [Next in Thread] |