<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">For some reason when you compile Pacemaker from sources, its ./autogen.sh && ./configure cannot detect Corosync and OpenAIS headers. Regardless if you set proper CFLAGS="-I$PREFIX/include -L$PREFIX/lib" or not.<br><br>Only when I copied or soft linked corosync and openais header directories into Pacemaker-1-0-xxxxxxxxx/include directory everything went very smoothly.<br>Is it a bug or a feature? Go figure ...<br><br>So, the final working configuration / compilation file for Pacemaker look like this:<br><br><--------------------- snipped ----------------------><br><br>#!/bin/bash<br><br>source /etc/profile.local<br>ldconfig<br><br>PREFIX=/usr/local/cluster<br>CLUSTER_USER=cluster<br>CLUSTER_GROUP=cluster<br><br>CFLAGS="-I$PREFIX/include -L$PREFIX/lib"<br>CXXFLAGS=$CFLAGS<br><br>export PREFIX CLUSTER_USER CLUSTER_GROUP CFLAGS CXXFLAGS<br><br># Copy
 Corosync and OpenAIS headers into source include<br>cp -a $PREFIX/include/corosync ./include<br>cp -a $PREFIX/include/openais ./include<br><br>./autogen.sh && ./configure \<br>--prefix=$PREFIX \<br>--sbindir=$PREFIX/sbin \<br>--bindir=$PREFIX/bin \<br>--libdir=$PREFIX/lib \<br>--libexecdir=$PREFIX/libexec \<br>--includedir=$PREFIX/include \<br>--sysconfdir=/etc \<br>--datarootdir=$PREFIX/share \<br>--datadir=$PREFIX/share \<br>--datarootdir=$PREFIX/share \<br>--mandir=$PREFIX/man \<br>--docdir=$PREFIX/doc/pacemaker \<br>--infodir=$PREFIX/info \<br>--localstatedir=$PREFIX/var \<br>--with-initdir=/etc/init.d \<br>--with-ais \<br>--with-ais-prefix=$PREFIX \<br>--with-lcrso-dir=$PREFIX/libexec/lcrso \<br>--with-snmp \<br>--with-esmtp \<br>--without-heartbeat \<br>--enable-thread-safe \<br>--disable-fatal-warnings<br><br>make<br>make install<br><br><--------------------- snipped ----------------------><br><br>Thanks to everyone who tried to
 help, especially Andrew!<br><br>Merry Christmas!<br><br>Alex<br><br><br><br><br></td></tr></table><br>