+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PHP_VERSION_REQD=74 WRKLOG=/tmp/bulklog/nagios-base-4.3.2nb12/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PHP_VERSION_REQD=74 WRKLOG=/tmp/bulklog/nagios-base-4.3.2nb12/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for nagios-4.3.2.tar.gz => Checksum SHA512 OK for nagios-4.3.2.tar.gz => Checksum BLAKE2s OK for nagios-netbsd40-icons.tar.gz => Checksum SHA512 OK for nagios-netbsd40-icons.tar.gz ===> Installing dependencies for nagios-base-4.3.2nb12 ========================================================================== The supported build options for nagios-base are: mysql pgsql You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.nagios-base (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, nagios-base-4.3.2nb12. Their current value is shown below: * JPEG_DEFAULT = jpeg * NAGIOSCMD_GROUP = www * NAGIOSDIR = /var/opt/pkg/spool/nagios * NAGIOS_GROUP = nagios * NAGIOS_USER = nagios * VARBASE = /var/opt/pkg Based on these variables, the following variables have been set: * JPEGBASE (defined, but empty) * JPEG_TYPE = jpeg You may want to abort the process now with CTRL-C and change the value of variables in the first group before continuing. Be sure to run `/opt/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency gmake>=3.81: found gmake-4.3nb4 => Tool dependency perl>=5.36.0: found perl-5.36.0 => Tool dependency unzip-[0-9]*: found unzip-6.0nb9 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency libltdl>=2.4.2: found libltdl-2.4.6 => Full dependency gd>=2.3.3nb2: found gd-2.3.3nb3 => Full dependency php>=7.4.29nb1<7.5: found php-7.4.30 => Full dependency perl>=5.36.0<5.38.0: found perl-5.36.0 ===> Overriding tools for nagios-base-4.3.2nb12 ===> Extracting for nagios-base-4.3.2nb12 ===> Patching for nagios-base-4.3.2nb12 => Applying pkgsrc patches for nagios-base-4.3.2nb12 => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-Makefile.in => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-Makefile.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Makefile.in,v 1.3 2017/05/24 07:42:39 manu Exp $ | |Adjustments to build procedure. | |--- Makefile.in.orig 2017-05-09 19:03:31.000000000 +0200 |+++ Makefile.in 2017-05-22 04:04:17.000000000 +0200 -------------------------- Patching file Makefile.in using Plan A... Hunk #1 succeeded at 24. Hunk #2 succeeded at 36. Hunk #3 succeeded at 71. Hunk #4 succeeded at 176. Hunk #5 succeeded at 196. Hunk #6 succeeded at 230. Hunk #7 succeeded at 274. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-base_Makefile.in => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-base_Makefile.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-base_Makefile.in,v 1.2 2015/04/03 17:06:08 rodent Exp $ | |Adjustments to build procedure. | |--- base/Makefile.in.orig 2014-08-12 15:00:01.000000000 +0000 |+++ base/Makefile.in -------------------------- Patching file base/Makefile.in using Plan A... Hunk #1 succeeded at 36. Hunk #2 succeeded at 180. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-base_checks.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-base_checks.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-base_checks.c,v 1.2 2016/02/09 10:12:53 bouyer Exp $ | |64bit time_t workaround | |--- base/checks.c.orig 2016-02-07 21:52:43.000000000 +0100 |+++ base/checks.c 2016-02-07 21:54:09.000000000 +0100 -------------------------- Patching file base/checks.c using Plan A... Hunk #1 succeeded at 1380 (offset 60 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-base_events.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-base_events.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-base_events.c,v 1.2 2016/02/09 10:12:53 bouyer Exp $ | |64bit time_t workaround | |--- base/events.c.orig 2016-02-07 21:54:30.000000000 +0100 |+++ base/events.c 2016-02-07 21:55:49.000000000 +0100 -------------------------- Patching file base/events.c using Plan A... Hunk #1 succeeded at 354. Hunk #2 succeeded at 507. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-base_logging.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-base_logging.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD$ | |64bit time_t workaround | |--- base/logging.c.orig 2017-05-09 19:03:31.000000000 +0200 |+++ base/logging.c 2017-05-21 21:06:50.000000000 +0200 -------------------------- Patching file base/logging.c using Plan A... Hunk #1 succeeded at 532. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-base_nerd.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-base_nerd.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-base_nerd.c,v 1.2 2016/02/09 10:12:53 bouyer Exp $ | |64bit time_t workaround | |--- base/nerd.c.orig 2016-02-07 21:13:59.000000000 +0100 |+++ base/nerd.c 2016-02-07 21:14:15.000000000 +0100 -------------------------- Patching file base/nerd.c using Plan A... Hunk #1 succeeded at 337. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-base_utils.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-base_utils.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-base_utils.c,v 1.1 2017/08/20 06:59:16 manu Exp $ | |From upstream https://github.com/NagiosEnterprises/nagioscore/pull/417 | |Once nagios is done with a file in the checkresults directory, |it deletes it. This was done with a relative file path, causing |failures if nagios working directory is not the checkresults |directory. As a consequence, old result file remained intact, |causing system slowdowns as the directory grew and nagios spent |more and more time attempting to clean it up. | |The fix is just to use an absolute path, so that it works |regardeless of current directory setting. | |From 42f115ad87cf9113252f1d2ab88fc822ce052f56 Mon Sep 17 00:00:00 2001 |From: Bryan Heden |Date: Sat, 19 Aug 2017 12:02:34 -0500 |Subject: [PATCH] use absolute paths when deleting in checkresults directory. | github pull #417 | |--- | base/utils.c | 13 +++++++++---- | 1 file changed, 9 insertions(+), 4 deletions(-) | |diff --git base/utils.c base/utils.c |index f2286c73..8116ebf9 100644 |--- base/utils.c |+++ base/utils.c -------------------------- Patching file base/utils.c using Plan A... Hunk #1 succeeded at 2131 (offset -2 lines). Hunk #2 succeeded at 2365 (offset -2 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-cgi_Makefile.in => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-cgi_Makefile.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-cgi_Makefile.in,v 1.2 2015/04/03 17:06:08 rodent Exp $ | |Adjustments to build procedure. | |--- cgi/Makefile.in.orig 2014-08-12 15:00:01.000000000 +0000 |+++ cgi/Makefile.in -------------------------- Patching file cgi/Makefile.in using Plan A... Hunk #1 succeeded at 15. Hunk #2 succeeded at 201. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-cgi_avail.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-cgi_avail.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-cgi_avail.c,v 1.5 2017/05/24 07:42:39 manu Exp $ | |64bit time_t workaround | |--- cgi/avail.c.orig 2017-05-09 19:03:31.000000000 +0200 |+++ cgi/avail.c 2017-05-22 06:11:42.000000000 +0200 -------------------------- Patching file cgi/avail.c using Plan A... Hunk #1 succeeded at 366. Hunk #2 succeeded at 382. Hunk #3 succeeded at 3959. Hunk #4 succeeded at 4447. Hunk #5 succeeded at 4692. Hunk #6 succeeded at 4716. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-cgi_cmd.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-cgi_cmd.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-cgi_cmd.c,v 1.6 2017/05/24 07:42:39 manu Exp $ | |Fix build in SunOS. |64bit time_t workaround. | |--- cgi/cmd.c.orig 2014-08-12 17:00:01.000000000 +0200 |+++ cgi/cmd.c 2016-02-07 22:41:29.000000000 +0100 -------------------------- Patching file cgi/cmd.c using Plan A... Hunk #1 succeeded at 1955 (offset 49 lines). Hunk #2 succeeded at 2034 (offset 2 lines). Hunk #3 succeeded at 2114 (offset 49 lines). Hunk #4 succeeded at 2108 (offset 2 lines). Hunk #5 succeeded at 2174 (offset 49 lines). Hunk #6 succeeded at 2165 (offset 2 lines). Hunk #7 succeeded at 2248 (offset 49 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-cgi_getcgi.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-cgi_getcgi.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-cgi_getcgi.c,v 1.2 2015/04/03 17:06:08 rodent Exp $ | |Also include limits.h. | |--- cgi/getcgi.c.orig 2014-08-12 15:00:01.000000000 +0000 |+++ cgi/getcgi.c -------------------------- Patching file cgi/getcgi.c using Plan A... Hunk #1 succeeded at 9. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-cgi_histogram.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-cgi_histogram.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-cgi_histogram.c,v 1.4 2016/02/09 10:12:53 bouyer Exp $ | |64bit time_t workaround | |--- cgi/histogram.c.orig 2016-02-07 22:21:30.000000000 +0100 |+++ cgi/histogram.c 2016-02-07 22:22:24.000000000 +0100 -------------------------- Patching file cgi/histogram.c using Plan A... Hunk #1 succeeded at 338. Hunk #2 succeeded at 349. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-cgi_trends.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-cgi_trends.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-cgi_trends.c,v 1.5 2017/05/24 07:42:39 manu Exp $ | |64bit time_t workaround | |--- cgi/trends.c.orig 2017-05-09 19:03:31.000000000 +0200 |+++ cgi/trends.c 2017-05-22 09:15:29.000000000 +0200 -------------------------- Patching file cgi/trends.c using Plan A... Hunk #1 succeeded at 447. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-common_Makefile.in => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-common_Makefile.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-common_Makefile.in,v 1.2 2015/04/03 17:06:08 rodent Exp $ | |Adjustments to build procedure. | |--- common/Makefile.in.orig 2014-08-12 15:00:01.000000000 +0000 |+++ common/Makefile.in -------------------------- Patching file common/Makefile.in using Plan A... Hunk #1 succeeded at 16. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-common_downtime.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-common_downtime.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-common_downtime.c,v 1.2 2016/02/09 10:12:53 bouyer Exp $ | |64bit time_t workaround | |--- common/downtime.c.orig 2016-02-07 22:06:39.000000000 +0100 |+++ common/downtime.c 2016-02-07 22:07:03.000000000 +0100 -------------------------- Patching file common/downtime.c using Plan A... Hunk #1 succeeded at 240. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-configure => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configure,v 1.2 2015/04/03 17:06:08 rodent Exp $ | |Adjustments to build procedure. | |--- configure.orig 2014-08-12 15:00:01.000000000 +0000 |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 4900 (offset -1229 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-daemon-init.in => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-daemon-init.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-daemon-init.in,v 1.1 2015/04/03 17:06:08 rodent Exp $ | |Fix portability failure. | |--- daemon-init.in.orig 2014-08-12 15:00:01.000000000 +0000 |+++ daemon-init.in -------------------------- Patching file daemon-init.in using Plan A... Hunk #1 succeeded at 75 (offset 2 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-html_Makefile.in => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-html_Makefile.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-html_Makefile.in,v 1.5 2017/05/24 07:42:39 manu Exp $ | |Adjustments to build procedure. | |--- html/Makefile.in.orig 2017-05-09 19:03:31.000000000 +0200 |+++ html/Makefile.in 2017-05-22 09:20:24.000000000 +0200 -------------------------- Patching file html/Makefile.in using Plan A... Hunk #1 succeeded at 6. Hunk #2 succeeded at 43. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-include_locations.h.in => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-include_locations.h.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-include_locations.h.in,v 1.2 2015/04/03 17:06:08 rodent Exp $ | |Adjustments to build procedure. | |--- include/locations.h.in.orig 2014-08-12 15:00:01.000000000 +0000 |+++ include/locations.h.in -------------------------- Patching file include/locations.h.in using Plan A... Hunk #1 succeeded at 19. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-lib_runcmd.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-lib_runcmd.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_runcmd.c,v 1.1 2015/04/03 17:06:08 rodent Exp $ | |Include config.h generated during configure. |setenv(3) was tested there. No need to check for it here. |Can't assign a value to a constant. Ensure we don't do that. | |--- lib/runcmd.c.orig 2014-08-12 15:00:01.000000000 +0000 |+++ lib/runcmd.c -------------------------- Patching file lib/runcmd.c using Plan A... Hunk #1 succeeded at 15. Hunk #2 succeeded at 36. Hunk #3 succeeded at 300. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-lib_test-squeue.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-lib_test-squeue.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_test-squeue.c,v 1.2 2016/02/09 10:12:53 bouyer Exp $ | |64bit time_t workaround | |--- lib/test-squeue.c.orig 2016-02-07 21:16:30.000000000 +0100 |+++ lib/test-squeue.c 2016-02-07 21:17:02.000000000 +0100 -------------------------- Patching file lib/test-squeue.c using Plan A... Hunk #1 succeeded at 50. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-lib_worker.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-lib_worker.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_worker.c,v 1.3 2017/05/24 07:42:39 manu Exp $ | |64bit time_t workaround | |--- lib/worker.c.orig 2017-05-22 09:36:34.000000000 +0200 |+++ lib/worker.c 2017-05-22 09:35:40.000000000 +0200 -------------------------- Patching file lib/worker.c using Plan A... Hunk #1 succeeded at 303. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-sample-config_nagios.cfg.in => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/nagios-base/patches/patch-sample-config_nagios.cfg.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-sample-config_nagios.cfg.in,v 1.2 2015/04/03 17:06:08 rodent Exp $ | |Fix placement of temporary file. | |--- sample-config/nagios.cfg.in.orig 2014-08-12 15:00:01.000000000 +0000 |+++ sample-config/nagios.cfg.in -------------------------- Patching file sample-config/nagios.cfg.in using Plan A... Hunk #1 succeeded at 176. done ===> Creating toolchain wrappers for nagios-base-4.3.2nb12 ===> Configuring for nagios-base-4.3.2nb12 => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version => Checking for portability problems in extracted files configure: WARNING: unrecognized options: --enable-embedded-perl, --with-perlcache, --with-libiconv-prefix checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk checking build system type... x86_64-sun-solaris2.11 checking host system type... x86_64-sun-solaris2.11 checking for x86_64-sun-solaris2.11-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether make sets $(MAKE)... yes checking whether ln -s works... yes checking for strip... /home/pbulk/build/net/nagios-base/work/.tools/bin/strip checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... (cached) /usr/xpg4/bin/grep checking for egrep... (cached) /usr/xpg4/bin/grep -E checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking socket.h usability... no checking socket.h presence... no checking for socket.h... no checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/loadavg.h usability... yes checking sys/loadavg.h presence... yes checking for sys/loadavg.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for sys/types.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking for sys/wait.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/msg.h usability... yes checking sys/msg.h presence... yes checking for sys/msg.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking uio.h usability... no checking uio.h presence... no checking for uio.h... no checking for unistd.h... (cached) yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking sys/prctl.h usability... no checking sys/prctl.h presence... no checking for sys/prctl.h... no checking for an ANSI C-conforming const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... no checking whether tzname is declared... yes checking for tzname... yes checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for va_copy... yes checking for vsnprintf... yes checking for snprintf... yes checking for asprintf... yes checking for vasprintf... yes checking for sigaction... yes checking for C99 vsnprintf... yes checking for library containing getservbyname... no checking for library containing connect... -lsocket checking for initgroups... yes checking for setenv... yes checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking for unsetenv... yes checking for type of socket size... size_t checking for library containing nanosleep... none required checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes ./configure: line 5044: test: too many arguments checking for main in -liconv... yes checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... no checking for gdImagePng in -lgd (order 3)... no checking for gdImagePng in -lgd (order 4)... no *** GD, PNG, and/or JPEG libraries could not be located... ********* Boutell's GD library is required to compile the statusmap, trends and histogram CGIs. Get it from http://www.boutell.com/gd/, compile it, and use the --with-gd-lib and --with-gd-inc arguments to specify the locations of the GD library and include files. NOTE: In addition to the gd-devel library, you'll also need to make sure you have the png-devel and jpeg-devel libraries installed on your system. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the GD, PNG, and JPEG libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make clean' in the Nagios distribution to clean out any old references to your previous compile. 4. Rerun the configure script. NOTE: If you can't get the configure script to recognize the GD libs on your system, get over it and move on to other things. The CGIs that use the GD libs are just a small part of the entire Nagios package. Get everything else working first and then revisit the problem. Make sure to check the nagios-users mailing list archives for possible solutions to GD library problems when you resume your troubleshooting. ******************************************************************** checking ltdl.h usability... yes checking ltdl.h presence... yes checking for ltdl.h... yes checking for lt_dlinit in -lltdl... yes checking for extra flags needed to export symbols... -Wl,-export-dynamic checking for linker flags for loadable modules... -G checking for traceroute... /usr/sbin/traceroute checking for type va_list... yes checking for perl... /opt/pkg/bin/perl checking for unzip... /home/pbulk/build/net/nagios-base/work/.tools/bin/unzip configure: creating ./config.status config.status: creating html/index.php config.status: creating Makefile config.status: creating lib/Makefile config.status: creating subst config.status: creating pkginfo config.status: creating base/Makefile config.status: creating common/Makefile config.status: creating contrib/Makefile config.status: creating cgi/Makefile config.status: creating html/Makefile config.status: creating module/Makefile config.status: creating worker/Makefile config.status: creating worker/ping/Makefile config.status: creating xdata/Makefile config.status: creating daemon-init config.status: creating t/Makefile config.status: creating t-tap/Makefile config.status: creating include/config.h config.status: creating lib/snprintf.h config.status: creating lib/iobroker.h configure: WARNING: unrecognized options: --enable-embedded-perl, --with-perlcache, --with-libiconv-prefix Creating sample config files in sample-config/ ... *** Configuration summary for nagios 4.3.2 2017-05-09 ***: General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: nagios,www Event Broker: yes Install ${prefix}: /opt/pkg Install ${includedir}: /opt/pkg/include/nagios Lock file: /var/run/nagios/nagios.lock Check result directory: /var/opt/pkg/spool/nagios/checkresults Init directory: /opt/pkg/share/examples/rc.d Apache conf.d directory: /etc/httpd/conf.d Mail program: /usr/bin/mailx Host OS: solaris2.11 IOBroker Method: poll Web Interface Options: ------------------------ HTML URL: http://localhost/nagios/ CGI URL: http://localhost/nagios/cgi-bin/ Traceroute (used by WAP): /usr/sbin/traceroute Review the options above for accuracy. If they look okay, type 'make all' to compile the main program and CGIs.