DBD-mysql does not compile against mysql 4.1.3. This is because they have added a second parameter to mysql_shutdown. I wrote a patch that fixes the problem. See below. Reproducible: Always Steps to Reproduce: 1.emerge mysql-4.1.3 2.emerge DBD-mysql Actual Results: DBD-mysql fails to compile Expected Results: DBD-mysql should emerge
Created attachment 34936 [details, diff] Patch to make DBD-mysql compile against mysql-4.1.3 This patch adds the second parameter required, if the mysql version is >= 4.1.3.
Created attachment 34937 [details] Ebuild to apply the patch This ebuild applies the above patch. It's based on 2.9003
Created attachment 35623 [details] Patched ebuild Simon, your ebuild did not work for me. I had to add "inherit eutils" to get it to work. I attached a fixed ebuild.
The upstream developers (namely Rudolf Lippan <rlippan@remotelinux.com>) had already fixed this with the DBD-mysql-2.9004 release. I've added 2.9004 to CVS, *but* it's hard masked as to not break things for existing ~ARCH users. To test, unmask it and give it a whirl. Note: this is hard masked rather than ~ARCH masked because I do not have mysql-4.1.3 installed to test with. Please report test results in the form of a bug (file a bug to bump to 2.9004 if it works or file a bug that 2.9004 doesn't work and why if it doesn't). Thanks for the otherwise good catch and patches to both of you!
9004 works fine here with mysql-4.1.4 gamma ebuild on ~x86 posted on bugs.gentoo.org