rettama / luadbi

Automatically exported from code.google.com/p/luadbi
MIT License
0 stars 0 forks source link

Include for postgres_fe.h looks in non-standard location #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'm the Gentoo Linux maintainer for the luadbi package. Some of our users found 
that luadbi doesn't correctly link with postgres on gentoo systems. Maybe you 
can you look into fixing this. (Apparently the header can usually be found at 
server/postgres_fe.h.)

More info: https://bugs.gentoo.org/show_bug.cgi?id=364141

Original issue reported on code.google.com by djc.ochtman on 2 May 2011 at 4:20

GoogleCodeExporter commented 8 years ago
I've had the same problem, using the 0.5 download on some webspace I bought. 
The only way to get it to find postgres_fe.h was to modify the include 
statement in dbd/postgresql to include the path as well:

#include <pgsql/server/postgres_fe.h>

Having done this, it compiles and works fine.

Original comment by highfel...@gmail.com on 4 Nov 2011 at 6:33

GoogleCodeExporter commented 8 years ago
Hi, is this still an issue for you folks?

If so, what version of Postgres? @highfellow: also on Gentoo?

Original comment by MWild1 on 26 Apr 2013 at 12:24

GoogleCodeExporter commented 8 years ago
We still carry the patch found in that bug, yes.

Original comment by djc.ochtman on 26 Apr 2013 at 7:37

GoogleCodeExporter commented 8 years ago

Original comment by MWild1 on 12 May 2013 at 4:47

GoogleCodeExporter commented 8 years ago
For what it's worth, this was fixed in revision 8d7ad667f956, by stripping out 
the include for postgres_fe.h. It's not necessary for remote clients; including 
libpq_fe.h is enough. 

Original comment by zadgc...@gmail.com on 19 Feb 2015 at 4:58

GoogleCodeExporter commented 8 years ago
Thanks for the confirmation!

Original comment by MWild1 on 19 Feb 2015 at 9:27