cd ./base && /Applications/Xcode.app/Contents/Developer/usr/bin/make /Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../lib gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -c squeue.c -o squeue.o gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -c kvvec.c -o kvvec.o kvvec.c:97:15: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] kv->value = '\0'; ^~~~ 1 warning generated. gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -c iocache.c -o iocache.o gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -c iobroker.c -o iobroker.o gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -c bitmap.c -o bitmap.o gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -c dkhash.c -o dkhash.o gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -c runcmd.c -o runcmd.o runcmd.c:347:7: warning: nonnull parameter 'cmd' will evaluate to 'true' on first encounter [-Wpointer-bool-conversion] if (!cmd || !*cmd || !pfd || !pfderr) ~^~~ ./runcmd.h:79:17: note: declared 'nonnull' here __attribute__((__nonnull__(1, 2, 3, 5, 6))); ^ runcmd.c:347:24: warning: nonnull parameter 'pfd' will evaluate to 'true' on first encounter [-Wpointer-bool-conversion] if (!cmd || !*cmd || !pfd || !pfderr) ~^~~ ./runcmd.h:79:17: note: declared 'nonnull' here __attribute__((__nonnull__(1, 2, 3, 5, 6))); ^ runcmd.c:347:32: warning: nonnull parameter 'pfderr' will evaluate to 'true' on first encounter [-Wpointer-bool-conversion] if (!cmd || !*cmd || !pfd || !pfderr) ~^~~~~~ ./runcmd.h:79:17: note: declared 'nonnull' here __attribute__((__nonnull__(1, 2, 3, 5, 6))); ^ runcmd.c:389:6: warning: nonnull parameter 'iobreg' will evaluate to 'true' on first encounter [-Wpointer-bool-conversion] if (iobreg) iobreg(pfd[0], pfderr[0], iobregarg); ~~ ^~~~~~ ./runcmd.h:79:17: note: declared 'nonnull' here __attribute__((__nonnull__(1, 2, 3, 5, 6))); ^ 4 warnings generated. gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -c nsutils.c -o nsutils.o gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -c fanout.c -o fanout.o gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -c pqueue.c -o pqueue.o gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -c worker.c -o worker.o worker.c:307:31: warning: format specifies type 'long' but the argument has type '__darwin_suseconds_t' (aka 'int') [-Wformat] kvvec_add_tv(&resp, "start", cp->ei->start); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ worker.c:212:54: note: expanded from macro 'kvvec_add_tv' ...const char *buf = mkstr("%ld.%06ld", value.tv_sec, value.tv_usec); \ ~~~~~ ^~~~~~~~~~~~~ worker.c:308:30: warning: format specifies type 'long' but the argument has type '__darwin_suseconds_t' (aka 'int') [-Wformat] kvvec_add_tv(&resp, "stop", cp->ei->stop); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ worker.c:212:54: note: expanded from macro 'kvvec_add_tv' ...const char *buf = mkstr("%ld.%06ld", value.tv_sec, value.tv_usec); \ ~~~~~ ^~~~~~~~~~~~~ worker.c:313:35: warning: format specifies type 'long' but the argument has type '__darwin_suseconds_t' (aka 'int') [-Wformat] kvvec_add_tv(&resp, "ru_utime", ru->ru_utime); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ worker.c:212:54: note: expanded from macro 'kvvec_add_tv' ...const char *buf = mkstr("%ld.%06ld", value.tv_sec, value.tv_usec); \ ~~~~~ ^~~~~~~~~~~~~ worker.c:314:35: warning: format specifies type 'long' but the argument has type '__darwin_suseconds_t' (aka 'int') [-Wformat] kvvec_add_tv(&resp, "ru_stime", ru->ru_stime); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ worker.c:212:54: note: expanded from macro 'kvvec_add_tv' ...const char *buf = mkstr("%ld.%06ld", value.tv_sec, value.tv_usec); \ ~~~~~ ^~~~~~~~~~~~~ 4 warnings generated. gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -c skiplist.c -o skiplist.o gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -c nsock.c -o nsock.o gcc -Wall -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -c nspath.c -o nspath.o ar cr libnagios.a squeue.o kvvec.o iocache.o iobroker.o bitmap.o dkhash.o runcmd.o nsutils.o fanout.o pqueue.o worker.o skiplist.o nsock.o nspath.o gcc -Wall -I.. -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.o broker.o nebmods.o ../common/shared.o nerd.o query-handler.o workers.o checks.o config.o commands.o events.o flapping.o logging.o macros-base.o netutils.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 -L/opt/local/lib -lm -ldl ../lib/libnagios.a gcc -Wall -I.. -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCORE -o nagiostats nagiostats.c -L/opt/local/lib -lm ../lib/libnagios.a cd ./cgi && /Applications/Xcode.app/Contents/Developer/usr/bin/make gcc -Wall -I.. -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -DJSON_NAGIOS_4X -L/opt/local/lib -o archivejson.cgi archivejson.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a archiveutils.o jsonutils.o gcc -Wall -I.. -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -L/opt/local/lib -o avail.cgi avail.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a gcc -Wall -I.. -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -L/opt/local/lib -o cmd.cgi cmd.c extcmd_list.o ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a gcc -Wall -I.. -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -L/opt/local/lib -o config.cgi config.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a gcc -Wall -I.. -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -L/opt/local/lib -o extinfo.cgi extinfo.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a gcc -Wall -I.. -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -L/opt/local/lib -o history.cgi history.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a gcc -Wall -I.. -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -L/opt/local/lib -o notifications.cgi notifications.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a gcc -Wall -I.. -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -DJSON_NAGIOS_4X -L/opt/local/lib -o objectjson.cgi objectjson.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a jsonutils.o gcc -Wall -I.. -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -L/opt/local/lib -o outages.cgi outages.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a gcc -Wall -I.. -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -L/opt/local/lib -o showlog.cgi showlog.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a gcc -Wall -I.. -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -L/opt/local/lib -o status.cgi status.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a gcc -Wall -I.. -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -DJSON_NAGIOS_4X -L/opt/local/lib -o statusjson.cgi statusjson.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a jsonutils.o gcc -Wall -I.. -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -L/opt/local/lib -o statuswml.cgi statuswml.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a gcc -Wall -I.. -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -L/opt/local/lib -o summary.cgi summary.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a gcc -Wall -I.. -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -L/opt/local/lib -o tac.cgi tac.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a gcc -Wall -I.. -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -L/opt/local/lib -o statuswrl.cgi statuswrl.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a -lm gcc -Wall -I.. -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -L/opt/local/lib -o statusmap.cgi statusmap.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a -lgd -liconv -lpng -ljpeg -lz -lm gcc -Wall -I.. -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -L/opt/local/lib -o trends.cgi trends.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a -lgd -liconv -lpng -ljpeg -lz -lm gcc -Wall -I.. -g -O2 -I/opt/local/include -DHAVE_CONFIG_H -DNSCGI -L/opt/local/lib -o histogram.cgi histogram.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a -lgd -liconv -lpng -ljpeg -lz -lm cd ./html && /Applications/Xcode.app/Contents/Developer/usr/bin/make (cd angularjs && unzip -u angular-1.3.9.zip) Archive: angular-1.3.9.zip (cd angularjs && unzip -u ui-utils-0.2.1.zip) Archive: ui-utils-0.2.1.zip 8df0fcf665a8f14949e189c8d6e2e0204a858b06 if [ ! -d bootstrap-3.3.0 ] ; then mkdir -p bootstrap-3.3.0 && ( cd bootstrap-3.3.0 && unzip -u ../bootstrap-3.3.0-dist.zip && mv dist/* . && rmdir dist ) ; fi mkdir -p d3 (cd d3 && unzip -u ../d3-3.5.3.zip) Archive: ../d3-3.5.3.zip if [ xyes = xyes ]; then \ cd ./module && /Applications/Xcode.app/Contents/Developer/usr/bin/make; \ fi make[1]: Nothing to be done for `all'. cd ./worker && /Applications/Xcode.app/Contents/Developer/usr/bin/make all cd ./ping && /Applications/Xcode.app/Contents/Developer/usr/bin/make all make[2]: Nothing to be done for `all'. *** Compile finished *** If the main program and CGIs compiled without any errors, you can continue with installing Nagios as follows (type 'make' without any arguments for a list of all possible options): make install - This installs the main program, CGIs, and HTML files make install-init - This installs the init script in /etc/rc.d/init.d make install-commandmode - This installs and configures permissions on the directory for holding the external command file make install-config - This installs *SAMPLE* config files in /usr/local/nagios/etc You'll have to modify these sample files before you can use Nagios. Read the HTML documentation for more info on doing this. Pay particular attention to the docs on object configuration files, as they determine what/how things get monitored! make install-webconf - This installs the Apache config file for the Nagios web interface make install-exfoliation - This installs the Exfoliation theme for the Nagios web interface make install-classicui - This installs the classic theme for the Nagios web interface *** Support Notes ******************************************* If you have questions about configuring or running Nagios, please make sure that you: - Look at the sample config files - Read the documentation on the Nagios Library at: https://library.nagios.com before you post a question to one of the mailing lists. Also make sure to include pertinent information that could help others help you. This might include: - What version of Nagios you are using - What version of the plugins you are using - Relevant snippets from your config files - Relevant error messages from the Nagios log file For more information on obtaining support for Nagios, visit: https://support.nagios.com ************************************************************* Enjoy.