On Dec 16, 2007 3:09 PM, Roger <[EMAIL PROTECTED]> wrote:

> Has anyone here installed perfparse on latest CentOS 4.x and Nagios 2.10?
> I'm having a difficult time running the configure script so that I can
> properly "make & make instal" the binaries.  Each time I run "./configure"
> (even with all the parameters), I get the following error
>
> ***************************************************
> ***************************************************
> "checking for gdlib-config... /usr/bin/gdlib-config
> checking for gdMalloc in -lgd... no
> configure: error: required library libgd unusable.
> Install required and dependent files and rerun configure.
> See config.log or FAQs for details."
> ***************************************************
> ***************************************************
>
>
> The part of the config.log which looks relevant to the problem is the
> following:
>
>
> ***************************************************
> ***************************************************
> | /* Override any gcc2 internal prototype to avoid an error.  */
> | #ifdef __cplusplus
> | extern "C"
> | #endif
> | /* We use char because int might match the return type of a gcc2
> |    builtin and then its argument prototype would still apply.  */
> | char gdMalloc ();
> | int
> | main ()
> | {
> | gdMalloc ();
> |   ;
> |   return 0;
> | }
> configure:26962: result: no
> configure:26974: error: required library libgd unusable.
> Install required and dependent files and rerun configure.
> See config.log or FAQs for details.
> ***************************************************
> ***************************************************
>
> and in the configure script, this pertains to the error as well
>
> ***************************************************
> ***************************************************
>
>   LIBS="-lgd $LIBS"
>
> else
>   { { echo "$as_me:$LINENO: error: required library libgd unusable.
> Install required and dependent files and rerun configure.
> See config.log or FAQs for details." >&5
> echo "$as_me: error: required library libgd unusable.
> Install required and dependent files and rerun configure.
> See config.log or FAQs for details." >&2;}
>    { (exit 1); exit 1; }; }
> fi
>
> ***************************************************
> ***************************************************
>

BTW, I've already installed gd-devel (which I understand gdMalloc to be a
part of)

see:

rpm -qa | grep gd

gd-devel-2.0.28-5.4E
gd-progs-2.0.28-5.4E
gdbm-1.8.0-24
sysklogd-1.4.1-26_EL
gd-2.0.28-5.4E
php-gd-4.3.9-3.22.9
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to