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.
please re-open when the new MyODBC is released that works with mysql-4.1.
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.
myodbc-3.51.11 compiled seamlessly with MySQL-4.1.7...
myodbc-3.51.11 compiled seamlessly with MySQL-4.1.10a...
in tree.