Opened 12 years ago

#38454 new request

Corosync and Pacemaker port request

Reported by: robotpriest@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port:

Description

I've now been able to compile the whole tool chain for Corosync and Pacemaker so a Macport is possible. This is on OSX 10.8.3.

port install asciidoc autoconf automake bison docbook-xml docbook-xsl esmtp flex gettext git-core glib2 help2man libnet11 libxml2 ncurses mercurial net-snmp OpenIPMI pkgconfig nss

export PREFIX=/opt/local

git clone git://github.com/asalkeld/libqb.git
cd libqb
./autogen.sh
./configure --prefix=$PREFIX
make
make install

cd ..
git clone git://github.com/corosync/corosync.git
cd corosync
./autogen.sh

follow this tip to fix 
https://github.com/corosync/corosync/issues/10

./configure --prefix=$PREFIX
make 
make install

cd ..
hg clone http://hg.linux-ha.org/glue
cd glue
./autogen.sh
./configure --prefix=$PREFIX --with-initdir=/opt/local/etc/init.d --disable-fatal-warnings
make
make install

cd ..
git clone git://github.com/ClusterLabs/resource-agents.git
cd resource-agents
./autogen.sh
/opt/local/bin/autoreconf -i
./configure --prefix=$PREFIX --with-initdir=etc/init.d
make
make install

cd ..
git clone git://github.com/ClusterLabs/pacemaker.git
cd pacemaker
./autogen.sh
/opt/local/bin/autoreconf -i
./configure --prefix=$PREFIX --with-initdir=/opt/local/etc/init.d --without-snmp
make
make install

cd ..
hg clone http://hg.savannah.nongnu.org/hgweb/crmsh
cd crmsh
./configure --prefix=$PREFIX
make
make install

Change History (0)

Note: See TracTickets for help on using tickets.