myodbc & iodbc
am 25.10.2005 19:47:28 von Sergey Prikhodko
Does myodbc not works with iodbc any more ?
I can't compile version 3.51.12. If falls with error:
MYODBCUtil.h:43:22: odbcinst.h: No such file or directory
It's because in version 3.51.12 myodbc ignores HAVE_IODBCINST_H
For example, util/MYODBCUtil.h in 3.51.12 has
#include
but in 3.51.11:
# if defined(HAVE_IODBCINST_H)
#include
#elif defined(HAVE_ODBCINST_H)
#include
# endif
Is any reason for removing HAVE_IODBCINST_H checks ?
--
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
Re: myodbc & iodbc
am 25.10.2005 20:40:39 von pharvey
Sergey Prikhodko wrote:
>Does myodbc not works with iodbc any more ?
>
>I can't compile version 3.51.12. If falls with error:
>MYODBCUtil.h:43:22: odbcinst.h: No such file or directory
>
>It's because in version 3.51.12 myodbc ignores HAVE_IODBCINST_H
>For example, util/MYODBCUtil.h in 3.51.12 has
>
>#include
>
>but in 3.51.11:
>
># if defined(HAVE_IODBCINST_H)
>#include
>#elif defined(HAVE_ODBCINST_H)
>#include
># endif
>
>Is any reason for removing HAVE_IODBCINST_H checks ?
>
>
>
>
iODBC folks started changing the names of the include files to be same
as eveyone else but for some reason has left iodbcinst.h out. Please
consider making a request with the iODBC folks to have this corrected.
Also keep in kind that we do recommend unixODBC on Linux/UNIX as this is
what we develop with.
--
Peter Harvey, Software Developer
MySQL AB, www.mysql.com
Are you MySQL certified? www.mysql.com/certification
--
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
Re: myodbc & iodbc
am 25.10.2005 20:56:15 von Chris Ridd
On 25/10/05 7:40, Peter Harvey wrote:
> Also keep in kind that we do recommend unixODBC on Linux/UNIX as this is
> what we develop with.
What are the advantages and disadvantages of having both unixODBC and iODBC
on the same box? Duplicate drivers? Duplicate config files? Would software
built against iODBC be able to access unixODBC drivers and vice-versa?
Cheers,
Chris
--
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
Re: myodbc & iodbc
am 25.10.2005 23:26:42 von pharvey
Chris Ridd wrote:
>On 25/10/05 7:40, Peter Harvey wrote:
>
>
>
>>Also keep in kind that we do recommend unixODBC on Linux/UNIX as this is
>>what we develop with.
>>
>>
>
>What are the advantages and disadvantages of having both unixODBC and iODBC
>on the same box? Duplicate drivers? Duplicate config files? Would software
>built against iODBC be able to access unixODBC drivers and vice-versa?
>
>Cheers,
>
>Chris
>
>
>
>
>
For most people there is no difference - in both cases all the basics
are there. I happen to think unixODBC is a better way to go but I have
to admit I may be a bit biased as I started that project and remain one
of the two principle developers (Nick Gorham being the other).
In theory they are binary compatible - but one thing you must try to
avoid is having both on the same system - its asking for trouble.
Note: I see a mac.com email address so I have to add that iODBC is the
driver manager and sdk we work with on OSX as Apple ships it (err - well
a version of it anyway).
--
Peter Harvey, Software Developer
MySQL AB, www.mysql.com
Are you MySQL certified? www.mysql.com/certification
--
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
Re: myodbc & iodbc
am 26.10.2005 20:04:24 von Chris Ridd
On 25/10/05 10:26, Peter Harvey wrote:
> In theory they are binary compatible - but one thing you must try to
> avoid is having both on the same system - its asking for trouble.
That makes sense.
> Note: I see a mac.com email address so I have to add that iODBC is the
> driver manager and sdk we work with on OSX as Apple ships it (err - well
> a version of it anyway).
Indeed, which is partly why I asked - your earlier recommendation of
unixODBC on "UNIX" seems a bit simplistic given your comment above.
(Assuming you agree that OS X is a UNIX.)
Anyway, thanks for the clarification!
Cheers,
Chris
--
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