>>>>> "Steve" == Steve Freitas <sflist@stripped> writes:
Steve> Howdy everyone,
Steve> I've been completely unable to successfully compile the MyODBC driver on
Steve> my system. Here are the particulars of my system:
Steve> An eMachines eTower 333id -- that's an Intel Celeron 333, 96 megs of RAM,
Steve> etc. etc. I'm running Linux Mandrake 6.0. It is based on the Redhat 6.0
Steve> distribution, running RH-level glibc and so on. Let me know if you need
Steve> more detail than this, and if so, how I should get it.
Steve> I've successfully configured, make, make installed MySQL 3.22.26a. It
Steve> runs fine, I can hit it with the mysql monitor, etc. Then I downloaded
Steve> MyODBC 2.50.26 and attemped to configure and make it. And here's what
First a question; Why do you need MyODBC. I assume you know that if
you want to connect with ODBC from an Windows machine to your Linux
machine, you don't need ODBC on Linux, but only the pre-compiled
MyODBC driver for Win32.
Steve> [root@linus myodbc-2.50.26]# ./configure
Steve> loading cache ./config.cache
Steve> checking for a BSD compatible install... (cached) /usr/bin/install -c
Steve> [root@linus myodbc-2.50.26]# make
Steve> /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
Steve> -I/root/mysql-3.22.26a/include -I/root/mysql-3.22.26a
Steve> -I/usr/local/include -g -O2 -c catalog.c
Steve> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/root/mysql-3.22.26a/include
Steve> -I/root/mysql-3.22.26a -I/usr/local/include -g -O2
Steve> -Wp,-MD,.deps/catalog.pp -c catalog.c -o catalog.o
Steve> catalog.c: In function `SQLSpecialColumns':
Steve> catalog.c:449: `SQL_PC_NOT_PSEUDO' undeclared (first use in this function)
Steve> catalog.c:449: (Each undeclared identifier is reported only once
Steve> catalog.c:449: for each function it appears in.)
Steve> make: *** [catalog.lo] Error 1
Install libiodbc-2.50.3 first and then try again!
Steve> By the way, I have no software really installed other than MySQL.
Steve> Basically, I formatted my hard drive, installed Linux, then installed
Steve> MySQL from source and tried this. So I have nothing iodbc-related
Steve> installed at this time.