Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 75689

Summary: MyODBC does not build against MySQL 4.1.x
Product: Gentoo Linux Reporter: Rumi Szabolcs <rumi>
Component: New packagesAssignee: Gentoo Linux MySQL bugs team <mysql-bugs>
Status: RESOLVED FIXED    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 91731    
Bug Blocks: 83011    

Description Rumi Szabolcs 2004-12-26 04:23:36 UTC
MyODBC does not build against MySQL-4.1.x. This is not a gentoo specific
problem, it also occurs with the original source tarballs, see below.


Reproducible: Always
Steps to Reproduce:
1. emerge >=mysql-4.1.7
2. emerge myodbc
3.

Actual Results:  
[...]
catalog.c: In function `SQLStatistics':
catalog.c:960: error: too few arguments to function `int2str'
catalog.c: At top level:
[...]
make[2]: *** [catalog.lo] Error 1
[...]

This error also occurs when I hack the current 3.51.06 ebuild to compile
3.51.09 which is the most recent tarball version available from MySQL AB.



This seems to be a known problem with current official releases of MyODBC:

http://lists.mysql.com/myodbc/9568

I think when the 4.1.x compatible version of MyODBC gets released by MySQL AB,
it should be put into portage ASAP. We for example, are heavily depending on
ODBC for accessing our databases but also need some new features which appeared
in mysql-4.1.x, so for us there is no way around this problem.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-12-26 18:11:43 UTC
please re-open when the new MyODBC is released that works with mysql-4.1.
Comment 2 Rumi Szabolcs 2004-12-28 10:05:03 UTC
The newly released (yesterday evening) MyODBC-3.51.10 seems to compile
against MySQL 4.1.x. I could not test it properly for function, please
somebody confirm! The ebuild for 3.51.06 works with this version
seamlessly.
Comment 3 Guillaume Lefranc 2005-02-28 04:55:50 UTC
myodbc-3.51.11 compiled seamlessly with MySQL-4.1.7...
Comment 4 Francesco R. (RETIRED) gentoo-dev 2005-03-18 14:46:59 UTC
myodbc-3.51.11 compiled seamlessly with MySQL-4.1.10a...
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-05-17 02:19:54 UTC
in tree.