Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24128 - hk_classes lacks MySQL support
Summary: hk_classes lacks MySQL support
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-08 14:42 UTC by Thorsten Hirsch
Modified: 2003-07-20 07:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thorsten Hirsch 2003-07-08 14:42:02 UTC
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
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2003-07-09 14:13:32 UTC
Is your mysql use flag set?  It seems to emerge okay and link against mysql for me. 
Comment 2 Thorsten Hirsch 2003-07-09 15:08:42 UTC
Yes, the use flag has been always set. 
Comment 3 Peter Ruskin 2003-07-12 06:26:45 UTC
I haven't tried MySQL4 yet.  I'll upgrade this weekend and check.
Comment 4 Peter Ruskin 2003-07-12 10:07:00 UTC
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.
Comment 5 Thorsten Hirsch 2003-07-13 01:44:21 UTC
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? 
Comment 6 Thorsten Hirsch 2003-07-13 02:09:41 UTC
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?
Comment 7 Peter Ruskin 2003-07-13 16:59:38 UTC
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.
Comment 8 Caleb Tennis (RETIRED) gentoo-dev 2003-07-20 07:03:48 UTC
Looks like just an artifact of the mysql 3->4 upgrade.  rebuilder.sh seems to fix the problem 
for the reporter.