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)
|