David Lee wrote:
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".)
and many thanks for doing so.
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.
Indeed, which is why I didn't think that this would be a direction you
would wish to follow :-). Similarly I agree with your approach (as
mentioned) and configure should fail if a dependency is non-optional.
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...
I have a Solaris 10 box (Intel) with some sunfreeware packages on it. I
can add to this and have a play if this is likely to prove useful to others.
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.
Agreed, as above.
Hope that provides some background!
It does.
Pete
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/