Yep, I know CentOS5 has these in the repos.
I am trying to compile the HALinux apps (cluster-glue, heartbeat, and pacemaker) onto a CentOS5 server, with the eventual goal to actually build this on RHEL5.
I can compile cluster-glue just fine with:
Code:
yum install flex python net-snmp OpenIPMI autoconf automake libtool glib2-devel libxml2 libxml2-devel bzip2 bzip2-devel uuidd e2fsprogs-devel e2fsprogs-libs
wget http://hg.linux-ha.org/glue/archive/glue-1.0.7.tar.bz2
tar -xvjf glue-1.0.7.tar.bz2
cd Reusable-Cluster-Components-glue--glue-1.0.7
./autogen.sh
./configure --prefix=/usr/local
make
make install
However, I cannot compile the heartbeat package:
Code:
wget http://hg.linux-ha.org/heartbeat-STABLE_3_0/archive/STABLE-3.0.4.tar.bz2
tar -xvjf STABLE-3.0.4.tar.bz2
cd Heartbeat-3-0-STABLE-3.0.4
./bootstrap
./ConfigureMe configure
At this point my output becomes:
Code:
...
checking for stdint.h... yes
checking for unistd.h... yes
checking heartbeat/glue_config.h usability... yes
checking heartbeat/glue_config.h presence... yes
checking for heartbeat/glue_config.h... yes
checking glue_config.h usability... no
checking glue_config.h presence... no
checking for glue_config.h... no
configure: error: Core development headers were not found
See `config.log' for more details.
I was able to get around that by editing the ConfigureMe file to have the prefix be /usr/local and now it finds the glue_config.h file
But, I then get stuck at:
Code:
./ConfigureMe configure
make
make install
with the error:
Code:
gmake[1]: Leaving directory `/root/halinux/Heartbeat-3-0-STABLE-3.0.4/tools'
Making all in doc
gmake[1]: Entering directory `/root/halinux/Heartbeat-3-0-STABLE-3.0.4/doc'
\
--xinclude \
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl heartbeat.xml
gmake[1]: --xinclude: Command not found
gmake[1]: *** [heartbeat.8] Error 127
gmake[1]: Leaving directory `/root/halinux/Heartbeat-3-0-STABLE-3.0.4/doc'
make: *** [all-recursive] Error 1
I cannot find anything about resolving the '--xinclude: Command not found' other than some pages in an Asian script which I cannot read.