[Linux-HA] Re: Swig bindings in heartbeat config/build

Alan Robertson alanr at unix.sh
Mon Mar 14 12:43:46 MST 2005


forrest whitcher wrote:
> Horms, Alan,
> 
> Thanks, I did eventually get it built ... here are the things that were 
> required.
> 
> 1. For reasons that I didn't record the build would not run against the perl 
> 5.8.0 shipped with RH9, I installed 5.8.6 and on a fairly complete RH9 box
> I obtained a clean build of the current code with swig bindings.
> 
> 
> 
> 2. -- Unrelated to SWIG, The second system on which I needed to build was 
> a minimal server install which required the following RPMs to be installed.
> 
> First the obvious toolchain things
> 
> byacc, automake, libtool
> 
> Second, configure.in doesn't detect the requirements:
> 
> curl and openssl-devel.

Those should be optional.  So, it should just fail to build one particular 
plugin.

> Anyhow, now that the swig bindings are built I can see that I will want 
> to build a new .i file for the heartbeat API, as the only .i swig input file
> seems to be for the clplumbing library stuff and the associated IPC 
> functions.
> 
> I'd like to be able to access the HB api from perl, not having used 
> swig, nor done meaningful perl xs work in many years this I'll have
> to roll up the sleeves to get started on that.

That would be a good thing.

-- 
     Alan Robertson <alanr at unix.sh>

"Openness is the foundation and preservative of friendship...  Let me claim 
from you at all times your undisguised opinions." - William Wilberforce



More information about the Linux-HA mailing list