pcp
[Top] [All Lists]

Re: [pcp] install failure with current git

To: Max Matveev <makc@xxxxxxxxx>
Subject: Re: [pcp] install failure with current git
From: "Josef 'Jeff' Sipek" <jeffpc@xxxxxxxxxxxxxx>
Date: Wed, 18 May 2011 08:10:51 -0400
Cc: PCP <pcp@xxxxxxxxxxx>
In-reply-to: <19923.9245.476422.579298@xxxxxxxxxxxx>
References: <20110517151035.GB29864@xxxxxxxxxxxxxx> <19923.9245.476422.579298@xxxxxxxxxxxx>
User-agent: Mutt/1.5.20 (2009-06-14)
On Wed, May 18, 2011 at 11:42:53AM +1000, Max Matveev wrote:
> On Tue, 17 May 2011 11:10:35 -0400, jeffpc  wrote:
> 
>  jeffpc> The build succeeds, but `make install` blows up with the following on
>  jeffpc> Gentoo:
> 
> Do you just install PCP from source or are you trying to generate
> packages?

>From source.  (make && make install)

>  jeffpc> /usr/bin/gmake -f Makefile install DESTDIR=$DIST_ROOT
>  jeffpc> Files found in blib/arch: installing files in blib/lib into 
> architecture dependent library tree
>  jeffpc> Installing 
> /usr/lib64/perl5/vendor_perl/5.12.3/x86_64-linux/auto/PCP/PMDA/PMDA.so
>  jeffpc> find $DIST_ROOT -name .packlist -exec mv '{}' 
> ../../../perl-pcp-pmda.list ';'
>  jeffpc> sed -n -e '/\.bs$/d' -e 's/\.[0-9]pm$/&.gz/' -e "s@^$DIST_ROOT@@p" 
> -i.tmp ../../../perl-pcp-pmda.list
>  jeffpc> sed: can't read ../../../perl-pcp-pmda.list: No such file or 
> directory
>  jeffpc> gmake[3]: *** [install] Error 2
>  jeffpc> gmake[2]: *** [install] Error 2
>  jeffpc> gmake[1]: *** [install_pcp] Error 2
>  jeffpc> gmake[1]: Leaving directory `/root/pcp/src'
>  jeffpc> make: *** [install_pcp] Error 2
> 
>  jeffpc> It would seem that src/cpan/*/GNUMakefile tries to generate a
>  jeffpc> file called perl-pcp-*.list on non-Debian systems, but these
>  jeffpc> files are only used by src/cpan/GNUMakefile if you are on OS
>  jeffpc> X.
> 
> They're also used by rpm on rpm-based distros.
> 
> Check if perl installer generates .packlist files - if it doesn't then
> we'll need to skip the sedorization of the output and find some other
> way of getting the list of files perl generates if we want to produce
> Gentoo packages (what are they, btw?).

Nope.  I didn't see any .packlist files.  Yesterday was the first time I
dealt with Gentoo, so I can't really answer the Gentoo packages question.

Jeff.

-- 
Once you have their hardware. Never give it back.
(The First Rule of Hardware Acquisition)

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