After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 340585 - 'make install' in libxslt/ ignores DESTDIR
'make install' in libxslt/ ignores DESTDIR
Status: RESOLVED DUPLICATE of bug 340995
Product: libxslt
Classification: Platform
Component: general
1.1.x
Other All
: Normal major
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2006-05-04 02:58 UTC by Daniel Macks
Modified: 2006-10-11 19:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add missing $DESTDIR (422 bytes, patch)
2006-05-04 03:02 UTC, Daniel Macks
none Details | Review

Description Daniel Macks 2006-05-04 02:58:34 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)
Comment 1 Daniel Macks 2006-05-04 03:02:53 UTC
Created attachment 64779 [details] [review]
Add missing $DESTDIR
Comment 2 Daniel Macks 2006-06-23 21:45:01 UTC
Still broken in libxslt-1.1.17 and CVS HEAD.

Also, need to update the list of versions in the bugzilla template for libxslt.
Comment 3 Daniel Veillard 2006-10-11 19:39:06 UTC
Fixed as part of #340995

Daniel

*** This bug has been marked as a duplicate of 340995 ***