Nagios 3.0 with embedded perl

Hi!

I’m (at last) trying to install nagios WITH embedded perl.
I’ve tried with nagios2-10 andit was compiling, although I’ve never managed to make it work :slight_smile:

anyway, this time, I’m trying to install it with nagios 3.0.3, but I’m already stuck by this compilation error:

nagios2@nr0u0617:/appli/nagios2/src/nagios> make all cd ./base && make gcc -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE -DHAVE_CONFIG_H -DNSCORE -c ../common/snprintf.c gcc: language arch=v8 not recognized gcc: ../common/snprintf.c: linker input file unused because linking not done gcc -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE -DHAVE_CONFIG_H -DNSCORE -c perlxsi.c gcc: language arch=v8 not recognized gcc: perlxsi.c: linker input file unused because linking not done gcc -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o nebmods.o checks.o config.o commands.o events.o flapping.o logging.o notifications.o sehandlers.o utils.o retention-base.o xretention-base.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o xdowntime-base.o ../common/snprintf.o perlxsi.o -R /usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE /usr/perl5/5.8.4/lib/sun4-solaris-64int/auto/DynaLoader/DynaLoader.a -L/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE -lperl -lsocket -lnsl -ldl -lm -lc -lm -lpthread -ldl -lrt gcc: ../common/snprintf.o: No such file or directory gcc: perlxsi.o: No such file or directory gcc: language arch=v8 not recognized gcc: language arch=v8 not recognized gcc: language arch=v8 not recognized gcc: language arch=v8 not recognized gcc: language arch=v8 not recognized gcc: language arch=v8 not recognized gcc: language arch=v8 not recognized gcc: language arch=v8 not recognized gcc: language arch=v8 not recognized gcc: language arch=v8 not recognized gcc: language arch=v8 not recognized gcc: language arch=v8 not recognized gcc: language arch=v8 not recognized gcc: language arch=v8 not recognized gcc: language arch=v8 not recognized gcc: language arch=v8 not recognized gcc: language arch=v8 not recognized gcc: language arch=v8 not recognized gcc: language arch=v8 not recognized gcc: language arch=v8 not recognized gcc: language arch=v8 not recognized gcc: language arch=v8 not recognized gcc: language arch=v8 not recognized gcc: language arch=v8 not recognized gcc: language arch=v8 not recognized *** Error code 1 make: Fatal error: Command failed for target `nagios' Current working directory /appli/nagios2/src/nagios-2.10/base *** Error code 1 make: Fatal error: Command failed for target `all'
anybody has encountered this error ?
i’m on solaris 10 => “SunOS nr0u0617 5.10 Generic_118833-36 sun4v sparc SUNW,Sun-Fire-T200”

thanks for your help

ok, I did post a bit too quickly, as a “solution” is given here:
forums.mysql.com/read.php?51,776 … msg-183553 (yep, that’s for mysql, but it seems to work … I mean, the compilation goes a bit further before doing another error :))

I’ll just keep on searching before posting ;))