After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 438166 - configure.in: disable update-mimedb if update-mime-database not found
configure.in: disable update-mimedb if update-mime-database not found
Status: RESOLVED FIXED
Product: planner
Classification: Other
Component: General
0.14.x
Other Linux
: Normal minor
: ---
Assigned To: planner-maint
planner-maint
Depends on:
Blocks:
 
 
Reported: 2007-05-13 19:03 UTC by Peter Selinger
Modified: 2008-01-19 21:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Peter Selinger 2007-05-13 19:03:02 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" )
Comment 1 Maurice van der Pot 2008-01-19 21:30:18 UTC
Fixed in revision 851, albeit in a different way.
Comment 2 Maurice van der Pot 2008-01-19 21:31:04 UTC
Ehm.. I mean in revision 868.