Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192260 - dev-db/mysql-gui-tools - mysql dependency not needed
Summary: dev-db/mysql-gui-tools - mysql dependency not needed
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 209808 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-09-12 05:25 UTC by John Alberts
Modified: 2008-02-12 10:52 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 John Alberts 2007-09-12 05:25:29 UTC
dev-db/mysql-gui-tools brings in mysql as a dependency, although mysql should not be required to use the gui tools.  This is also true for the individual ebuilds as well for mysql-administrator and mysql-query-browser.


Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-12 07:07:09 UTC
And did you try to compile it without mysql installed? How far did it get? :)
Comment 2 John Alberts 2007-09-12 16:40:31 UTC
Yes, I did check and it works fine without mysql installed.
I copied the mysql-gui-tools-5.0_p13 ebuild to my overlay and deleted the '>=virtual/mysql-5.0' rdepend.  Everything compiled fine, and I was able to run and connect and view tables on a remote mysql db using mysql-administrator and mysql-query-browser.  Mysql-workbench launches and looks like it works, but I have never used it before, so I can't say much more than, 'it appears to work for me.'

NOTE:  I did have mysql-5.0.42 installed on my machine before I test this, so I did an emerge -C mysql-5.0.42.  I guess it's possible that the ebuild left behind some files that may have been needed to build mysql-gui-tools, but I doubt it.


I'll leave it up to you whether you want to reopen this bug and fix it. ;)
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-09-12 19:40:06 UTC
Sorry, there's nothing to fix here. It's plain impossible to compile/run this without mysql client libraries installed.

checking for mysql_config... no
checking for mysql_config... no
configure: error: Could not find mysql_config script. Make sure the mysql client libraries are installed
Comment 4 John Alberts 2007-09-12 21:29:33 UTC
sorry about that.  I guess the mysql ebuild doesn't remove everything when you unmerge it.  Looks like it requires mysql_config.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-09-13 07:25:43 UTC
I suspect you unmerged virtual/mysql and not the real thing (dev-db/mysql).
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2008-02-12 09:56:59 UTC
*** Bug 209808 has been marked as a duplicate of this bug. ***
Comment 7 Jonathan DELIZY 2008-02-12 10:45:09 UTC
Perhaps mysql client libraries should go in a separate ebuild and I think the same is true for the server part and the cli part.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2008-02-12 10:52:04 UTC
You already have this with USE=minimal, stick to to package.keywords for mysql (not to make.conf!)