GNOME Bugzilla – Bug 340585
'make install' in libxslt/ ignores DESTDIR
Last modified: 2006-10-11 19:39:06 UTC
libxslt-1.1.16 1. ./configure --prefix=/sw 2. make 3. make install DESTDIR=/tmp/build.build/root-libxslt-1.1.16-1 Step 3 crashes: chmod 644 /tmp/build.build/root-libxslt-1.1.16-1/sw/lib/libxslt.a ranlib /tmp/build.build/root-libxslt-1.1.16-1/sw/lib/libxslt.a libtool: install: warning: remember to run `libtool --finish /sw/lib' make install-exec-hook /bin/sh ../mkinstalldirs "/sw/lib/libxslt-plugins" mkdir -p -- /sw/lib/libxslt-plugins mkdir: /sw/lib/libxslt-plugins: Permission denied make[3]: *** [install-exec-hook] Error 1 make[2]: *** [install-exec-am] Error 2 make[1]: *** [install-am] Error 2 make: *** [install-recursive] Error 1 ### execution of make failed, exit code 2 My /sw is not writable, but that shouldn't matter because I pass DESTDIR to cause installation in a temp hierarchy location that is writable. Looks like libxslt/Makefile.am install-exec-hook is missing a $(DESTDIR)
Created attachment 64779 [details] [review] Add missing $DESTDIR
Still broken in libxslt-1.1.17 and CVS HEAD. Also, need to update the list of versions in the bugzilla template for libxslt.
Fixed as part of #340995 Daniel *** This bug has been marked as a duplicate of 340995 ***