GNOME Bugzilla – Bug 438166
configure.in: disable update-mimedb if update-mime-database not found
Last modified: 2008-01-19 21:31:04 UTC
Version 1.14.2 When running ./configure: If update-mime-database and/or update-desktop-database is not found, ./configure completes without error. However, UPDATE_MIME_DATABASE and/or UPDATE_DESKTOP_DATABASE will be set to "no", which is not a valid command. "make install" will throw an error in the data/mime directory: make[4]: Entering directory `/tmp/planner-0.14.2/data/mime' no "/usr/share/mime" /bin/sh: line 1: no: command not found make[4]: *** [install-data-hook] Error 127 make[4]: Leaving directory `/tmp/planner-0.14.2/data/mime' Proposed solution: - AM_CONDITIONAL(ENABLE_UPDATE_MIMEDB, test x$enable_update_mimedb = xyes) + AM_CONDITIONAL(ENABLE_UPDATE_MIMEDB, test "$enable_update_mimed" = "yes" -a "$UPDATE_MIME_DATABASE" != "no" -a "$UPDATE_DESKTOP_DATABASE" != "no" )
Fixed in revision 851, albeit in a different way.
Ehm.. I mean in revision 868.