<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Message</TITLE>
<META content="MSHTML 5.00.3315.2870" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=281224716-10032003>I have
the following gd lib installed from the ports collection, and it works with
Nagios compiled from the ports.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=281224716-10032003></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=281224716-10032003>gd-1.8.4_5
A graphics library for fast PNG creation<BR></SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=281224716-10032003>I'm
sure you have your reasons for not using the ports collection, but it worked
well for me. I am running on FreeBSD4.2 w/ a selectively updated ports
tree.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=281224716-10032003><FONT
size=1> </DIV></FONT></SPAN></FONT>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=281224716-10032003>Scott.</DIV></SPAN></FONT>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> George Breahna
[mailto:sheken@top-consulting.net]<BR><B>Sent:</B> Monday, March 10, 2003
10:29 AM<BR><B>To:</B> 'Jon Lyons';
nagios-users@lists.sourceforge.net<BR><B>Subject:</B> RE: [Nagios-users]
FreeBSD & Nagios - revisited<BR><BR></DIV></FONT>
<DIV><SPAN class=905112816-10032003><FONT color=#0000ff face=Arial size=2>I
tried, and although I'd rather not use the ports, here's what it tells
me</FONT></SPAN></DIV>
<DIV><SPAN class=905112816-10032003><FONT color=#0000ff face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=905112816-10032003><FONT color=#0000ff face=Arial
size=2>===> Configuring for nagios-1.0<BR>===>
nagios-1.0 depends on shared library: gd.2 - found<BR>===>
nagios-1.0 depends on shared library: gnugetopt.1 - found<BR>loading cache
./config.cache<BR>checking for a BSD compatible install... /usr/bin/install -c
-o root -g wheel<BR>checking for gcc... cc<BR>checking whether the C compiler
(cc -O -pipe -I/usr/local/include ) works... no<BR>configure: error:
installation or configuration problem: C compiler cannot create
executables.<BR>===> Script "configure" failed
unexpectedly.<BR> Please report the problem to
<A href="mailto:blaz@si.FreeBSD.org">blaz@si.FreeBSD.org</A> [maintainer] and
attach<BR> the
"/usr/ports/net/nagios/work/nagios-1.0/config.log" including
the<BR> output of the failure of your make
command. Also, it might be a good<BR> idea to
provide an overview of all packages installed on your
system<BR> (e.g. an `ls /var/db/pkg`).<BR>***
Error code 1</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=905112816-10032003><FONT color=#0000ff face=Arial size=2>Stop
in /usr/ports/net/nagios.</FONT></SPAN></DIV>
<DIV><SPAN class=905112816-10032003></SPAN> </DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV align=left class=OutlookMessageHeader dir=ltr lang=en-us><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
nagios-users-admin@lists.sourceforge.net
[mailto:nagios-users-admin@lists.sourceforge.net] <B>On Behalf Of </B>Jon
Lyons<BR><B>Sent:</B> Monday, March 10, 2003 11:09 AM<BR><B>To:</B> George
Breahna; nagios-users@lists.sourceforge.net<BR><B>Subject:</B> Re:
[Nagios-users] FreeBSD & Nagios - revisited<BR><BR></FONT></DIV>
<P>Did you use the nagios port? Just do make install....Worked on 4.7, try
downloading an updated version of the ports collection.
<P> <B><I>George Breahna <sheken@top-consulting.net></I></B>
wrote:
<BLOCKQUOTE
style="BORDER-LEFT: #1010ff 2px solid; MARGIN-LEFT: 5px; PADDING-LEFT: 5px">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>
<DIV><SPAN class=522344115-10032003><FONT face=Arial size=2>Hey guys,
before I start let me tell you that I did read the previous messages and
it has not solved my problems.</FONT></SPAN></DIV>
<DIV><SPAN class=522344115-10032003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=522344115-10032003><FONT face=Arial size=2>Here's what I
have done so far on FreeBSD 4.6-Release.</FONT></SPAN></DIV>
<DIV><SPAN class=522344115-10032003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=522344115-10032003><FONT face=Arial size=2>configured
& installed libjpeg in /usr/local/libjpg</FONT></SPAN></DIV>
<DIV><SPAN class=522344115-10032003><FONT face=Arial size=2>configured
& installed libpng in /usr/local/libpng</FONT></SPAN></DIV>
<DIV><SPAN class=522344115-10032003><FONT face=Arial size=2>configured
& installed gd-2.0.11 in /usr/local/gd ( it has found all the
libraries, png, jpg, etc, etc )</FONT></SPAN></DIV>
<DIV><SPAN class=522344115-10032003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=522344115-10032003><FONT face=Arial size=2>I updated my
ld searchpath and it sees all the libs in jpg/png/gd
dirs</FONT></SPAN></DIV>
<DIV><SPAN class=522344115-10032003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=522344115-10032003><FONT face=Arial size=2>I configure
nagios using with-gd-lib and with-gd-inc set to the proper directories,
yet I still get that dreaded message</FONT></SPAN></DIV>
<DIV><SPAN class=522344115-10032003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=522344115-10032003><FONT face=Arial size=2>checking for
gdImagePng in -lgd (order 1)... no<BR>checking for gdImagePng in -lgd
(order 2)... no<BR>checking for gdImagePng in -lgd (order 3)...
no<BR></FONT></SPAN></DIV>
<DIV><SPAN class=522344115-10032003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=522344115-10032003><FONT face=Arial size=2>What am I
doing wrong ? I tried using the default libs that come with the system (
from the ports collection ), and I used --with-gd-lib and --with-gd-inc as
another user mentioned here but that also failed.</FONT></SPAN></DIV>
<DIV><SPAN class=522344115-10032003><FONT face=Arial size=2>My only guess
right now is that I am missing gd-devel-1.8.44 ?? I did some research and
I think it's only available in RPM form for RedHat..</FONT></SPAN></DIV>
<DIV><SPAN class=522344115-10032003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=522344115-10032003><FONT face=Arial size=2>Any clues are
more than welcome!</FONT></SPAN></DIV>
<DIV><SPAN class=522344115-10032003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=522344115-10032003><FONT face=Arial
size=2>Cheers,</FONT></SPAN></DIV>
<DIV><SPAN class=522344115-10032003><FONT face=Arial
size=2>George</DIV></FONT></SPAN></FONT></DIV></FONT></DIV></BLOCKQUOTE>
<P><BR>
<HR SIZE=1>
Do you Yahoo!?<BR><A
href="http://rd.yahoo.com/finance/mailtagline/*http://taxes.yahoo.com/">Yahoo!
Tax Center</A> - forms, calculators, tips, and
more</BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>