pcp
[Top] [All Lists]

Re: [pcp] PCP 3.9.0 install problems

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Subject: Re: [pcp] PCP 3.9.0 install problems
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon, 17 Feb 2014 05:11:42 -0500 (EST)
Cc: PCP Mailing List <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <003e01cf2bc0$5430c030$fc924090$@internode.on.net>
References: <5301AE27.10007@xxxxxxxxxxxxxxxx> <1027442162.8195023.1392625260273.JavaMail.zimbra@xxxxxxxxxx> <003e01cf2bc0$5430c030$fc924090$@internode.on.net>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: AQFbJRHcE92FHiIyUzvJ3odww4uEgwKrp+Erm4vXqrAFoihwGA==
Thread-topic: PCP 3.9.0 install problems

----- Original Message -----
> ...
> I cleaned out build/deb/pcp-3.*
> 
> Then Makepkgs
> 
> Then ...
> 
> kenj@bozo-laptop:~/src/pcp$ !find
> find . -name perllocal.pod
> ./build/deb/pcp-3.9.0/debian/libpcp-mmv-perl/usr/lib/perl/5.14/perllocal.pod
> ./build/deb/pcp-3.9.0/debian/libpcp-import-perl/usr/lib/perl/5.14/perllocal.pod
> ./build/deb/pcp-3.9.0/debian/libpcp-logsummary-perl/usr/lib/perl/5.14/perllocal.pod
> ./build/deb/pcp-3.9.0/debian/libpcp-pmda-perl/usr/lib/perl/5.14/perllocal.pod
> 
> So something in the Perl packaging has come unglued, ... again.  Sigh.
> 
> And there are multiple references to perllocal.pod in the code base ...

Hmm, I don't remember any of these things ... not sure who hacked on this,
may have been Max - he might know more details.

> kenj@bozo-laptop:~/src/pcp$ grep -r perllocal .
> [./build ones deleted]
> ./Logs/pcp:Appending installation info to
> /home/kenj/src/pcp/build/deb/pcp-3.9.0/debian/libpcp-mmv-perl/usr/lib/perl/5.14/perllocal.pod
> ./Logs/pcp:Appending installation info to
> /home/kenj/src/pcp/build/deb/pcp-3.9.0/debian/libpcp-pmda-perl/usr/lib/perl/5.14/perllocal.pod
> ./Logs/pcp:Appending installation info to
> /home/kenj/src/pcp/build/deb/pcp-3.9.0/debian/libpcp-import-perl/usr/lib/perl/5.14/perllocal.pod
> ./Logs/pcp:Appending installation info to
> /home/kenj/src/pcp/build/deb/pcp-3.9.0/debian/libpcp-logsummary-perl/usr/lib/perl/5.14/perllocal.pod
> ./src/include/builddefs:      find $$DIST_ROOT/$(PERL_INSTALL_BASE) -name
> perllocal.pod -exec rm -f '{}' ';' ; \
> ./src/include/builddefs:      find $$DIST_ROOT/$(PERL_INSTALL_BASE) -name
> perllocal.pod -exec rm -f '{}' ';' ; \
> ./src/include/builddefs.in:   find $$DIST_ROOT/$(PERL_INSTALL_BASE) -name
> perllocal.pod -exec rm -f '{}' ';' ; \
> ./src/include/builddefs.in:   find $$DIST_ROOT/$(PERL_INSTALL_BASE) -name
> perllocal.pod -exec rm -f '{}' ';' ; \
> 

These last few are quite interesting - they'd seem to be proving ineffective
in your case.  No idea where they came from, I don't remember adding 'em in
with the original perl packaging work (but, twas back years now).

I guess "usr/lib/perl/5.14" != $(PERL_INSTALL_BASE) above.  It seems to be
coming from the MakeMaker perl module, and this little reference:
  http://www.perlmonks.org/index.pl?node=ExtUtils%3A%3AMakeMaker 
has the clue "This feature can be bypassed by calling make pure_install"
- that might be worth a shot, e.g. ...

diff --git a/src/perl/LogImport/GNUmakefile b/src/perl/LogImport/GNUmakefile
index 24b3657..d7b4dec 100644
--- a/src/perl/LogImport/GNUmakefile
+++ b/src/perl/LogImport/GNUmakefile
@@ -63,7 +63,7 @@ ifneq "$(PACKAGE_DISTRIBUTION)" "debian"
 endif
 
 install_perl:
-       $(PERLMAKE) -f Makefile install $(INSTALLER_OPTIONS)
+       $(PERLMAKE) -f Makefile pure_install $(INSTALLER_OPTIONS)
 
 default_pcp: default
 


cheers.

--
Nathan

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