View Issue Details

IDProjectCategoryView StatusLast Update
0003522GNUnetbuild processpublic2018-06-06 22:25
ReporterFlorian Dold Assigned ToSree Harsha Totakura Due Date
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.11.0pre66Fixed in Version0.11.0pre66 
Summary0003522: postgresql is not detected correctly
DescriptionPostgresql used to be detected correctly, now ./configure outputs

configure: NOTICE: Database support is set to MySQL: false, SQLite: true, Postgres: true

but does not set the include path correctly, resulting in a compilation error.

In file included from postgres.c:26:0:
../../src/include/gnunet_postgres_lib.h:29:22: fatal error: libpq-fe.h: No such file or directory
 #include <libpq-fe.h>
Additional InformationIt looks like m4/ax_lib_postgresql.m4 was recently added to do the detection.

Maybe the version information is just missing in the macro call?
TagsNo tags attached.

Activities

Florian Dold

2014-08-14 09:19

developer   ~0008549

It *does* work again if you change the #include to

#include <postgresql/libpq-fe.h>

So what should be included then?

Florian Dold

2014-08-14 09:20

developer   ~0008550

Strangely, Taler just uses
 #include <libpq-fe.h>
which works fine, even though the same macro from m4/ax_lib_postgresql.m4 is used.

Sree Harsha Totakura

2014-08-19 10:45

updater   ~0008551

fixed in #34128.

Issue History

Date ModifiedUsernameFieldChange
2014-08-14 09:08Florian DoldNew Issue
2014-08-14 09:09Florian DoldAssigned To => Sree Harsha Totakura
2014-08-14 09:09Florian DoldStatusnew => assigned
2014-08-14 09:19Florian DoldNote Added: 0008549
2014-08-14 09:20Florian DoldNote Added: 0008550
2014-08-19 10:45Sree Harsha TotakuraNote Added: 0008551
2014-08-19 10:45Sree Harsha TotakuraStatusassigned => resolved
2014-08-19 10:45Sree Harsha TotakuraFixed in Version => 0.11.0
2014-08-19 10:45Sree Harsha TotakuraResolutionopen => fixed
2014-09-12 15:54Christian GrothoffFixed in Version0.11.0 => 0.11.0pre66
2014-09-12 15:54Christian GrothoffTarget Version => 0.11.0pre66
2018-06-06 22:25Christian GrothoffStatusresolved => closed