i***@public.gmane.org
2009-03-26 11:40:35 UTC
Hi,
Just compiling the "latest" snapshot with postgres support and I get:
iwar-log.c:32:22: error: libpq-fe.h: No such file or directory
But I have the dev libs installed on my debian etch system , so to fix
i did the following:
diff -ruN /tmp/iwar-0.08-CVS-12292008/iwar-engine.c
iwar-0.08-CVS-12292008/iwar-engine.c
--- /tmp/iwar-0.08-CVS-12292008/iwar-engine.c 2008-12-29
19:56:07.000000000 +0000
+++ iwar-0.08-CVS-12292008/iwar-engine.c 2009-03-26
11:25:36.000000000 +0000
@@ -56,7 +56,7 @@
#endif
#ifdef HAVE_LIBPQ
-#include <libpq-fe.h>
+#include <postgresql/libpq-fe.h>
PGconn *psql;
PGresult *result;
#endif
diff -ruN /tmp/iwar-0.08-CVS-12292008/iwar-log.c
iwar-0.08-CVS-12292008/iwar-log.c
--- /tmp/iwar-0.08-CVS-12292008/iwar-log.c 2008-11-21
06:57:47.000000000 +0000
+++ iwar-0.08-CVS-12292008/iwar-log.c 2009-03-26 11:25:36.000000000 +0000
@@ -29,7 +29,7 @@
#endif
#ifdef HAVE_LIBPQ
-#include <libpq-fe.h>
+#include <postgresql/libpq-fe.h>
PGconn *psql;
PGresult *result;
#endif
Maybe the check in the configure script needs updating too.
Thanks and keep up the good work.
Just compiling the "latest" snapshot with postgres support and I get:
iwar-log.c:32:22: error: libpq-fe.h: No such file or directory
But I have the dev libs installed on my debian etch system , so to fix
i did the following:
diff -ruN /tmp/iwar-0.08-CVS-12292008/iwar-engine.c
iwar-0.08-CVS-12292008/iwar-engine.c
--- /tmp/iwar-0.08-CVS-12292008/iwar-engine.c 2008-12-29
19:56:07.000000000 +0000
+++ iwar-0.08-CVS-12292008/iwar-engine.c 2009-03-26
11:25:36.000000000 +0000
@@ -56,7 +56,7 @@
#endif
#ifdef HAVE_LIBPQ
-#include <libpq-fe.h>
+#include <postgresql/libpq-fe.h>
PGconn *psql;
PGresult *result;
#endif
diff -ruN /tmp/iwar-0.08-CVS-12292008/iwar-log.c
iwar-0.08-CVS-12292008/iwar-log.c
--- /tmp/iwar-0.08-CVS-12292008/iwar-log.c 2008-11-21
06:57:47.000000000 +0000
+++ iwar-0.08-CVS-12292008/iwar-log.c 2009-03-26 11:25:36.000000000 +0000
@@ -29,7 +29,7 @@
#endif
#ifdef HAVE_LIBPQ
-#include <libpq-fe.h>
+#include <postgresql/libpq-fe.h>
PGconn *psql;
PGresult *result;
#endif
Maybe the check in the configure script needs updating too.
Thanks and keep up the good work.