pcp
[Top] [All Lists]

Re: [pcp] make install problem on Gentoo

To: Mike Blackwell <mkblackwell@xxxxxxxxx>
Subject: Re: [pcp] make install problem on Gentoo
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue, 14 Apr 2015 08:41:29 -0400 (EDT)
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <CADkrTSFMDArD3D_fD6oKqc_xrxfDszyrdbbmhZYej+JjFp9dAQ@xxxxxxxxxxxxxx>
References: <CADkrTSFMDArD3D_fD6oKqc_xrxfDszyrdbbmhZYej+JjFp9dAQ@xxxxxxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: RuBlG717NcbumInF0oRb0lLTvekEfA==
Thread-topic: make install problem on Gentoo

----- Original Message -----
> I'm having an issue building the latest master branch on Gentoo linux.
> Configure and make succeed as expected, but "sudo make install" fails on
> PMDA,

(so, this is building the perl PCP::PMDA module, for reference - you don't
really need this for a functional PCP, but it enables PCP agents written
in perl)

> and I'm having trouble unwinding the nested make-ing that's going on
> to figure out the problem... Here's the output:
> [...]
> make -f Makefile install DESTDIR=$DIST_ROOT | tee pack.list; sed -n -e
> '/\.bs$/d' -e 's/\.[0-9]pm$/&.gz/' -e "s@^Installing $DIST_ROOT@@p"
> <pack.list >../../../perl-pcp-pmda.list || exit 1; if [ -s

Locate "pack.list" in your build tree, which is built based on the contents
of what MakeMaker thinks should be in the new perl module.  Then see if it
has anything useful in it & if so, why the file list there isn't making it
into perl-pcp-pmda after the above sed command.

> ../../../perl-pcp-pmda.list ]; then rm -f pack.list; else echo "Arrgh ... no
> files to include in package via ../../../perl-pcp-pmda.list, see pack.list";
> [...]
> Arrgh ... no files to include in package via ../../../perl-pcp-pmda.list, see
> pack.list

Refer to the src/include/builddefs file in the tree, which has some gentoo-
specific code (i.e. in the PERL_GET_FILELIST macro).

cheers.

--
Nathan

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