[Pacemaker] pygui error to install on Ubuntu 10.04
Yan Gao
ygao at novell.com
Tue Sep 14 06:44:06 UTC 2010
On 09/14/10 00:05, Luana C. Rocha wrote:
>
> apt-get install gcc g++ make autoconf automake gawk
> apt-get install gettext intltool
Right. The building requires intltool
>
> *Error trying to start Pacemaker-Python-GUI-6318ced8e29b with heartbeat
> support:*
> root at squid01:/home/luana/Pacemaker-Python-GUI-6318ced8e29b# ./bootstrap
> --with-heartbeat-support
> configure: WARNING: glue_config.h: accepted by the compiler, rejected by
> the preprocessor!
> configure: WARNING: glue_config.h: proceeding with the compiler's result
> checking for glue_config.h... yes
> checking for HA_HBCONF_DIR in glue_config.h... /etc/ha.d/
> checking for HB_RA_DIR in glue_config.h... /etc/ha.d/resource.d/
> checking for HA_LIBDIR in glue_config.h...
> /tmp/extract_define.HA_LIBDIR.24084.c: In function 'main':
> /tmp/extract_define.HA_LIBDIR.24084.c:3: error: 'HA_LIBDIR' undeclared
> (first use in this function)
> /tmp/extract_define.HA_LIBDIR.24084.c:3: error: (Each undeclared
> identifier is reported only once
> /tmp/extract_define.HA_LIBDIR.24084.c:3: error: for each function it
> appears in.)
> ./configure: line 5400: /tmp/extract_define.HA_LIBDIR.24084: No such
> file or directory
You could ignore this.
>
> printf: usage: printf [-v var] format [arguments]
> checking for HA_LIBHBDIR in glue_config.h... /usr/lib/heartbeat
> checking for HA_VARRUNDIR in glue_config.h... /var/run
> checking for HA_VARLIBHBDIR in glue_config.h... /var/lib/heartbeat
> checking for OCF_ROOT_DIR in glue_config.h... /usr/lib/ocf
> checking for OCF_RA_DIR in glue_config.h... /usr/lib/ocf/resource.d/
> checking for HA_APIGROUP in glue_config.h... haclient
> checking for HA_CCMUSER in glue_config.h... hacluster
> checking for hg... /usr/local/hg
> checking build revision... 6318ced8e29b0040721e91054c608eca0d40868f
> checking for PILLoadPlugin in -lpils... yes
> checking for G_main_add_IPC_Channel in -lplumb... yes
> checking for msgfromIPC_timeout... yes
> checking for struct lrm_ops.fail_rsc... yes
> checking for ll_cluster_new in -lhbclient... no
> configure: error: in `/home/luana/Pacemaker-Python-GUI-6318ced8e29b':
> *configure: error: Unable to support Heartbeat: client libraries not found*
Did you install the heartbeat development package, which might be named heartbeat-devel
or something?
BTW, if you are using pacemaker-1.0 series, you should adopt pacemaker-mgmt-2.0.0.
Otherwise the tip of pacemaker-mgmt repo for pacemaker-1.1
>
> *Error trying to start Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0:*
> configure: WARNING: glue_config.h: accepted by the compiler, rejected by
> the preprocessor!
> configure: WARNING: glue_config.h: proceeding with the compiler's result
> checking for glue_config.h... yes
> checking for HA_HBCONF_DIR in glue_config.h... /etc/ha.d/
> checking for HB_RA_DIR in glue_config.h... /etc/ha.d/resource.d/
> checking for HA_LIBDIR in glue_config.h...
> /tmp/extract_define.HA_LIBDIR.20657.c: In function 'main':
> /tmp/extract_define.HA_LIBDIR.20657.c:3: error: 'HA_LIBDIR' undeclared
> (first use in this function)
> /tmp/extract_define.HA_LIBDIR.20657.c:3: error: (Each undeclared
> identifier is reported only once
> /tmp/extract_define.HA_LIBDIR.20657.c:3: error: for each function it
> appears in.)
> ./configure: line 5400: /tmp/extract_define.HA_LIBDIR.20657: No such
> file or directory
>
> printf: usage: printf [-v var] format [arguments]
> checking for HA_LIBHBDIR in glue_config.h... /usr/lib/heartbeat
> checking for HA_VARRUNDIR in glue_config.h... /var/run
> checking for HA_VARLIBHBDIR in glue_config.h... /var/lib/heartbeat
> checking for OCF_ROOT_DIR in glue_config.h... /usr/lib/ocf
> checking for OCF_RA_DIR in glue_config.h... /usr/lib/ocf/resource.d/
> checking for HA_APIGROUP in glue_config.h... haclient
> checking for HA_CCMUSER in glue_config.h... hacluster
> checking for hg... /usr/local/hg
> checking build revision... 18332eae086e5c64bf1f2ae80eba52b72c409963
> checking for PILLoadPlugin in -lpils... yes
> checking for G_main_add_IPC_Channel in -lplumb... yes
> checking for msgfromIPC_timeout... yes
> checking for struct lrm_ops.fail_rsc... yes
> checking for ll_cluster_new in -lhbclient... no
> configure: error: in
> `/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0':
> *configure: error: Unable to support Heartbeat: client libraries not found*
> See `config.log' for more details.*
>
Regards,
Yan
--
Yan Gao <ygao at novell.com>
Software Engineer
China Server Team, OPS Engineering, Novell, Inc.
More information about the Pacemaker
mailing list