Subject: | Make Arguments not Passed to Other Makefiles? |
Date: | Mon, 11 May 2015 13:46:32 -0700 |
To: | bug-version [...] rt.cpan.org |
From: | "David E. Wheeler" <dwheeler [...] cpan.org> |
I’m building an RPM, where the install line looks like this:
$ make pure_install PERL_INSTALL_ROOT=/home/dwheeler/iov-perl/BUILDROOT/perl-version-0.9912-1.1431374616.el6.x86_64
The output is:
make[1]: Entering directory `/home/dwheeler/iov-perl/BUILD/version-0.9912/vutil'
make[1]: Leaving directory `/home/dwheeler/iov-perl/BUILD/version-0.9912/vutil'
Manifying 2 pod documents
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Cannot unlink '/usr/lib64/perl5/vendor_perl/auto/version/vxs/vxs.so': Permission denied
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
at -e line 1
make: *** [pure_vendor_install] Error 13
I don’t understand why it wants to delete that file (from a previous install). It might want to look for /home/dwheeler/iov-perl/BUILDROOT/perl-version-0.9912-1.1431374616.el6.x86_64/usr/lib64/perl5/vendor_perl/auto/version/vxs/vxs.so. Is the PERL_INSTALL_ROOT option not getting passed somewhere it should?