Nagios 3.1.1 compile fails on Centos-3
Tom DE BLENDE (DHL GBS)
tom.deblende at dhl.com
Tue Jun 23 08:31:57 CEST 2009
Hi all,
This is where the compiler craps out:
cd ./base && make
make[1]: Entering directory `/usr/src/install/nagios/nagios-3.1.1/base'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/install/nagios/nagios-3.1.1/base'
cd ./cgi && make
make[1]: Entering directory `/usr/src/install/nagios/nagios-3.1.1/cgi'
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o statusmap.cgi statusmap.c
getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o
xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o
downtime-cgi.o -lgd -lpng -ljpeg -lz -lm
statusmap.c: In function `initialize_graphics':
statusmap.c:2111: warning: assignment makes pointer from integer without
a cast
/tmp/ccNrEvP7.o(.text+0x33f0): In function `initialize_graphics':
/usr/src/install/nagios/nagios-3.1.1/cgi/statusmap.c:2111: undefined
reference to `gdImageCreateTrueColor'
collect2: ld returned 1 exit status
make[1]: *** [statusmap.cgi] Error 1
make[1]: Leaving directory `/usr/src/install/nagios/nagios-3.1.1/cgi'
make: *** [all] Error 2
Configure showed no problems with gd:
[me at box nagios-3.1.1]# ./configure | grep gd
checking for gdImagePng in -lgd (order 1)... no
checking for gdImagePng in -lgd (order 2)... yes
This what I have from gd on my box:
[me at box nagios-3.1.1]# rpm -qa | grep gd
gdbm-1.8.0-20
sysklogd-1.4.1-26_EL3
libgdiplus-1.2.3-0.rhel3.novell
gd-1.8.4-12.3.1
libgdiplus-debuginfo-1.2.3-0.rhel3.novell
gdb-6.3.0.0-1.138.el3
gdbm-devel-1.8.0-20
gdk-pixbuf-0.22.0-13.el3.3
gd-devel-1.8.4-12.3.1
gdm-2.4.1.6-18.el3
I'm running a fully upgraded Centos-3. Any ideas?
Thanks,
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090623/0e267d01/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
-------------- next part --------------
_______________________________________________
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