Skip to content

Instantly share code, notes, and snippets.

@btm
Created January 6, 2012 04:51
Show Gist options
  • Select an option

  • Save btm/1569052 to your computer and use it in GitHub Desktop.

Select an option

Save btm/1569052 to your computer and use it in GitHub Desktop.
# Rebuilding pacemaker with heartbeat support on CentOS 6.2
# Get the source package from the vault, as they are no longer included on the CentOS mirrors
wget http://vault.centos.org/6.2/os/Source/SPackages/pacemaker-1.1.6-3.el6.src.rpm
# Development libraries and tools needed to rebuild the rpm
yum install libtool-ltdl-devel glib2-devel cluster-glue-libs-devel libxml2-devel libxslt-devel python-devel bzip2-devel gnutls-devel pam-devel ncurses-devel openssl-devel libselinux-devel docbook-style-xsl resource-agents clusterlib-devel corosynclib-devel heartbeat-devel heartbeat-libs asciidoc help2man publican inkscape
# Rebuild
rpmbuild --rebuild --with heartbeat pacemaker-1.1.6-3.el6.src.rpm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment