Compling 1.0b5 doesn't make statusmap.cgi???

Terry Simons galimore at mac.com
Wed Aug 21 03:40:42 CEST 2002


The output of your ./configure would probably be more helpful in this 
case.

Chances are you either don't have the gd/png/jpeg libraries, or Nagios 
can't find them.

I had to force nagios to find my gd libs with --with-gd-inc and 
--with-gd-lib

Double check ./configure's output and make sure it found your libraries.

- Terry

On Monday, August 19, 2002, at 11:27  AM, David J. Meier wrote:

> I have installed 1.0b5 and noticed that it doesn't seem to build
> statusmap.cgi.
>
> How can I get it to build?
>
> Here's an output of my make:
>
> statrat:/usr/development/nagios-1.0b5# make cgis
> cd ./cgi; make ; cd ..
> make[1]: Entering directory `/usr/development/nagios-1.0b5/cgi'
> gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI   -c -o getcgi.o getcgi.c
> gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI   -c -o cgiutils.o cgiutils.c
> gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI   -c -o auth.o auth.c
> gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI   -c -o popen.o popen.c
> gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  avail.c getcgi.o cgiutils.o auth.o
> popen.o  ../common/objects.c ../xdata/xodtemplate.c
> ../common/statusdata.c ../xdata/xsddefault.c -o avail.cgi
> gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  cmd.c  getcgi.o cgiutils.o auth.o
> popen.o  ../common/objects.c ../xdata/xodtemplate.c
> ../common/statusdata.c ../xdata/xsddefault.c ../common/comments.c
> ../xdata/xcddefault.c ../common/downtime.c ../xdata/xdddefault.c -o
> cmd.cgi
> gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  config.c  getcgi.o cgiutils.o 
> auth.o
> popen.o  ../common/objects.c ../xdata/xodtemplate.c
> ../common/statusdata.c ../xdata/xsddefault.c -o config.cgi
> gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI   -c -o edata.o edata.c
> gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  extinfo.c getcgi.o cgiutils.o 
> auth.o
> popen.o  ../common/objects.c ../xdata/xodtemplate.c
> ../common/statusdata.c ../xdata/xsddefault.c ../common/comments.c
> ../xdata/xcddefault.c edata.o ../xdata/xedtemplate.c
> ../common/downtime.c ../xdata/xdddefault.c -o extinfo.cgi
> gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI   -c -o lifo.o lifo.c
> gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  history.c getcgi.o cgiutils.o 
> auth.o
> popen.o  ../common/objects.c ../xdata/xodtemplate.c
> ../common/statusdata.c ../xdata/xsddefault.c lifo.o -o history.cgi
> gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  notifications.c getcgi.o cgiutils.o
> auth.o popen.o  ../common/objects.c ../xdata/xodtemplate.c
> ../common/statusdata.c ../xdata/xsddefault.c lifo.o -o 
> notifications.cgi
> gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  outages.c getcgi.o cgiutils.o 
> auth.o
> popen.o  ../common/objects.c ../xdata/xodtemplate.c
> ../common/statusdata.c ../xdata/xsddefault.c ../common/comments.c
> ../xdata/xcddefault.c -o outages.cgi
> gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  showlog.c getcgi.o cgiutils.o 
> auth.o
> popen.o  ../common/objects.c ../xdata/xodtemplate.c
> ../common/statusdata.c ../xdata/xsddefault.c lifo.o -o showlog.cgi
> gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  status.c getcgi.o cgiutils.o auth.o
> popen.o  ../common/objects.c ../xdata/xodtemplate.c
> ../common/statusdata.c ../xdata/xsddefault.c ../common/comments.c
> ../xdata/xcddefault.c edata.o ../xdata/xedtemplate.c -o status.cgi
> gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  statuswml.c getcgi.o cgiutils.o
> auth.o popen.o  ../common/objects.c ../xdata/xodtemplate.c
> ../common/statusdata.c ../xdata/xsddefault.c -o statuswml.cgi
> gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  summary.c getcgi.o cgiutils.o 
> auth.o
> popen.o  ../common/objects.c ../xdata/xodtemplate.c
> ../common/statusdata.c ../xdata/xsddefault.c -o summary.cgi
> gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  tac.c getcgi.o cgiutils.o auth.o
> popen.o  ../common/objects.c ../xdata/xodtemplate.c
> ../common/statusdata.c ../xdata/xsddefault.c ../common/comments.c
> ../xdata/xcddefault.c edata.o ../xdata/xedtemplate.c -o tac.cgi
> gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  statuswrl.c getcgi.o cgiutils.o
> auth.o popen.o  ../common/objects.c ../xdata/xodtemplate.c
> ../common/statusdata.c ../xdata/xsddefault.c -lm edata.o
> ../xdata/xedtemplate.c -o statuswrl.cgi
> make[1]: Leaving directory `/usr/development/nagios-1.0b5/cgi'
> statrat:/usr/development/nagios-1.0b5# cd
> /usr/development/nagios-1.0b5/cgi/
> statrat:/usr/development/nagios-1.0b5/cgi# ls
> Makefile     avail.cgi      cmd.cgi     extinfo.c    history.c
> notifications.cgi  showlog.c    statuswml.cgi  tac.cgi
> Makefile.in  cgiutils.c     config.c    extinfo.cgi  history.cgi
> outages.c          showlog.cgi  statuswrl.c    trends.c
> auth.c       cgiutils.h     config.cgi  getcgi.c     lifo.c
> outages.cgi        status.c     statuswrl.cgi
> auth.h       cgiutils.h.in  edata.c     getcgi.h     lifo.h
> popen.c            status.cgi   summary.c
> auth.o       cgiutils.o     edata.h     getcgi.o     lifo.o
> popen.h            statusmap.c  summary.cgi
> avail.c      cmd.c          edata.o     histogram.c  notifications.c
> popen.o            statuswml.c  tac.c
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone?  Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390




More information about the Users mailing list