GNOME Bugzilla – Bug 566355
make install fails with --enable-release configure option
Last modified: 2012-09-03 15:33:22 UTC
Trying to build tasque-0.1.8 for getdeb.net (https://bugs.launchpad.net/getdeb.net/+bug/311933) there seems to be the file Tasque.exe.mdb missing. At least the install script expects it: http://abs.getdeb.net/build_log/tasque_0.1.8-1~getdeb1_2009_51_02_01_1230925862_i386.log This is the build log.
Tasque.exe.mdb is a build product, produced at the same time as Tasque.exe. I don't know anything about how packaging works, but I notice that in your output the /usr/bin/install line for Tasque.exe.mdb references './Tasque.exe.mdb', but when I do make install from the tarball it references 'Tasque.exe.mdb'. No idea if that makes a difference. I don't really think this is our bug, closing as invalid. Feel free to reopen if you can find something we're doing wrong upstream that I missed.
Okay, Tobbe (ydo) on IRC figured this out. Sorry, it is our fault. I forgot about --enable-release, which causes the .mdb files to not be created. I am going to remove --enable-release and --enable-debug configure flags someday soon; they are totally unnecessary. Please do not use either flag when creating packages, and your problem should go away! Thanks for the report.
Created attachment 126131 [details] [review] Makes generating and installing mdb files optional, drops the enable-release logic entirely.
This patch works perfect. Thank you. Packages will be published on getdeb.net
What's the status here?
Patch is unreviewed, but I'm not sure it's necessary. I still think we should just get rid of --enable-debug and --enable-release, and always install .mdb files. Is it an actual problem for anyone that we always install .mdb files?
This has been taken care of in 0.1.11 "Fresh Milk!". Note though, that there is no explicit option --enable-release anymore, since its now the default behavior if --enable-debug is not given.