FreeBSD & Nagios - revisited

Scott Ripley sripley at chiaro.com
Mon Mar 10 17:58:03 CET 2003


I have the following gd lib installed from the ports collection, and it
works with Nagios compiled from the ports.
 
gd-1.8.4_5          A graphics library for fast PNG creation

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.
 
Scott.

-----Original Message-----
From: George Breahna [mailto:sheken at top-consulting.net]
Sent: Monday, March 10, 2003 10:29 AM
To: 'Jon Lyons'; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] FreeBSD & Nagios - revisited


I tried, and although I'd rather not use the ports, here's what it tells me
 
===>  Configuring for nagios-1.0
===>   nagios-1.0 depends on shared library: gd.2 - found
===>   nagios-1.0 depends on shared library: gnugetopt.1 - found
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c -o root -g
wheel
checking for gcc... cc
checking whether the C compiler (cc -O -pipe  -I/usr/local/include )
works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
===>  Script "configure" failed unexpectedly.
      Please report the problem to blaz at si.FreeBSD.org
<mailto:blaz at si.FreeBSD.org>  [maintainer] and attach
      the "/usr/ports/net/nagios/work/nagios-1.0/config.log" including the
      output of the failure of your make command. Also, it might be a good
      idea to provide an overview of all packages installed on your system
      (e.g. an `ls /var/db/pkg`).
*** Error code 1
 
Stop in /usr/ports/net/nagios.
 

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jon Lyons
Sent: Monday, March 10, 2003 11:09 AM
To: George Breahna; nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] FreeBSD & Nagios - revisited



Did you use the nagios port? Just do make install....Worked on 4.7, try
downloading an updated version of the ports collection. 


 George Breahna <sheken at top-consulting.net> wrote: 




Hey guys, before I start let me tell you that I did read the previous
messages and it has not solved my problems.
 
Here's what I have done so far on FreeBSD 4.6-Release.
 
configured & installed libjpeg in /usr/local/libjpg
configured & installed libpng in /usr/local/libpng
configured & installed gd-2.0.11 in /usr/local/gd ( it has found all the
libraries, png, jpg, etc, etc )
 
I updated my ld searchpath and it sees all the libs in jpg/png/gd dirs
 
I configure nagios using with-gd-lib and with-gd-inc set to the proper
directories, yet I still get that dreaded message
 
checking for gdImagePng in -lgd (order 1)... no
checking for gdImagePng in -lgd (order 2)... no
checking for gdImagePng in -lgd (order 3)... no

 
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.
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..
 
Any clues are more than welcome!
 
Cheers,
George




  _____  

Do you Yahoo!?
Yahoo!  <http://rd.yahoo.com/finance/mailtagline/*http://taxes.yahoo.com/>
Tax Center - forms, calculators, tips, and more

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030310/58c82989/attachment.html>
-------------- next part --------------
----------------------------------------- (on rchss001)

This e-mail and any files transmitted with it are the property
of Chiaro Networks, Ltd., and may contain confidential and 
privileged material for the sole use of the intended recipient(s)
to whom this e-mail is addressed. If you are not one of the named
recipient(s), or otherwise have reason to believe that you have 
received this message in error, please notify the sender and 
delete all copies from your system.  Any other use, retention, 
dissemination, forwarding, printing or copying of this e-mail is 
strictly prohibited.


---------------------------------------------------------


More information about the Users mailing list