Building PCP (Performance Co Pilot) RPMs from Source
24. April 2015
0

I recently stumbled upon Netflix Vector, a nice tool for deep insights in system performance counters at high resolution. It is based on PCP (http://pcp.io) for metrics collection which I wanted to have as RPM in version >= 3.10. Since then the pcp-webapi delivers CORS headers to allow running PCP and Vector on different ports/hosts. To build all PCP RPMs, do the following on an EL6 system:

# to make Makepkgs build pcp-webapi rpm, install libmicrohttpd-devel
sudo yum install libmicrohttpd-devel -y

# build dependencies
sudo yum install ncurses-devel readline-devel -y

# get sources for version 3.10.4
git clone https://github.com/performancecopilot/pcp.git
cd pcp
git checkout tags/3.10.4

# build for python 2.6
env PYTHON=python2.6 ./Makepkgs

cd pcp-3.10.4/build/rpm
ls *.rpm

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.