$ grep rrdtool .config
CONFIG_PACKAGE_lighttpd-mod-rrdtool=m
CONFIG_PACKAGE_collectd-mod-rrdtool=m
# CONFIG_PACKAGE_rrdtool is not set
# CONFIG_PACKAGE_rrdtool1 is not set
$

 i'm baffled ... given that rrdtool is clearly not selected for
building, why does a simple "make" insist on trying to build it? what
triviality am i overlooking?

collectd-mod-rrdtool is "=m" in your .config and gets built.
And it needs rrdtool-1.0 as "librrd1". You didn't grep .config for plain 
"rrd"...

https://github.com/openwrt/packages/blob/master/utils/collectd/Makefile#L315
 $(eval $(call BuildPlugin,rrdtool,RRDtool 
output,rrdtool,+PACKAGE_collectd-mod-rrdtool:librrd1))

https://github.com/openwrt/packages/blob/master/utils/collectd/Makefile#L225
# exception: mod-rrdtool needs rrdtool-1.0.x
ifneq ($(CONFIG_PACKAGE_collectd-mod-rrdtool),)
CONFIGURE_ARGS+= --with-librrd="$(STAGING_DIR)/usr/lib/rrdtool-1.0"
endif

https://github.com/openwrt/packages/blob/master/utils/rrdtool1/Makefile#L47
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to