>>>>> "Petr" == Petr Stehlik <pstehlik@stripped> writes:
Petr> I have been trying to compile the MyODBC package under Debian Linux 2.1 but
Petr> after several hours of editing .h files I gave up. I managed to compile the
Petr> iODBC and the samples, but I couldn't compile the myodbc at all. I was
Petr> really in doubt if it should be compilable under Linux at all since in
Petr> include/m-pc.h and /s-msdos.h I found things that didn't look too
Petr> Perhaps I didn't understand some basic things so please forgive my naive
Petr> question: Could you please tell me how to connect from my application
Petr> running on Linux using ODBC to a MySQL database? Where to get the
Petr> libmyodbc_mysql.so file which is probably the only missing thing?
Petr> Thanks in advance
Petr> P.S. I am not subscribed to the list so CC: to pstehlik@stripped, please.
Which MyODBC source distribution did you use? The iODBC MySQL
distribution (from http://www.mysql.com/download.html), doesn't use
any m-pc.h or s-msdos.h files.
(The myodbc-2.50.22/include directory is not used when compiling
MyODBC on Unix)
You should just add a path to your MySQL source installation and after
this, everything should compile nicely!
Check the file 'Config.mk' for details!