I've been beating my head against this for a little while as I try to
find time to work on an OpenBSD port for Nagios... Nagios, when built on
an OpenBSD 3.4 (possibly 3.3 as well) machine, will not find GD even when
--with-gd-lib and --with-gd-inc are specified on the configure command
line.
This is due to the need to have the following specified when running
the configure script:
LDFLAGS="-L/usr/local/lib -lttf"
So, on an OpenBSD machine with png, jpeg, gd, and ttf installed from
the OpenBSD ports tree, the following works fine:
env LDFLAGS="-L/usr/local/lib -lttf" ./configure
Using this, you do not need to specify --with-gd-lib and --with-gd-inc.
HUGE kudoes go to Julien Touche, who figured out these details.
I'm assuming configure.in needs to be modified, but I suck too much as
a developer to figure it out.
future.
Benny
--
"Legend has it that once 100 posts have been made, The Dark Lord
Bernstein will rise from the prison of ice and wage his inevitable
war on mankind." -- Erik Bourget
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]