On Wed, Sep 18, 2013 at 03:43:01PM -0300, Emilio López wrote:
> Hi I'm having issues compiling and installing Heartbeat 3.0.5 from source
> at RHEL 6.3 and I'm running with some issues I cannot solve. Prior
> compiling Heartbeat I was able to install all dependencies but when I get
> the stage of "make" I get


Seeing that "all the world" moves to corosync as the
preferred cluster communication layer, basing your new Linux HA cluster
deployments on that is probably a good idead.

For the record,
Linbit provides packages for both
the corosync (or even CMAN) stack,
and the heartbeat stack.

If you wanted to compile heartbeat yourself,
make sure the build requirements are there.

You need to first (build "cluster-glue"*, and)
install cluster-glue-libs-devel,
I think also resource-agents (for some directory location define),
then build heartbeat.

Recommended heartbeat version would be straight from mercurial
http://hg.linux-ha.org/heartbeat-STABLE_3_0/

(I meant to tag that as release since ages)

> gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include -I../include -I../include
> -I../linux-ha -I../linux-ha -I../libltdl -I../libltdl
>  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -O2 -g
> -I/usr/include/heartbeat  -Wall -Wmissing-prototypes -Wmissing-declarations
> -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith
> -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline
> -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral
> -Wno-long-long -Wno-strict-aliasing   -ggdb3 -funsigned-char -O2 -g
> -I/usr/include/heartbeat  -Wall -Wmissing-prototypes -Wmissing-declarations
> -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith
> -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline
> -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral
> -Wno-long-long -Wno-strict-aliasing   -ggdb3 -funsigned-char -MT
> heartbeat-heartbeat.o -MD -MP -MF .deps/heartbeat-heartbeat.Tpo -c -o
> heartbeat-heartbeat.o `test -f 'heartbeat.c' || echo './'`heartbeat.c
> heartbeat.c: In function 'restart_heartbeat':
> heartbeat.c:4216: error: 'HA_LIBHBDIR' undeclared (first use in this
> function)
> heartbeat.c:4216: error: (Each undeclared identifier is reported only once
> heartbeat.c:4216: error: for each function it appears in.)
> heartbeat.c:4216: error: expected ')' before string constant
> heartbeat.c:4219: error: too few arguments to function 'execl'
> heartbeat.c:4221: error: expected ')' before string constant
> heartbeat.c:4222: error: too few arguments to function 'execl'
> heartbeat.c:4229: error: expected ')' before string constant
> heartbeat.c:4229: error: too few arguments to function 'execl'
> heartbeat.c:4231: error: expected ')' before 'HA_LIBHBDIR'
> gmake[2]: *** [heartbeat-heartbeat.o] Error 1
> gmake[2]: Leaving directory
> `/root/rpmbuild/BUILD/Heartbeat-3-0-STABLE-3.0.4/heartbeat'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/root/rpmbuild/BUILD/Heartbeat-3-0-STABLE-3.0.4/heartbeat'
> make: *** [all-recursive] Error 1
> error: Estado de salida erróneo de /var/tmp/rpm-tmp.nA38v2 (%build)
> 
> 
> Errores de construcción RPM:
>     Estado de salida erróneo de /var/tmp/rpm-tmp.nA38v2 (%build)
> 
> 
> and then it won't go on. Any suggestions?
> 
> Thank you,
> 
> Emilio.
> _______________________________________________
> Linux-HA mailing list
> Linux-HA@lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to