pcp
[Top] [All Lists]

[Bug 921] permit configure --prefix=.... to override $pcp_var_dir

To: pcp@xxxxxxxxxxx
Subject: [Bug 921] permit configure --prefix=.... to override $pcp_var_dir
From: bugzilla-daemon@xxxxxxxxxxx
Date: Mon, 9 Apr 2012 06:58:07 -0500
Auto-submitted: auto-generated
In-reply-to: <bug-921-835@xxxxxxxxxxxxxxxx/bugzilla/>
References: <bug-921-835@xxxxxxxxxxxxxxxx/bugzilla/>
http://oss.sgi.com/bugzilla/show_bug.cgi?id=921





--- Comment #2 from Frank Ch. Eigler <fche@xxxxxxxxxx>  2012-04-09 06:58:06 CST 
---
Thanks a lot, Ken, it's a lot better.  Not a huge problem, but is the $PCP_DIR
requirement unavoidable?  Could the tools compile in a default based upon the
$prefix?

The perl modules don't quite seem to support it.  perl should be able to look
for them under any random spot, using $PERL5DIR or similar mechanisms
(paralleling the reasonable custom $PATH / $LD_LIBRARY_PATH requirements).

gzip --best PCP-PMDA-1.13.tar
/usr/bin/gmake -f Makefile install DESTDIR=$DIST_ROOT; find $DIST_ROOT -name
.packlist -exec mv '{}' ../../../perl-pcp-pmda.list ';' ; if [ -s
../../../perl-pcp-pmda.list ] ; then _sfx=.gz; false && _sfx=.bz2; false &&
_sfx=.lzma; false && _sfx=.xz; sed -n -e '/\.bs$/d' -e 's/\.[0-9]pm$/&'"$_sfx/"
-e "s@^$DIST_ROOT@@p" -i.tmp ../../../perl-pcp-pmda.list || exit 1; else echo
"Arrgh ... no files to include in package via ../../../perl-pcp-pmda.list";
exit 1; fi; find $DIST_ROOT -name perllocal.pod -exec rm -f '{}' ';' ; find
$DIST_ROOT -name \*.bs  -exec rm -f '{}' ';' ; find $DIST_ROOT -name PMDA.so
-exec chmod 755 '{}' ';'
Files found in blib/arch: installing files in blib/lib into architecture
dependent library tree
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Can't create '/usr/lib64/perl5/vendor_perl/PCP'
mkdir /usr/lib64/perl5/vendor_perl/PCP: Permission denied at
/usr/share/perl5/ExtUtils/Install.pm line 494

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

-- 
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

<Prev in Thread] Current Thread [Next in Thread>