[ClusterLabs] Pacemaker-2.0.5 build/install error

Ken Gaillot kgaillot at redhat.com
Fri Jan 29 14:12:40 EST 2021


Hi Sathish,

It looks like it's trying to build pacemaker-remoted even though you
don't have the necessary prerequisites. I'll have to look into that for
the next release.

You could try installing the GnuTLS library first, or try commenting
out sbin_PROGRAMS in daemons/execd/Makefile.am.

On Fri, 2021-01-29 at 10:36 +0000, S Sathish S wrote:
> Hi Team,
>  
> we are trying to building the latest 2.0.5 getting below error , can
> we know reason for the same
>  
> https://github.com/ClusterLabs/pacemaker/tree/Pacemaker-2.0.5
>  
>     $ ./autogen.sh
>     $ ./configure --prefix /root/pacemaker/
>  
> Above two command sucessed without error.
>  
>     $ make --> While simple install getting below error.
>  
> Making all in controld
> make[3]: Entering directory `/root/sathish/pacemaker-Pacemaker-
> 2.0.5/daemons/controld'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/root/sathish/pacemaker-Pacemaker-
> 2.0.5/daemons/controld'
> Making all in execd
> make[3]: Entering directory `/root/sathish/pacemaker-Pacemaker-
> 2.0.5/daemons/execd'
> gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../include  -DSUPPORT_REMOTE
> -I../../include -I../../include -I../../libltdl -I../../libltdl
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  
> -I/usr/include/libxml2   -I/root/pacemaker1/include/heartbeat -fPIE
> -g -O2          -ggdb  -fgnu89-inline -Wall -Waggregate-return -Wbad-
> function-cast -Wcast-align -Wdeclaration-after-statement -Wendif-
> labels -Wfloat-equal -Wformat-security -Wmissing-prototypes
> -Wmissing-declarations -Wnested-externs -Wno-long-long -Wno-strict-
> aliasing -Wpointer-arith -Wwrite-strings -Wunused-but-set-variable
> -Wformat=2 -Wformat-nonliteral -fstack-protector-strong -Werror -MT
> pacemaker_remoted-execd_commands.o -MD -MP -MF
> .deps/pacemaker_remoted-execd_commands.Tpo -c -o pacemaker_remoted-
> execd_commands.o `test -f 'execd_commands.c' || echo
> './'`execd_commands.c
> execd_commands.c: In function ‘process_lrmd_signon’:
> execd_commands.c:1530:55: error: ‘struct pcmk__remote_s’ has no
> member named ‘tls_handshake_complete’
>          if ((client->remote != NULL) && client->remote-
> >tls_handshake_complete) {
>                                                        ^
> make[3]: *** [pacemaker_remoted-execd_commands.o] Error 1
> make[3]: Leaving directory `/root/sathish/pacemaker-Pacemaker-
> 2.0.5/daemons/execd'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/root/sathish/pacemaker-Pacemaker-
> 2.0.5/daemons'
> make[1]: *** [core] Error 1
> make[1]: Leaving directory `/root/sathish/pacemaker-Pacemaker-2.0.5'
> make: *** [build] Error 2
>  
> Thanks and Regards,
> S Sathish S
> _______________________________________________
> Manage your subscription:
> https://lists.clusterlabs.org/mailman/listinfo/users
> 
> ClusterLabs home: https://www.clusterlabs.org/
-- 
Ken Gaillot <kgaillot at redhat.com>



More information about the Users mailing list