Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] Fix collectd cannot configure with dependence error.
@ 2016-12-25 13:54 jackzzjack
  2016-12-26  8:48 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: jackzzjack @ 2016-12-25 13:54 UTC (permalink / raw)
  To: buildroot

Fix http://autobuild.buildroot.org/results/358/358e2f02f42e08fe362ecd46e636c0048e77c21f/

Signed-off-by: jackzzjack <jackzzjack@gmail.com>
---
 package/collectd/collectd.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index 50a2e53..15f6765 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -162,7 +162,7 @@ ifeq ($(BR2_PACKAGE_MYSQL),y)
 COLLECTD_CONF_OPTS += --with-libmysql=$(STAGING_DIR)/usr
 endif
 ifeq ($(BR2_PACKAGE_NETSNMP),y)
-COLLECTD_CONF_OPTS += --with-libnetsnmp=$(STAGING_DIR)/usr/bin/net-snmp-config
+COLLECTD_CONF_OPTS += --with-libnetsnmp=$(STAGING_DIR)/usr/include
 endif
 ifeq ($(BR2_PACKAGE_POSTGRESQL),y)
 COLLECTD_CONF_OPTS += --with-libpq=$(STAGING_DIR)/usr/bin/pg_config
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH 1/1] Fix collectd cannot configure with dependence error.
  2016-12-25 13:54 [Buildroot] [PATCH 1/1] Fix collectd cannot configure with dependence error jackzzjack
@ 2016-12-26  8:48 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-12-26  8:48 UTC (permalink / raw)
  To: buildroot

Hello,

On Sun, 25 Dec 2016 21:54:34 +0800, jackzzjack wrote:

>  ifeq ($(BR2_PACKAGE_NETSNMP),y)
> -COLLECTD_CONF_OPTS += --with-libnetsnmp=$(STAGING_DIR)/usr/bin/net-snmp-config
> +COLLECTD_CONF_OPTS += --with-libnetsnmp=$(STAGING_DIR)/usr/include

The correct path was $(STAGING_DIR)/usr/, not
$(STAGING_DIR)/usr/include.

I've applied your patch after fixing this.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-12-26  8:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-25 13:54 [Buildroot] [PATCH 1/1] Fix collectd cannot configure with dependence error jackzzjack
2016-12-26  8:48 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox