Skip to content

Latest commit

 

History

History

rpm

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

To build the pcp-pmda-qpid RPMS:

  1. Configure your local build environment, if not already:
mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
[ -e ~/.rpmmacros ] || echo '%_topdir %(echo $HOME)/rpmbuild' > ~/.rpmmacros
  1. Install the pre-requisites, if not already:
sudo yum install boost cmake pcp-libs pcp-libs-devel [pcp-pmda-cpp-devel] \
    qpid-cpp-client qpid-cpp-client-devel qpid-qmf qpid-qmf-devel
  • Note, pcp-pmda-cpp-devel is not a standard Fedora / Red Hat package. If its not already within your own yum repos, you can build it spearately via these instructions.
  1. Download the source archive:
wget --content-disposition --directory-prefix=~/rpmbuild/SOURCES \
    https://github.com/pcolby/pcp-pmda-qpid/releases/tag/v<VERSION>
  1. Download the spec file:
wget --directory-prefix=~/rpmbuild/SPECS \
    https://raw2.github.com/pcolby/pcp-pmda-qpid/master/package/rpm/pcp-pmda-qpid.spec
  1. Build the RPMs:
rpmbuild -ba ~/rpmbuild/SPECS/pcp-pmda-qpid.spec

This will produce the following RPMs:

  • pcp-pmda-qpid - Qpid PMDA binary, and support files.
  • pcp-pmda-qpid-debuginfo - debug info for the pcp-pmda-qpid package.