From: Zachary T. W. <zw...@um...> - 2005-07-29 19:56:09
|
Jeff, Thanks for everything...you've been a tremendous help. Got everything all squared away. Turned out it was a combination of the iodbc path and the autotools being outdated. Next step is to get php interfacing with all this stuff. Should be interesting... -Zach Thursday, July 28, 2005, 10:48:50 PM, you wrote: JS> --- "Zachary T. Wilson" <zw...@um...> wrote: >> Running ./configure --with-iodbc=/usr/local/lib ... JS> I think in your case, you should have --with-iodbc=/usr/local (assuming the JS> library location is /usr/local/lib/libiodbc.so). >> ./configure: line 1191: syntax error near unexpected token `mdbtools,0.6pre1' >> ./configure: line 1191: `AM_INIT_AUTOMAKE(mdbtools,0.6pre1)' JS> I am guessing either the autotools JS> (automake/autoconf/libtool) aren't properly JS> installed, or they don't like the old AM_INIT_AUTOMAKE syntax. You might try JS> replacing the lines at the beginning of configure.ac JS> AC_INIT(src/extras/mdb-dump.c) JS> AM_INIT_AUTOMAKE(mdbtools,0.6pre1) JS> with JS> AC_INIT(mdbtools, 0.6pre1, [mdb...@li...]) JS> AC_CONFIG_SRCDIR(src/extras/mdb-dump.c) JS> AM_INIT_AUTOMAKE JS> and rerunning the autogen.sh >> I am getting this for the iodbc manager: >> >> littlebird# iodbctest >> iODBC Demonstration program >> This program shows an interactive SQL processor >> Driver Manager: 03.52.0205.0204 >> >> Enter ODBC connect string (? shows list): DSN=mydb >> 1: SQLDriverConnect = [iODBC][Driver >> Manager]/usr/local/lib/libmdbodbc: undefined >> symbol: log10 (0) SQLSTATE=00000 >> 2: SQLDriverConnect = [iODBC][Driver Manager]Specified driver could not be loaded (0) >> SQLSTATE=IM003 JS> The 'undefined symbol: log10' error has to with not linking against the math library, JS> i.e. libm. The fix for this would be to edit JS> src/odbc/Makefile, adding ' -lm' to the JS> end of the 'LIBS = ' line. Note that mdbtools in cvs no longer calls any math library JS> functions. JS> -- Jeff Smith JS> __________________________________________________ JS> Do You Yahoo!? JS> Tired of spam? Yahoo! Mail has the best spam protection around JS> http://mail.yahoo.com JS> ------------------------------------------------------- JS> SF.Net email is Sponsored by the Better Software Conference & EXPO September JS> 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices JS> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA JS> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf JS> _______________________________________________ JS> mdbtools-dev mailing list JS> mdb...@li... JS> https://lists.sourceforge.net/lists/listinfo/mdbtools-dev |