[collectd] 5.4.1 configure can't find amqp.h

Riches Jr, Robert M robert.m.riches.jr at intel.com
Tue Feb 3 22:48:12 CET 2015


Excellent!  Thanks for the reminder to look at config.log.

Does the configure script use CPPFLAGS to determine where to look for files?  Or, does CPPFLAGS affect only the actual compilation?

Thanks,

Robert Riches

-----Original Message-----
From: collectd [mailto:collectd-bounces at verplant.org] On Behalf Of Dan Fandrich
Sent: Tuesday, February 03, 2015 1:02 PM
To: collectd at verplant.org
Subject: Re: [collectd] 5.4.1 configure can't find amqp.h

On Tue, Feb 03, 2015 at 04:14:06PM +0000, Riches Jr, Robert M wrote:
> ...
> checking amqp.h usability... no
> checking amqp.h presence... no
> checking for amqp.h... no
> ...
>     librabbitmq . . . . . no (amqp.h not found) ...
> 
> The amqp.h file is definitely present.  The question is how to tell 
> Collectd's configure script how to find it.
> 
> Any suggestions?

Take a look at the file config.log. That will contain the exact command used to determine that the file wasn't present. The cause is likely a mismatch between the expected value of those options and the given value. You can always try setting CPPFLAGS=-I/path/to/include/dir on the configure command to set the path another way.

>>> Dan

_______________________________________________
collectd mailing list
collectd at verplant.org
http://mailman.verplant.org/listinfo/collectd



More information about the collectd mailing list