MyODBC install

MyODBC install

am 17.08.2005 23:48:52 von Steve Lavine

Hi,

You probably get thousands of these a day but I'm at a loss. I'm trying
to install MyODBC on my newly installed Slackware 10.1 linux
installation however whenever I run make the following error appears.

#######################################

root@server:/usr/local/MyODBC-3.51.11# make
Making all in util
make[1]: Entering directory `/usr/local/MyODBC-3.51.11/util'
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../driver -isystem -I/usr/local//include -O3 -DDBUG_OFF
-DPORTABLE_GUI -I/usr/local/mysql/include/mysql -MT
MYODBCUtilGetDataSourceNames.lo -MD -MP -MF
".deps/MYODBCUtilGetDataSourceNames.Tpo" -c -o
MYODBCUtilGetDataSourceNames.lo MYODBCUtilGetDataSourceNames.c; \
then mv -f ".deps/MYODBCUtilGetDataSourceNames.Tpo"
".deps/MYODBCUtilGetDataSourceNames.Plo"; else rm -f
".deps/MYODBCUtilGetDataSourceNames.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../driver -isystem -I/usr/local//include
-O3 -DDBUG_OFF -DPORTABLE_GUI -I/usr/local/mysql/include/mysql -MT
MYODBCUtilGetDataSourceNames.lo -MD -MP -MF
..deps/MYODBCUtilGetDataSourceNames.Tpo -c
MYODBCUtilGetDataSourceNames.c -fPIC -DPIC -o
..libs/MYODBCUtilGetDataSourceNames.o
MYODBCUtilGetDataSourceNames.c: In function `MYODBCUtilGetDataSourceNames':
MYODBCUtilGetDataSourceNames.c:67: error: `ODBC_BOTH_DSN' undeclared
(first use in this function)
MYODBCUtilGetDataSourceNames.c:67: error: (Each undeclared identifier is
reported only once
MYODBCUtilGetDataSourceNames.c:67: error: for each function it appears in.)
MYODBCUtilGetDataSourceNames.c:69: error: `ODBC_USER_DSN' undeclared
(first use in this function)
MYODBCUtilGetDataSourceNames.c:70: error: `ODBC_SYSTEM_DSN' undeclared
(first use in this function)
make[1]: *** [MYODBCUtilGetDataSourceNames.lo] Error 1
make[1]: Leaving directory `/usr/local/MyODBC-3.51.11/util'
make: *** [all-recursive] Error 1

#######################################

Prior to this I have run the following ./configure command

../configure --prefix=/usr/local \--with-iodbc=/usr/local/libiodbc-3.52.2
\--with-mysql-path=/usr/local/mysql

I have installed libiodbc successfully.
Could you shed some light?

Regards,

Steve

--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=gcdmo-myodbc@m.gmane.org