[Linux-ha-dev] SWIG?

David Lee t.d.lee at durham.ac.uk
Wed Jan 31 05:32:41 MST 2007


On Wed, 31 Jan 2007, Peter Clapham wrote:

> I know it possibly isn't a direction you would choose to follow but FWIW
> there is a sunfreeware swig package available (Intel/Sparc ). Although I
> agree that it would be more helpful if it is a compilation dependency
> for things to fail at the config stage.

Thanks.

(Incidentally, part of what I do here on "linux-ha-dev" over the years is
ensure, as a general principle, that heartbeat has a reasonable chance of
building and running on other OSes and in a range of environments.  Sort
of a "portability pest".)

It so happens that about a year ago, I started toying with the idea of
using CSW/blastwave packages.  Prior to that I had been using "roll your
own" (grab "tar.gz" etc.) for the things with heartbeat required.  (And I
can still attempt builds against either.)  I haven't really investigated
the "sunfreeware" route, but that's simply lack of time.

I never port to Solaris.  I never port to Linux.  I never port to any OS.

Rather I try to make it portable in general, using Solaris (and other
platforms) to identify portability-related issues, then identifying the
feature that caused the problem, then fixing to accomodate that feature.
Then _all_ platforms/environments (not just Solaris) which share that
feature reap the benefit.

So if you have a "sunfreeware" environment, I would be delighted if you
could test the building of heartbeat on that.  The more, the merrier...



In this particular 'swig' case, we have a bug.  'configure' accepts the
absence of swig, but 'make' then fails because of that absence.  If 'swig'
is optional, then that 'make' failure is a bug.  But if 'swig' is now
compulsory, 'configure's acceptance of its absence is a bug.

Hope that provides some background!


-- 

:  David Lee                                I.T. Service          :
:  Senior Systems Programmer                Computer Centre       :
:                                           Durham University     :
:  http://www.dur.ac.uk/t.d.lee/            South Road            :
:                                           Durham DH1 3LE        :
:  Phone: +44 191 334 2752                  U.K.                  :


More information about the Linux-HA-Dev mailing list