Install Nagios with MySQL and gd library
Chaos Golubitsky
walrus+nagios at glassonion.org
Tue Aug 24 16:04:55 CEST 2004
On Sun, 22 Aug, 2004 at 07:03:53 +0200, Nagios wrote:
> I'm using FreeBSD. Is there a way to install Nagios with MySQL
> Support and to install all Graphics Library (For trends.cgi) with
> the ports? There I can't run a command lik ./configure
Daniel,
I've been needing to do custom compiles on FreeBSD, and i cheated
by doing the following:
(1) Do the normal make in /usr/ports/net-mgmt/nagios/ (but don't
make install)
(2) Use cp -r (or tar) to make a copy of the work/nagios-1.2/
subdirectory elsewhere in your tree
(3) Do a ./configure with a modified version of the argument list.
You can find the original argument list used by ports in a
comment at the top of the file config.status, and then work
from there.
(Unfortunately, it's kind of a long list, but i imagine that
the most relevant piece is that it ends with some sort of machine
type specification such as "i386-portbld-freebsd-4.9" (may be
different on your machine)).
(4) Then do a "make" and "make install" like you normally would.
For the record, in order to get gd, i had to add the argument:
--with-gd-inc=/usr/local/include
to my configure line.
Hope this helps.
-Chaos
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
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