List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:September 18 1999 12:09am
Subject:MyODBC compilation
View as plain text  
Hi!

>>>>> "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 
Steve> happened:

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> _______________________________________________

Steve> [root@linus myodbc-2.50.26]# ./configure 
Steve> --with-mysql-sources=/root/mysql-3.22.26a
Steve> loading cache ./config.cache
Steve> checking for a BSD compatible install... (cached) /usr/bin/install -c
<cut>

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

Fix:
Install libiodbc-2.50.3 first and then try again!

Steve> _______________________________________________

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.

Regards,
Monty
Thread
MyODBC compilationMichael Widenius18 Sep
Re: MyODBC compilationChristopher R. Jones18 Sep
Re: MyODBC compilationSteve Freitas19 Sep
Re: MyODBC compilationMichael Widenius19 Sep
Re: MyODBC compilationSteve Freitas19 Sep
Re: MyODBC compilationMichael Widenius19 Sep
Re: MyODBC compilationSteve Freitas20 Sep
Re: MyODBC compilationMichael Widenius20 Sep
Re: MyODBC compilationSteve Freitas21 Sep
Re: MyODBC compilationMichael Widenius21 Sep
Re: MyODBC compilationSteve Freitas22 Sep
Re: MyODBC compilationSteve Freitas22 Sep
Re: MyODBC compilationMichael Widenius22 Sep
Re: MyODBC compilationSteve Freitas23 Sep
Re: MyODBC compilationMichael Widenius23 Sep
Re: MyODBC compilationSteve Freitas23 Sep
Re: MyODBC compilationSteve Freitas25 Sep
Re: MyODBC compilationSteve Freitas26 Sep