make install tries to install perl files in other locations than provided with --prefix

Bug #438562 reported by Trond Norbye
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
subunit
Triaged
Wishlist
Unassigned

Bug Description

I run ./configure --prefix=/opt/subunit but when I try to run make install it fails due to permission problems installing files into /usr/perl5.

trond@storm> gmake install
gmake -C perl all
gmake[1]: Entering directory `/tmp/subunit-0.0.2/perl'
gmake[1]: Leaving directory `/tmp/subunit-0.0.2/perl'
gmake[1]: Entering directory `/tmp/subunit-0.0.2'
test -z "/opt/subunit/bin" || ./install-sh -c -d "/opt/subunit/bin"
 /usr/bin/ginstall -c filters/subunit-filter filters/subunit-ls filters/subunit-stats filters/subunit-tags filters/subunit2gtk filters/subunit2junitxml filters/subunit2pyunit filters/tap2subunit '/opt/subunit/bin'
gmake -C perl install
gmake[2]: Entering directory `/tmp/subunit-0.0.2/perl'
Warning: You do not have permissions to install into /usr/perl5/site_perl/5.8.4/i86pc-solaris-64int at /usr/perl5/5.8.4/lib/ExtUtils/Install.pm line 114.
Installing /usr/perl5/site_perl/5.8.4/Subunit.pm
mkdir /usr/perl5/site_perl/5.8.4/Subunit: Permission denied at /usr/perl5/5.8.4/lib/ExtUtils/Install.pm line 176
gmake[2]: *** [pure_site_install] Error 255
gmake[2]: Leaving directory `/tmp/subunit-0.0.2/perl'
gmake[1]: *** [install-exec-local] Error 2
gmake[1]: Leaving directory `/tmp/subunit-0.0.2'
gmake: *** [install-am] Error 2

Revision history for this message
Robert Collins (lifeless) wrote :

I'm not sure whats causing this; patches would be great. I know for me that it seems to work.

Changed in subunit:
status: New → Triaged
importance: Undecided → Wishlist
summary: - gmake install tries to install files in other locations than provided
- with --prefix
+ make install tries to install perl files in other locations than
+ provided with --prefix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.