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
|