CentOS

Building Dependencies

The process of building the QPID RPMs on CentOS is relatively straight forward. There are a few packages that must be installed for satisfy both specified and missing !BuildRequires. These instructions outline the approach of installing and building the source rpms rather than downloading them and rebuilding as 'rpmbuild --rebuild <srpm>'. However, either method should work equally.

In order to get all of the dependencies needed, the Extra Packages for Enterprise Linux version 5 (EPEL5) repository is required. Instructions on how to do so can be found  here.

Steps:

  1. Install rpmbuild:
    $ yum install rpm-build
    
  1. Create a mockbuild user:
    $ adduser mockbuild
    
  1. Install the source RPMs (get the latest  here):
    $ rpm -i ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/RHEMRG/SRPMS/amqp-1.0.750054-1.el5.src.rpm
    $ rpm -i ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/RHEMRG/SRPMS/python-qpid-0.7.946106-15.el5.src.rpm
    $ rpm -i ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/RHEMRG/SRPMS/qpid-cpp-mrg-0.7.946106-28.el5.src.rpm
    
  1. Install extra dependencies:
    $ yum install gcc-c++ boost-devel doxygen e2fsprogs-devel libtool ruby cyrus-sasl-devel \
                  libibverbs-devel librdmacm-devel nss-devel nspr-devel xqilla-devel xerces-c-devel \
                  openais-devel cman-devel python-devel ruby-devel swig db4-devel libaio-devel
    
  1. Build the RPMs:
    $ cd /usr/src/redhat
    $ rpmbuild -bb SPECS/amqp.spec
    $ rpmbuild -bb SPECS/python-qpid.spec
    $ rpmbuild -bb SPECS/qpid-cpp-mrg.spec
    

The build produces the following (noarch) RPMs:

The build produces the following RPMs: