Re: [Nagios-devel] Re: SEGV in 2.0b1 (tarball from Nagios.ORG) - at exit(result): FreeBSD 4.9-RELEASE/pthread lib.
Posted: Tue Jan 04, 2005 8:17 pm
This is a multi-part message in MIME format...
------------=_1104898614-58007-202
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Dear Sir,
I am writing to thank you for your letter and say,
On Tue, Jan 04, 2005 at 09:22:42PM -0600, Ethan Galstad wrote:
> Hi Stanley -
>
> I've modified the configure script to add the -DWITH_THREADS flags to
> the compiler options. If you find this is better left out, let me
> know. Should be in CVS soon. Thanks!
What I intended was that Nagios 2.0, a threaded app, needs a threaded
Perl.
At this stage, apart from having Nag 2.0b1 (tar ball) pass the
pre-flight with a threaded Perl (5.8.5), I don't know whether it
actually works - until tonight (about 3 hours away) when I replace 1.2
with the 2.0b1.
I think configure needs to be changed to barf if it detects a non
threaded Perl with the configure options --enable-embedded-perl (or
--with-perlcache).
( -DWITH_THREADS is an option for the FreeBSD perl port [make
-DWITH_THREADS in the Perl port directory]; the FreeBSD port is built
sans threads by default.
WITH_THREADS is not used by any of the embedded Perl support in Nagios
2.0 or 1.x AFAIK).
Sorry for the noise.
>
> On 30 Dec 2004 at 10:53, Stanley Hopcroft wrote:
>
> > Dear Folks,
> >
> > Rebuilding Nagios with a threaded Perl (eg make -DWITH_THREADS on the
> > FreeBSD Perl 5.8 port) allows the pre-flight check to proceed without
> > the SEGV (when Nag is configured with --enable-embedded-perl
> > --with-perlcache on FreeBSD 4.x) when exit() is called.
> >
> > At this stage, I don't know if 2.0b1 actually works on FreeBSD 4.x
> > (native pthread library with threaded Perl), however its comforting to
> > see that all the Perl thread tests pass Ok.
> >
--
Stanley Hopcroft
IP Australia
Ph: (02) 6283 3189 Fax: (02) 6281 1353
PO Box 200 Woden ACT 2606
http://www.ipaustralia.gov.au
------------=_1104898614-58007-202
Content-Type: text/plain; name="disclaimer.txt"
Content-Disposition: inline; filename="disclaimer.txt"
Content-Transfer-Encoding: 7bit
MIME-Version: 1.0
X-Mailer: MIME-tools 5.415 (Entity 5.415)
--
This message contains privileged and confidential information only
for use by the intended recipient. If you are not the intended
recipient of this message, you must not disseminate, copy or use
it in any manner. If you have received this message in error,
please advise the sender by reply e-mail. Please ensure all
e-mail attachments are scanned for viruses prior to opening or
using.
------------=_1104898614-58007-202--
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
------------=_1104898614-58007-202
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Dear Sir,
I am writing to thank you for your letter and say,
On Tue, Jan 04, 2005 at 09:22:42PM -0600, Ethan Galstad wrote:
> Hi Stanley -
>
> I've modified the configure script to add the -DWITH_THREADS flags to
> the compiler options. If you find this is better left out, let me
> know. Should be in CVS soon. Thanks!
What I intended was that Nagios 2.0, a threaded app, needs a threaded
Perl.
At this stage, apart from having Nag 2.0b1 (tar ball) pass the
pre-flight with a threaded Perl (5.8.5), I don't know whether it
actually works - until tonight (about 3 hours away) when I replace 1.2
with the 2.0b1.
I think configure needs to be changed to barf if it detects a non
threaded Perl with the configure options --enable-embedded-perl (or
--with-perlcache).
( -DWITH_THREADS is an option for the FreeBSD perl port [make
-DWITH_THREADS in the Perl port directory]; the FreeBSD port is built
sans threads by default.
WITH_THREADS is not used by any of the embedded Perl support in Nagios
2.0 or 1.x AFAIK).
Sorry for the noise.
>
> On 30 Dec 2004 at 10:53, Stanley Hopcroft wrote:
>
> > Dear Folks,
> >
> > Rebuilding Nagios with a threaded Perl (eg make -DWITH_THREADS on the
> > FreeBSD Perl 5.8 port) allows the pre-flight check to proceed without
> > the SEGV (when Nag is configured with --enable-embedded-perl
> > --with-perlcache on FreeBSD 4.x) when exit() is called.
> >
> > At this stage, I don't know if 2.0b1 actually works on FreeBSD 4.x
> > (native pthread library with threaded Perl), however its comforting to
> > see that all the Perl thread tests pass Ok.
> >
--
Stanley Hopcroft
IP Australia
Ph: (02) 6283 3189 Fax: (02) 6281 1353
PO Box 200 Woden ACT 2606
http://www.ipaustralia.gov.au
------------=_1104898614-58007-202
Content-Type: text/plain; name="disclaimer.txt"
Content-Disposition: inline; filename="disclaimer.txt"
Content-Transfer-Encoding: 7bit
MIME-Version: 1.0
X-Mailer: MIME-tools 5.415 (Entity 5.415)
--
This message contains privileged and confidential information only
for use by the intended recipient. If you are not the intended
recipient of this message, you must not disseminate, copy or use
it in any manner. If you have received this message in error,
please advise the sender by reply e-mail. Please ensure all
e-mail attachments are scanned for viruses prior to opening or
using.
------------=_1104898614-58007-202--
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]