GNOME Bugzilla – Bug 770959
Add gperf check in configure.ac
Last modified: 2016-11-28 06:42:27 UTC
Otherwise empty .c files will be created and problems ensue.
grilo-plugins compilation fails as below: make[4]: Entering directory '/local/packages/source/git/gnome/grilo-plugins/src/lua-factory' CC libgrlluafactory_la-grl-lua-factory.lo CC libgrlluafactory_la-grl-lua-library.lo CC libgrlluafactory_la-grl-lua-library-operations.lo GEN luafactoryresources.h GEN luafactoryresources.c CC libgrlluafactory_la-luafactoryresources.lo GEN lua-library/htmlentity.c /bin/bash: gperf: command not found Makefile:1127: recipe for target 'lua-library/htmlentity.c' failed make[4]: *** [lua-library/htmlentity.c] Error 127 ---- Succeeds after installing gperf ( apt-get install gperf ) make[4]: Entering directory '/local/packages/source/git/gnome/grilo-plugins/src/lua-factory' CC lua-library/libgrlluafactory_la-htmlentity.lo CC lua-library/libgrlluafactory_la-lua-json.lo CC lua-library/libgrlluafactory_la-lua-xml.lo CCLD libgrlluafactory.la make[4]: Leaving directory '/local/packages/source/git/gnome/grilo-plugins/src/lua-factory'
Created attachment 340822 [details] [review] build: Add gperf check for lua-factory source
The patch builds grilo-plugins without building lua-factory, as below: Plugins bookmarks : yes chromaprint : yes dleyna : yes dmap : yes filesystem : yes flickr : yes freebox : yes gravatar : yes jamendo : yes localmetadata : yes lua_factory : no ... But, I'm not sure what is expected here. To force the distribution maintainers to add gperf to grilo-plugins-0.3 / libgrilo-0.3-dev package depends, the patch needs to be changed.
Attachment 340822 [details] pushed as 46eb246 - build: Add gperf check for lua-factory source