- installing the "libgd1-noxpm" i see no difference - apt-get install libgd2 Reading package lists... Done Building dependency tree... Done Package libgd2 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: libgd2-xpm libgd2-noxpm E: Package libgd2 has no installation candidate
Saturday, December 31, 2005, 1:18:54 AM, you wrote: > Did you install libgd2 package? >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf >> Of Andreas Brandino >> Sent: December 30, 2005 5:23 PM >> To: [email protected] >> Subject: [Nagios-users] statusmap.cgi compile problem >> >> hi all >> >> >> >> syste specs: >> >> debian testing >> >> gcc version 4.0.3 20051201 (prerelease) (Debian 4.0.2-5) >> >> nagios 2.0rc1 (source) >> >> libgd2-xpm & libgd2-xpm-dev installed (debian package) >> >> >> >> statusmap.cgi wasnt compiled automaticallu so: >> >> cd cgi >> >> make statusmap.cgi >> >> >> >> unfortunately i get this error: >> >> >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> >> make statusmap.cgi >> >> gcc -g -O2 -I/usr/include -DHAVE_CONFIG_H -DNSCGI -L/lib -o >> statusmap.cgi statusmap.c getcgi.o cgiutils.o cgiauth.o >> objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o >> >> /tmp/cczEQX6r.o: In function >> `cleanup_graphics':/root/nagios-2.0rc1/cgi/s >> tatusmap.c:2262: undefined reference to `gdImageDestroy' >> >> /tmp/cczEQX6r.o: In function >> `draw_background_image':/root/nagios-2.0rc1/ >> cgi/statusmap.c:1440: undefined reference to `gdImageCopy' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:1443: undefined >> reference to `gdImageDestroy' >> >> /tmp/cczEQX6r.o: In function >> `draw_text':/root/nagios-2.0rc1/cgi/statusma >> p.c:1894: undefined reference to `gdFontSmall' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:1897: undefined >> reference to `gdImageFilledRectangle' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:1898: undefined >> reference to `gdFontSmall' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:1898: undefined >> reference to `gdImageString' >> >> /tmp/cczEQX6r.o: In function >> `draw_host_text':/root/nagios-2.0rc1/cgi/sta >> tusmap.c:1950: undefined reference to `gdFontSmall' >> >> /tmp/cczEQX6r.o: In function >> `draw_line':/root/nagios-2.0rc1/cgi/statusma >> p.c:2083: undefined reference to `gdImageLine' >> >> /tmp/cczEQX6r.o: In function >> `draw_dashed_line':/root/nagios-2.0rc1/cgi/s >> tatusmap.c:2133: undefined reference to `gdImageSetStyle' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:2136: undefined >> reference to `gdImageLine' >> >> /tmp/cczEQX6r.o: In function >> `draw_dotted_line':/root/nagios-2.0rc1/cgi/s >> tatusmap.c:2107: undefined reference to `gdImageSetStyle' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:2110: undefined >> reference to `gdImageLine' >> >> /tmp/cczEQX6r.o: In function >> `load_image_from_file':/root/nagios-2.0rc1/c >> gi/statusmap.c:2213: undefined reference to `gdImageCreateFromPng' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:2215: undefined >> reference to `gdImageCreateFromJpeg' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:2217: undefined >> reference to `gdImageCreateFromXbm' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:2221: undefined >> reference to `gdImageCreateFromGd' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:2225: undefined >> reference to `gdImageCreateFromGd2' >> >> /tmp/cczEQX6r.o: In function >> `initialize_graphics':/root/nagios-2.0rc1/cg >> i/statusmap.c:2155: undefined reference to `gdImageCreate' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:2160: undefined >> reference to `gdImageColorAllocate' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:2161: undefined >> reference to `gdImageColorAllocate' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:2162: undefined >> reference to `gdImageColorAllocate' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:2163: undefined >> reference to `gdImageColorAllocate' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:2164: undefined >> reference to `gdImageColorAllocate' >> >> /tmp/cczEQX6r.o:/root/nagios-2.0rc1/cgi/statusmap.c:2165: >> more undefined references to `gdImageColorAllocate' follow >> >> /tmp/cczEQX6r.o: In function >> `initialize_graphics':/root/nagios-2.0rc1/cg >> i/statusmap.c:2173: undefined reference to `gdImageColorTransparent' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:2176: undefined >> reference to `gdImageInterlace' >> >> /tmp/cczEQX6r.o: In function >> `load_background_image':/root/nagios-2.0rc1/ >> cgi/statusmap.c:1422: undefined reference to `gdImageDestroy' >> >> /tmp/cczEQX6r.o: In function >> `write_graphics':/root/nagios-2.0rc1/cgi/sta >> tusmap.c:2246: undefined reference to `gdImagePng' >> >> /tmp/cczEQX6r.o: In function >> `draw_hosts':/root/nagios-2.0rc1/cgi/statusm >> ap.c:1666: undefined reference to `gdImageCopy' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:1667: undefined >> reference to `gdImageDestroy' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:1824: undefined >> reference to `gdImageCopy' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:1825: undefined >> reference to `gdImageDestroy' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:1835: undefined >> reference to `gdImageCopy' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:1794: undefined >> reference to `gdImageArc' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:1756: undefined >> reference to `gdImageArc' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:1783: undefined >> reference to `gdImageArc' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:1778: undefined >> reference to `gdImageArc' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:1803: undefined >> reference to `gdImageArc' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:1774: undefined >> reference to `gdImageFillToBorder' >> >> /tmp/cczEQX6r.o: In function >> `calculate_circular_layer_coords':/root/nagi >> os-2.0rc1/cgi/statusmap.c:2742: undefined reference to `sin' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:2741: undefined >> reference to `sin' >> >> /tmp/cczEQX6r.o: In function >> `draw_circular_layer_markup':/root/nagios-2. >> 0rc1/cgi/statusmap.c:2834: undefined reference to `sin' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:2835: undefined >> reference to `sin' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:2840: undefined >> reference to `sin' >> >> /tmp/cczEQX6r.o:/root/nagios-2.0rc1/cgi/statusmap.c:2841: >> more undefined references to `sin' follow >> >> /tmp/cczEQX6r.o: In function >> `draw_circular_layer_markup':/root/nagios-2. >> 0rc1/cgi/statusmap.c:2853: undefined reference to `gdImageLine' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:2856: undefined >> reference to `gdImageLine' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:2866: undefined >> reference to `gdImageArc' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:2869: undefined >> reference to `gdImageArc' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:2873: undefined >> reference to `sin' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:2874: undefined >> reference to `sin' >> >> :/root/nagios-2.0rc1/cgi/statusmap.c:2890: undefined >> reference to `gdImageFillToBorder' >> >> collect2: ld returned 1 exit status >> >> make: *** [statusmap.cgi] Error 1 >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> >> >> >> any idea how to fix it? >> >> thx >> >> >> >> >> >> ----------------------- >> >> The mailing list archive is found here: >> >> http://www.nagiosexchange.org/nagios-users.34.0.html >> >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. Do you grep >> through log files for problems? Stop! Download the new AJAX >> search engine that makes searching your log files as easy as >> surfing the web. DOWNLOAD SPLUNK! >> http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick >> _______________________________________________ >> Nagios-users mailing list >> [email protected] >> 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 >> > __________ NOD32 1.1346 (20051230) Information __________ > This message was checked by NOD32 antivirus system. > http://www.eset.com -- Best regards, Brandino mailto:[EMAIL PROTECTED] ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list [email protected] 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
