Hello

I try to compile heartbeat 3.0.3 from official sources on CentOS 5.3.

Previously, I installed ClusterGlue by prefixing it : --prefix = /path/hb


1)
When I start the heartbeat configuration, I encountered a first problem:
./ConfigureMe configure --prefix = /path/hb
checking for heartbeat / glue_config.h ... No
configure: error: Core development headers not found

I fixed the problem by changing the CFLAGS: export CFLAGS = "$ CFLAGS 
-I/path/hb/include -L/path/hb/lib"

The configure finishes without serious errors.

2)
I run make and then get two errors redefined global variables :

In file included from ../include/lha_internal.h:41,
                 from strlcpy.c:1:
/hawai/data/HB/include/heartbeat/glue_config.h:44:1: error: "HA_SYSCONFDIR" 
redefined
In file included from ../include/lha_internal.h:38,
                 from strlcpy.c:1:
../include/config.h:431:1: error: this is the location of the previous 
definition
In file included from ../include/lha_internal.h:41,
                 from strlcpy.c:1:
/hawai/data/HB/include/heartbeat/glue_config.h:96:1: error: "HA_HBCONF_DIR" 
redefined
In file included from ../include/lha_internal.h:38,
                 from strlcpy.c:1:
../include/config.h:416:1: error: this is the location of the previous 
definition
gmake[1]: *** [strlcpy.lo] Erreur 1
gmake[1]: quittant le répertoire « /root/Heartbeat-3-0-STABLE-3.0.3/replace »
make: *** [all-recursive] Erreur 1

I fixed the problem by deleting  #HA_SYSCONFDIR and #HA_HBCONF_DIR lines in 
./include.config.h

3)
I ran 'make' again and still get an error on the documents generation:

Making all in doc
gmake[1]: entrant dans le répertoire « /root/Heartbeat-3-0-STABLE-3.0.3/doc »
\
        --xinclude \
        http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl 
heartbeat.xml
gmake[1]: --xinclude : commande introuvable
gmake[1]: *** [heartbeat.8] Erreur 127
gmake[1]: quittant le répertoire « /root/Heartbeat-3-0-STABLE-3.0.3/doc »
make: *** [all-recursive] Erreur 1

How can I resolve this problem without installing libxslt RPM ? I don't want to 
make documentations.

Thanks for your replies .



</PRE><p style="font-family:arial;color:grey" style="font-size:13px">This 
message contains information that may be privileged or confidential and is the 
property of the Capgemini Group. It is intended only for the person to whom it 
is addressed. If you are not the intended recipient, you are not authorized to 
read, print, retain, copy, disseminate, distribute, or use this message or any 
part thereof. If you receive this message in error, please notify the sender 
immediately and delete all copies of this message.</p><PRE>
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to