pcp
[Top] [All Lists]

Re: [pcp] reg install pcp in freebsd

To: "karthikeyan.ps" <karthikeyan.ps@xxxxxxxxxxxx>, pcp@xxxxxxxxxxx
Subject: Re: [pcp] reg install pcp in freebsd
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri, 17 Oct 2014 09:16:47 +1100
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <149132de64a.fc32bc2f31382.7164760145933637595@xxxxxxxxxxxx>
References: <149132de64a.fc32bc2f31382.7164760145933637595@xxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2
On 15/10/14 20:43, karthikeyan.ps wrote:
hi,

I am karthikeyan i have planned to install pcp in freebsd 9.2. I tried
from source but unable to install pcp. If you don't mind can you suggest
procedure to install pcp in freebsd. I already tried all the given
procedure in your sides but no use.

Karthikeyan,

I (well, strictly speaking cron, not I) regularly build and install PCP on lots of platforms, including some FreeBSD ones.

We don't have real *BSD packages (no one on the project has that skill set, volunteers would be most welcome), so we're using a tarball and some helper scripts.

This is the recipe (extracted from qa/admin/pcp-daily)

$ git pull
$ ./Makepkgs

This should produce a tarball in pcp-<buildversion>/build/tar

$ . ./VERSION.pcp
$ buildversion=$PACKAGE_MAJOR.$PACKAGE_MINOR.$PACKAGE_REVISION
$ here=`pwd`
$ tarball=$here/pcp-$buildversion/build/tar/pcp-[0-9]*[0-9].tar.gz
$ cd pcp-$buildversion/build/tar
$ sudo ./preinstall
$ cd /
$ sudo tar -zxpf $tarball
$ cd $here
$ cd pcp-$buildversion/build/tar
$ sudo ./postinstall

That's the end of the installation steps.  Now start pmcd.

$ . /etc/pcp.env
$ sudo $PCP_RC_DIR/pcp start

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