Bug 309856

Summary: mysql_install_db location has changed in mariadb-5.5, configure fails [patch]
Product: [Applications] digikam Reporter: Andreas K. Huettel <dilfridge>
Component: Database-MysqlAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, stupor_scurvy343
Priority: NOR    
Version: 2.9.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
URL: https://bugs.gentoo.org/show_bug.cgi?id=441566
Latest Commit: Version Fixed In: 7.5.0
Sentry Crash Report:
Attachments: trivial patch to add dir to search path

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