hk_classes does not compile with MySQL-drivers though MySQL is installed. This affects only the ebuild coming with Gentoo! The package from the knoda website works without problems. Reproducible: Always Steps to Reproduce: 1.emerge MySQL (version 4.x) 2.emerge knoda or hk_classes only Actual Results: knoda has no MySQL-entry on the connect screen as there is no MySQL driver in hk_classes Expected Results: hk_classes should have compiled WITH MySQL support
Is your mysql use flag set? It seems to emerge okay and link against mysql for me.
Yes, the use flag has been always set.
I haven't tried MySQL4 yet. I'll upgrade this weekend and check.
It works fine here. I upgraded mysql-3.23.57 to mysql-4.0.13-r3 and ran knoda: right - no mysql drivers can load. Then I followed instructions in mysql-4.0.13-r3.ebuild to run /usr/portage/dev-db/mysql/files/rebuilder.sh. That gave me a list of files to remerge (including hk_classes). After I remerged knoda works perfectly.
Well, I admit that I haven't run /usr/portage/dev-db/mysql/files/rebuilder.sh. But I didn't upgrade from MySQL3 to 4! I installed directly version 4 and emerged the hk_classes AFTER MySQL (I'm 100% sure about this)...did I have to run the rebuilder.sh, though? If so, why doesn't the rebuilder.sh run automatically when emerging MySQL4?
I just tried it your way. rebuilder.sh told me to remerge perld-DBD only, but I also remerged hk_classes (cause I still had the .tar.gz installed over my non-working ebuild of hk_classes). It works :-) So the point is, that you always have to run rebuilder.sh, when you install MySQL4?
From Comment #6 I would suggest that this bug is invalid. The statement "hk_classes lacks MySQL support" is just not true. If you think there is a problem with the mysql-4 ebuild tnen please raise a mysql bug.
Looks like just an artifact of the mysql 3->4 upgrade. rebuilder.sh seems to fix the problem for the reporter.