<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>Hi,</div><div><br></div><div>Does anyone have any experience or guidance on building collectd with Redis and AMQP? I've tried 3 different Ubuntus and 2 different RedHats along with various versions of the required libs (libcredis and&nbsp;rabbitmq-c) and installing them in various places. Disabling both at the ./configure results in a successful install.</div><div><br></div><div>With libcredis make fails with</div><div><br></div><div><div>write_redis.c: In function ‘wr_write’:</div><div>write_redis.c:122: error: implicit declaration of function ‘credis_zadd’</div></div><div><br></div><div><br></div><div>And with rabbitmq-c, make fails with</div><div><br></div><div><div>amqp.c: In function ‘camqp_strerror’:</div><div>amqp.c:181: error: ‘amqp_rpc_reply_t’ has no member named ‘library_errno’</div><div>amqp.c:182: error: ‘amqp_rpc_reply_t’ has no member named ‘library_errno’</div><div>amqp.c: In function ‘camqp_create_exchange’:</div><div>amqp.c:233: error: incompatible type for argument 7 of ‘amqp_exchange_declare’</div><div>/usr/local/include/amqp_framing.h:552: note: expected ‘amqp_table_t’ but argument is of type ‘int’</div><div>amqp.c:233: error: too many arguments to function ‘amqp_exchange_declare’</div><div>amqp.c: In function ‘camqp_setup_queue’:</div><div>amqp.c:319: error: too few arguments to function ‘amqp_basic_consume’</div><div>cc1: warnings being treated as errors</div><div>amqp.c: In function ‘camqp_subscribe_thread’:</div><div>amqp.c:553: error: format ‘%i’ expects type ‘int’, but argument 3 has type ‘cdtime_t’</div><div>amqp.c:562: error: format ‘%i’ expects type ‘int’, but argument 3 has type ‘cdtime_t’</div><div>make[3]: *** [amqp_la-amqp.lo] Error 1</div></div><div><br></div><div><br></div><div>I've tried Googling these errors but haven't found much of use. There's a similar error with the PHP plugin for libcredis but the fix involves PHP (which doesn't figure in to this problem).</div><div><br></div><div>Does anyone have any tips for getting either of these two plugins to install?&nbsp;</div><div><br></div><div>BTW, the credis-test works after installing libcredis so I assume it's built correctly.</div><div><br></div><div>Thanks</div><div><br></div><div>Steve</div><div><br></div><div><br></div><BR>
______________________________________________________________________<BR>
This email has been scanned by the MessageLabs Email Security System.<BR>
For more information please visit http://www.messagelabs.com/email <BR>
______________________________________________________________________<BR>
</body></html>