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:[email protected]] On Behalf Of Dan Fandrich
Sent: Tuesday, February 03, 2015 1:02 PM
To: [email protected]
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
[email protected]
http://mailman.verplant.org/listinfo/collectd

_______________________________________________
collectd mailing list
[email protected]
http://mailman.verplant.org/listinfo/collectd

Reply via email to