* [Buildroot] [PATCH v1] collectd: add configure hint for pg_config
@ 2015-03-10 22:08 Peter Seiderer
2015-03-17 12:55 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: Peter Seiderer @ 2015-03-10 22:08 UTC (permalink / raw)
To: buildroot
Fixes [1] in case postgresql-devel package is installed on the host:
libpq . . . . . . . . no (libpq-fe.h not found)
postgresql . . . . . no (dependency error)
configure: error: "Some plugins are missing dependencies - see the summary above for details"
Otherwise fixes the following configure warning:
configure: WARNING: pg_config returned with status 127
[1] http://autobuild.buildroot.net/results/336/336b3e932be245faa04969af960702af672916dc
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
package/collectd/collectd.mk | 3 +++
1 file changed, 3 insertions(+)
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index d5802d6..a4b91d6 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -139,6 +139,9 @@ endif
ifeq ($(BR2_PACKAGE_NETSNMP),y)
COLLECTD_CONF_OPTS += --with-libnetsnmp=$(STAGING_DIR)/usr/bin/net-snmp-config
endif
+ifeq ($(BR2_PACKAGE_POSTGRESQL),y)
+ COLLECTD_CONF_OPTS += --with-libpq=$(STAGING_DIR)/usr/bin/pg_config
+endif
ifeq ($(BR2_PACKAGE_YAJL),y)
COLLECTD_CONF_OPTS += --with-yajl=$(STAGING_DIR)/usr
endif
--
2.1.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH v1] collectd: add configure hint for pg_config
2015-03-10 22:08 [Buildroot] [PATCH v1] collectd: add configure hint for pg_config Peter Seiderer
@ 2015-03-17 12:55 ` Thomas Petazzoni
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2015-03-17 12:55 UTC (permalink / raw)
To: buildroot
Dear Peter Seiderer,
On Tue, 10 Mar 2015 23:08:07 +0100, Peter Seiderer wrote:
> Fixes [1] in case postgresql-devel package is installed on the host:
>
> libpq . . . . . . . . no (libpq-fe.h not found)
> postgresql . . . . . no (dependency error)
> configure: error: "Some plugins are missing dependencies - see the summary above for details"
>
> Otherwise fixes the following configure warning:
>
> configure: WARNING: pg_config returned with status 127
>
> [1] http://autobuild.buildroot.net/results/336/336b3e932be245faa04969af960702af672916dc
>
> Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Seems like it doesn't work:
http://autobuild.buildroot.org/results/926/926a43b8f635790d7e9abdc977ea803ddaf8a523/build-end.log.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH v1] collectd: add configure hint for pg_config
@ 2015-03-17 19:57 Peter Seiderer
0 siblings, 0 replies; 3+ messages in thread
From: Peter Seiderer @ 2015-03-17 19:57 UTC (permalink / raw)
To: buildroot
Hello Thomas,
On Tue, Mar 17, 2015 at 01:55:47PM +0100, Thomas Petazzoni wrote:
> Dear Peter Seiderer,
>
> On Tue, 10 Mar 2015 23:08:07 +0100, Peter Seiderer wrote:
> > Fixes [1] in case postgresql-devel package is installed on the host:
> >
> > libpq . . . . . . . . no (libpq-fe.h not found)
> > postgresql . . . . . no (dependency error)
> > configure: error: "Some plugins are missing dependencies - see the summary above for details"
> >
> > Otherwise fixes the following configure warning:
> >
> > configure: WARNING: pg_config returned with status 127
> >
> > [1] http://autobuild.buildroot.net/results/336/336b3e932be245faa04969af960702af672916dc
> >
> > Signed-off-by: Peter Seiderer <ps.report@gmx.net>
>
> Seems like it doesn't work:
> http://autobuild.buildroot.org/results/926/926a43b8f635790d7e9abdc977ea803ddaf8a523/build-end.log.
>
Different error:
checking libpq-fe.h usability... yes
checking libpq-fe.h presence... yes
checking for libpq-fe.h... yes
checking for PQconnectdb in -lpq... no
Will investigate....
Regards,
Peter
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-03-17 19:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-10 22:08 [Buildroot] [PATCH v1] collectd: add configure hint for pg_config Peter Seiderer
2015-03-17 12:55 ` Thomas Petazzoni
2015-03-17 19:57 Peter Seiderer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.