This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug build/18512] New: make install failure with overridden prefix
- From: "msebor at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 09 Jun 2015 23:31:46 +0000
- Subject: [Bug build/18512] New: make install failure with overridden prefix
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=18512
Bug ID: 18512
Summary: make install failure with overridden prefix
Product: glibc
Version: 2.21
Status: NEW
Severity: normal
Priority: P2
Component: build
Assignee: unassigned at sourceware dot org
Reporter: msebor at redhat dot com
CC: carlos at redhat dot com
Target Milestone: ---
Attempting to install glibc configured with --prefix=/usr into a non-standard
directory specified by the prefix make variable fails with the error below:
$ /src/glibc-trunk/configure --prefix=/usr
...
$ nice make install prefix=/build/glibc-trunk-install-prefix-override-usr
make[3]: Leaving directory `/src/glibc-trunk/elf'
/usr/bin/install -c /build/glibc-trunk/elf/ld.so /lib64/ld-2.21.90.so.new
/usr/bin/install: cannot create regular file '/lib64/ld-2.21.90.so.new':
Permission denied
make[2]: *** [/lib64/ld-2.21.90.so] Error 1
make[2]: Leaving directory `/src/glibc-trunk/elf'
make[1]: *** [elf/ldso_install] Error 2
make[1]: Leaving directory `/src/glibc-trunk'
make: *** [install] Error 2
However, with glibc configured with a different prefix the same installation
succeeds.
(Setting the DESTDIR variable works as one would expect.)
--
You are receiving this mail because:
You are on the CC list for the bug.