GNOME Bugzilla – Bug 363783
DESTDIR not applied to libxslt-plugins
Last modified: 2007-01-11 00:24:12 UTC
Please describe the problem: The generated Makefile in version 1.1.17's libxslt/ subdirectory contains a target named install-exec-hook (forth-last line of the file) which looks like this: $(mkinstalldirs) "$(libdir)/libxslt-plugins" It should look like this: $(mkinstalldirs) "$(DESTDIR)$(libdir)/libxslt-plugins" Steps to reproduce: 1. gmake install DESTDIR=/some/path Actual results: gmake fails: /bin/bash ../mkinstalldirs "/usr/local/lib/libxslt-plugins" mkdir -p -- /usr/local/lib/libxslt-plugins mkdir: "/usr/local/lib/libxslt-plugins": Permission denied gmake[3]: *** [install-exec-hook] Error 2 (since I'm building as a regular user, I have no permission to write to /usr/local) Expected results: The path should be prefixed with DESTDIR Does this happen every time? Yes Other information:
I had this problem too. I applied the above changes to Makefile.am, rebuilt the Makefile.in, and it built fine. Attaching a trivial patch for Makefile.am.
Created attachment 76695 [details] [review] proposed patch to apply DESTDIR
fixed in SVN (actually, fixed on 11 Oct 06)