statusmap.cgi will not install

Michael Friedrich michael.friedrich at univie.ac.at
Wed Mar 30 16:31:09 CEST 2011


Boblitz John wrote:
> Good Day,
>
> I have installed nagios on my debian server and, except for the status
> map - all seems to work as planned.
>
> I searched on the forums and saw a similar problem indicating to check
> the config logs and I found I didn't have
> everything.  So I downlaoded the Boutelles GD tarball and installed as
> per http://www.debianhelp.co.uk/nagiosinstall.htm
>
> but I still ahve no  luck - statusmap.cgi refuses to be compiled.
>
> I hope someone here can help.
>
> What I have:
>
>      debian squeeze for amd64 - patched to current
>      gd-2.0.33.

the dev(el) packages are also needed in order to let configure finding 
the header includes.
but i'd rather suggest installing nagios from packages too.

>
>      nagios-3.2.3.
>      nagios-plugins-1.4.15
>
> I've run ./configure with and without --enable-statusmap - doesn't seem
> to make a difference.
>
> the config.log however indicates (often!) that confdefs.h fails.
>
> Significantly, it fails on:
>
> configure:6502: checking for gdImagePng in -lgd (order 1)
> configure:6535: gcc -o conftest -g -O2 conftest.c -lgd -lttf -lpng
> -ljpeg -lz -lm>&5
> /usr/bin/ld: cannot find -lttf
> collect2: ld returned 1 exit status
> configure:6541: $? = 1
> configure: failed program was:
> | /* confdefs.h. */
>
> [removed a bunch of declarations!]
>
> | /* end confdefs.h. */
> | /* Override any gcc2 internal prototype to avoid an error. */
> | /* We use char because int might match the return type of a gcc2
> | builtin and then its argument prototype would still apply. */
> | char gdImagePng();
> |
> | int
> | main ()
> | {
> | gdImagePng()
> | ;
> | return 0;
> | }
> configure:6568: result: no
>
> Thanks in advance  ...
>
>
> John
>
> ----
>
> Who is General Failure, and why is he reading my hard disk?
>
>
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software
> be a part of the solution? Download the Intel(R) Manageability Checker
> today! http://p.sf.net/sfu/intel-dev2devmar
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>


-- 
DI (FH) Michael Friedrich

Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria

email: 	michael.friedrich at univie.ac.at
phone: 	+43 1 4277 14359
fax: 	+43 1 4277 14338
web:	http://www.univie.ac.at/zid
	http://www.aco.net

Icinga Core&  IDOUtils Developer
http://www.icinga.org


------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list