If you have access to the SLES-11 HAE and SLES-11 SDK DVDs,  you can just
install
      pacemaker and openais material (from High Availability pattern via
yast)
      libheartbeat-devel      (from the HAE DVD manually)
      glib2-devel             (from the SDK)
      hwmcaapi-devel          (from IBM)
      hwmcaapi                (from IBM)
      dmsvsma.x               (from a z/VM system)

Along with the normal build tools (libnet, libtool, autoconf, etc) these
should let you compile all components of the snipl source.

If you're not happy with openais / pacemaker as is and really want to build
heartbeat from scratch ...

The glue_config.h is from the Reusable-Cluster-Components-glue, ex:

LAC0031:~/Reusable-Cluster-Components-glue-1.0.3 # find | grep
glue_config.h
./include/glue_config.h
./include/glue_config.h.in
LAC0031:~/Reusable-Cluster-Components-glue-1.0.3 #
LAC0031:~/Reusable-Cluster-Components-glue-1.0.3 # cd include
LAC0031:~/Reusable-Cluster-Components-glue-1.0.3/include # grep i_HEADERS
Makefile
DIST_COMMON = $(i_HEADERS) $(noinst_HEADERS) $(srcdir)/Makefile.am \
HEADERS = $(i_HEADERS) $(noinst_HEADERS)
i_HEADERS = compress.h glue_config.h ha_msg.h
install-iHEADERS: $(i_HEADERS)
        @list='$(i_HEADERS)'; for p in $$list; do \
        @list='$(i_HEADERS)'; for p in $$list; do \
LAC0031:~/Reusable-Cluster-Components-glue-1.0.3/include #

And to get the correct Makefile ... need some magic fairy dust ...
On my system, just to get /usr/include/heartbeat/glue_config.h, I think it
required at least these packages:

e2fsprogs-devel-1.41.1-13.9
libuuid-devel-1.41.1-13.9
libext2fs-devel-1.41.1-13.9
libcom_err-devel-1.41.1-13.9
libblkid-devel-1.41.1-13.9
libxml2-devel-2.7.1-10.8
libbz2-devel-1.0.5-34.246
readline-devel-5.2-147.3
glib2-devel-2.18.2-7.6
zlib-devel-1.2.3-106.34

And following the pacemaker build info down to the letter.
      http://clusterlabs.org/wiki/Install#From_Source


- Mark Ver

office:  Building 710 / Room 2-RF-10
phone: (845) 435-7794  [tie 8 295-7794]

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to