__Unofficial__ patch for embedded Perl Interpeter support in Nagios 1.1 (fixes SEGV on start-up with threaded typically Linux Perls).
Stanley Hopcroft
Stanley.Hopcroft at IPAustralia.Gov.AU
Tue Jun 24 12:46:42 CEST 2003
Dear Sir,
I am writing to apologise for the attribution - Mr Farrelly's name was
quoted in private correspondence [not from Suse] - and thank you for
your correcting my mistakes.
However, it _seems_ to me that the patch you quote will not compile on
_unthreaded_ Perls (there will be complaints about the protos for
xsinit(void)), and since there are still systems that don't ship with
good threads (and therefore Perl is built without thread support on *BSD
systems), compatability with my own and other such systems was a
requirement. I will check this and apologise if necessary.
In any case, this work needs to be revisited to cut out the Perl protos
from nagios.c and put them in their own header, together with the xsinit
function (that can be generated by ExtUtils::Embed -e xsinit) and so
eliminate this problem (the problem of the change in Perl protos being
out of the scope of Perl specific headers and executables).
This has been done for mini_epn.c, it will be done for Nagios also.
Please don't mistake this for an ungracious reply. The patches submitted
originated from Suse full stop. They wouldn't have existed without Suse.
I am very grateful for your company
. fixing the problem
. sharing the result
. and educating me somewhat about Perl guts.
Yours sincerely.
--
------------------------------------------------------------------------
Stanley Hopcroft
------------------------------------------------------------------------
'...No man is an island, entire of itself; every man is a piece of the
continent, a part of the main. If a clod be washed away by the sea,
Europe is the less, as well as if a promontory were, as well as if a
manor of thy friend's or of thine own were. Any man's death diminishes
me, because I am involved in mankind; and therefore never send to know
for whom the bell tolls; it tolls for thee...'
from Meditation 17, J Donne.
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list