Hi - we have the very same issue.

We are interested in stonith/heartbeat and have the following Heartbeat,
Cluster Glue, and Resource Agents.  We have download v3.0.2 for heartbeat.


For us, we are using RHEL v5.3 and because these components are not
available in binary form from the distributor we have compiled these
components ourselves with success.


Ursula, any direction on this would be grateful.  Seems that simply a file
is just missing in the latest build.  Thanks.


- Frank Pani



  From:       Ursula Braun <[email protected]>

  To:         [email protected]

  Date:       03/18/2010 11:37 AM

  Subject:    Re: SLES11 - error when trying to compile snipl






On Thu, 2010-03-18 at 08:04 -0400, Bernie Wu wrote:
> Mark,
> I picked up snipl-0.2.1.6.tar.gz from IBM's developerworks.
> The original make error :
> # make
> ************************************************************
> ***                      WARNING                         ***
> ***                                                      ***
> *** vmsmapi cannot be built without dmsvsma.x            ***
> ************************************************************
> gcc -DUNIX=1 -DST_TEXTDOMAIN='"stonith"' -g -O2 -Wall -I. -I/usr/include
> -I/usr/include/stonith -o snipl -L. -L/usr/lib64 -lnsl -ldl  -lsniplapi
-lhwmcaapi
> -lconfig snipl.o prepare.o
> /bin/sh libtool --mode=compile gcc \
>         -DUNIX=1 -DST_TEXTDOMAIN='"stonith"' -g -O2 -Wall -I.
-I/usr/include
> -I/usr/include/stonith -DLPAR_INCLUDED=1  `pkg-config --cflags glib-2.0`
\
>         -c lic_vps.c -o lic_vps.lo
> libtool: compile:  gcc -DUNIX=1 -DST_TEXTDOMAIN=\"stonith\" -g -O2 -Wall
-I.
> -I/usr/include -I/usr/include/stonith -DLPAR_INCLUDED=1
-I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -c lic_vps.c  -fPIC -DPIC
-o .libs/lic_vps.o
> In file included from /usr/include/stonith/stonith.h:47,
>                  from ./snipl_stonith_plugin.h:31,
>                  from lic_vps.c:17:
> /usr/include/pils/plugin.h:24:27: error: glue_config.h: No such file or
directory
> make: *** [lic_vps.lo] Error 1

Bernie,

lic_vps is the snipl plugin for stonith/heartbeat. If you are just
interested in snipl command line functionality, you can remove this part
of the Makefile.

If you are interested in stonith/heartbeat, there are 3 downloadable tar
files on linux-ha.org: Heartbeat, Cluster Glue, and Resource Agents. Are
all of them available on your system? Which versions?

Regards, Ursula Braun
IBM Germany
Linux on System z development

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

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

Reply via email to