Bug 309856 - mysql_install_db location has changed in mariadb-5.5, configure fails [patch]
Summary: mysql_install_db location has changed in mariadb-5.5, configure fails [patch]
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Mysql (show other bugs)
Version: 2.9.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL: https://bugs.gentoo.org/show_bug.cgi?...
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-10 13:14 UTC by Andreas K. Huettel
Modified: 2022-01-14 14:07 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.5.0
Sentry Crash Report:


Attachments
trivial patch to add dir to search path (946 bytes, patch)
2012-11-10 13:27 UTC, Andreas K. Huettel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas K. Huettel 2012-11-10 13:14:32 UTC
This is a clone of https://bugs.gentoo.org/show_bug.cgi?id=441566

After the upgrade to mariadb-5.5.28, digikam-2.9.0 fails to configure:
MySQL install_db tool found.............. NO

The file "mysql_install_db" seems to have moved. Temporary workaround:
ln -s /usr/share/mysql/scripts/mysql_install_db /usr/bin/

Would it be possible to add /usr/share/mysql/scripts/ to the search paths in CMakeLists.txt line 291?
Comment 1 Andreas K. Huettel 2012-11-10 13:27:47 UTC
Created attachment 75153 [details]
trivial patch to add dir to search path

Patch attached. This also applies to digikam-3.0_beta2.
Comment 2 caulier.gilles 2012-11-15 10:51:04 UTC
Git commit d70c7038996791f32ab878847bf20344329fcbe4 by Gilles Caulier.
Committed on 15/11/2012 at 11:49.
Pushed by cgilles into branch 'master'.

adjust mysql _install_db path for mariadb >= 5.5.28

M  +11   -4    CMakeLists.txt

http://commits.kde.org/digikam/d70c7038996791f32ab878847bf20344329fcbe4