GNOME Bugzilla – Bug 570357
make install fails on master
Last modified: 2009-02-10 17:06:38 UTC
Updating Gtk icon cache. gtk-update-icon-cache: Cache file created successfully. make[3]: Leaving directory `/home/cassidy/gnome/empathy/data/icons' make[2]: Leaving directory `/home/cassidy/gnome/empathy/data/icons' make[2]: Entering directory `/home/cassidy/gnome/empathy/data' make[3]: Entering directory `/home/cassidy/gnome/empathy/data' make[3]: Nothing to be done for `install-exec-am'. if test -z "" ; then \ for p in empathy.schemas ; do \ GCONF_CONFIG_SOURCE=xml:merged:/etc/gconf/gconf.xml.defaults /usr/bin/gconftool-2 --makefile-install-rule /$p ; \ done \ fi I/O warning : failed to load external entity "/empathy.schemas" Failed to open `/empathy.schemas': No such file or directory make[3]: *** [install-data-local] Error 1 make[3]: Leaving directory `/home/cassidy/gnome/empathy/data' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/home/cassidy/gnome/empathy/data' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/cassidy/gnome/empathy/data' make: *** [install-recursive] Error 1
Looks like your automake doesn't provide $(builddir) - GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(builddir)/$$p ; \ + GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/data/$$p ; \ should do.
Indeed, then it works fine.
Or better yet, without $(builddir) at all (thanks Christian Persch for the comment in bug 570327, comment #3): Index: data/Makefile.am =================================================================== --- data/Makefile.am (revision 2379) +++ data/Makefile.am (working copy) @@ -33,7 +33,7 @@ install-data-local: if test -z "$(DESTDIR)" ; then \ for p in $(schemas_DATA) ; do \ - GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(builddir)/$$p ; \ + GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $$p ; \ done \ fi else
OK to commit?
This patch fixes my error, so I'd say +1 for me.
Xavier just said on IRC he's ok with the patch too. Please commit :) Thanks a lot for your help.
Committed.
Great, closing the bug.