Page 1 of 1

Re: [Nagios-devel]

Posted: Fri May 18, 2007 4:51 am
by Guest

Hi Hendrik,
thanks for your reply and suggestion!

Am 18.05.2007 um 10:53 schrieb Hendrik Baecker:

> as J=F6rg wrote in the other post, this is just a behavior when using =20=

> ePN.
>[...]
> Since the variable on line 688 "checkresult_file" is only used once in
> checks.c and there only for a call to free() I think this is a line of
> garbage forgotten after dealing with the new IPC methods.
>
> So I would say: Just comment this line out with two slashes at the
> beginning and try to compile.

Ok, I tried it and the situation has changed, but still some error =20
with ePN:

$ ./configure --with-command-group=3Dnagcmd --enable-embedded-perl --=20
with-perlcache
[...]
*** Configuration summary for nagios 3.0a4 05-08-2007 ***:

General Options:
-------------------------
Nagios executable: nagios
Nagios user/group: nagios,nagios
Command user/group: nagios,nagcmd
Embedded Perl: yes, with caching
Event Broker: yes
Install ${prefix}: /usr/local/nagios
Lock file: ${prefix}/var/nagios.lock
Check result directory: ${prefix}/var/spool/checkresults
Init directory: /etc/init.d
Apache conf.d directory: /etc/apache2/conf.d
Mail program: /usr/bin/mail
Host OS: linux-gnu


$ make all
cd ./base && make
make[1]: Entering directory `/home/ingo/tmp/nagios-3.0a4/base'
gcc -g -O2 -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -=20
fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -=20
D_FILE_OFFSET_BITS=3D64 -I/usr/lib/perl/5.8/CORE -DHAVE_CONFIG_H -=20
DNSCORE -c -o checks.o checks.c
gcc -g -O2 -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -=20
fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -=20
D_FILE_OFFSET_BITS=3D64 -I/usr/lib/perl/5.8/CORE -DHAVE_CONFIG_H -=20
DNSCORE -c -o perlxsi.o perlxsi.c
gcc -g -O2 -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -=20
fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -=20
D_FILE_OFFSET_BITS=3D64 -I/usr/lib/perl/5.8/CORE -DHAVE_CONFIG_H -=20
DNSCORE -o nagios nagios.c broker.o nebmods.o checks.o config.o =20
commands.o events.o flapping.o logging.o notifications.o sehandlers.o =20=

utils.o retention-base.o xretention-base.o comments-base.o xcomments-=20
base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-=20
base.o perfdata-base.o xperfdata-base.o downtime-base.o xdowntime-=20
base.o perlxsi.o -Wl,-export-dynamic -Wl,-E -L/usr/local/lib /=20
usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.8/=20
CORE -lperl -ldl -lm -lpthread -lc -lcrypt -lm -lpthread -ldl
/usr/bin/ld: cannot find -lperl
collect2: ld returned 1 exit status
make[1]: *** [nagios] Error 1
make[1]: Leaving directory `/home/ingo/tmp/nagios-3.0a4/base'
make: *** [all] Error 2

Seems as if something else is not as it should be ...

--=20
Ingo Lantschner
Vienna/Austria
Mob (+43-664) 143 84 18







This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]