dhodovsk / source-git / pacemaker

Forked from source-git/pacemaker 3 years ago
Clone

Blame INSTALL.md

rpm-build 3ee90c
# How to Install Pacemaker
rpm-build 3ee90c
rpm-build 3ee90c
## Build Dependencies
rpm-build 3ee90c
rpm-build 3ee90c
| Version         | Fedora-based       | Suse-based         | Debian-based   |
rpm-build 3ee90c
|:---------------:|:------------------:|:------------------:|:--------------:|
rpm-build 3ee90c
| 1.11 or later   | automake           | automake           | automake       |
rpm-build 3ee90c
| 2.64 or later   | autoconf           | autoconf           | autoconf       |
rpm-build 3ee90c
|                 | libtool            | libtool            | libtool        |
rpm-build 3ee90c
|                 | libtool-ltdl-devel |                    | libltdl-dev    |
rpm-build 3ee90c
|                 | libuuid-devel      | libuuid-devel      | uuid-dev       |
rpm-build 3ee90c
|                 | pkgconfig          | pkgconfig          | pkg-config     |
rpm-build 3ee90c
| 2.16.0 or later | glib2-devel        | glib2-devel        | libglib2.0-dev |
rpm-build 3ee90c
|                 | libxml2-devel      | libxml2-devel      | libxml2-dev    |
rpm-build 3ee90c
|                 | libxslt-devel      | libxslt-devel      | libxslt-dev    |
rpm-build 3ee90c
|                 | bzip2-devel        | libbz2-devel       | libbz2-dev     |
rpm-build 3ee90c
|                 | libqb-devel        | libqb-devel        | libqb-dev      |
rpm-build 3ee90c
rpm-build 3ee90c
Also: GNU make, and Python 2.7 or Python 3.2 or later
rpm-build 3ee90c
rpm-build 3ee90c
### Cluster Stack Dependencies
rpm-build 3ee90c
rpm-build 3ee90c
*Only corosync is currently supported*
rpm-build 3ee90c
rpm-build 3ee90c
| Version         | Fedora-based       | Suse-based         | Debian-based   |
rpm-build 3ee90c
|:---------------:|:------------------:|:------------------:|:--------------:|
rpm-build 3ee90c
| 2.0.0 or later  | corosynclib        | libcorosync        | corosync       |
rpm-build 3ee90c
| 2.0.0 or later  | corosynclib-devel  | libcorosync-devel  |                |
rpm-build 3ee90c
|                 |                    |                    | libcfg-dev     |
rpm-build 3ee90c
|                 |                    |                    | libcpg-dev     |
rpm-build 3ee90c
|                 |                    |                    | libcmap-dev    |
rpm-build 3ee90c
|                 |                    |                    | libquorum-dev  |
rpm-build 3ee90c
rpm-build 3ee90c
### Optional Build Dependencies
rpm-build 3ee90c
rpm-build 3ee90c
| Feature Enabled                                 | Version        | Fedora-based            | Suse-based              | Debian-based            |
rpm-build 3ee90c
|:-----------------------------------------------:|:--------------:|:-----------------------:|:-----------------------:|:-----------------------:|
rpm-build 3ee90c
| Pacemaker Remote and encrypted remote CIB admin | 2.1.7 or later | gnutls-devel            | libgnutls-devel         | libgnutls-dev           |
rpm-build 3ee90c
| encrypted remote CIB admin                      |                | pam-devel               | pam-devel               | libpam0g-dev            |
rpm-build 3ee90c
| interactive crm_mon                             |                | ncurses-devel           | ncurses-devel           | ncurses-dev             |
rpm-build 3ee90c
| systemd support                                 |                | systemd-devel           | systemd-devel           | libsystemd-dev          |
rpm-build 3ee90c
| systemd/upstart resource support                |                | dbus-devel              | dbus-devel              | libdbus-1-dev           |
rpm-build 3ee90c
| Linux-HA style fencing agents                   |                | cluster-glue-libs-devel | libglue-devel           | cluster-glue-dev        |
rpm-build 3ee90c
| documentation                                   |                | asciidoc or asciidoctor | asciidoc or asciidoctor | asciidoc or asciidoctor |
rpm-build 3ee90c
| documentation                                   |                | help2man                | help2man                | help2man                |
rpm-build 3ee90c
| documentation                                   |                | publican                |                         | publican                |
rpm-build 3ee90c
| documentation                                   |                | inkscape                | inkscape                | inkscape                |
rpm-build 3ee90c
| documentation                                   |                | docbook-style-xsl       | docbook-xsl-stylesheets | docbook-xsl             |
rpm-build 3ee90c
rpm-build 3ee90c
## Optional testing dependencies
rpm-build 3ee90c
* valgrind (if running CTS valgrind tests)
rpm-build 3ee90c
* systemd-python (if using CTS on cluster nodes running systemd)
rpm-build 3ee90c
* rsync (if running CTS container tests)
rpm-build 3ee90c
* libvirt-daemon-driver-lxc (if running CTS container tests)
rpm-build 3ee90c
* libvirt-daemon-lxc (if running CTS container tests)
rpm-build 3ee90c
* libvirt-login-shell (if running CTS container tests)
rpm-build 3ee90c
rpm-build 3ee90c
## Simple install
rpm-build 3ee90c
rpm-build 3ee90c
    $ make && sudo make install
rpm-build 3ee90c
rpm-build 3ee90c
If GNU make is not your default make, use "gmake" instead.
rpm-build 3ee90c
rpm-build 3ee90c
## Detailed install
rpm-build 3ee90c
rpm-build 3ee90c
First, browse the build options that are available:
rpm-build 3ee90c
rpm-build 3ee90c
    $ ./autogen.sh
rpm-build 3ee90c
    $ ./configure --help
rpm-build 3ee90c
rpm-build 3ee90c
Re-run ./configure with any options you want, then proceed with the simple
rpm-build 3ee90c
method.