[Devel] postgres compilation on mandriva 2006
Cesc
cesc.santa at gmail.com
Wed Apr 18 12:31:29 CEST 2007
Hi,
A quick fix to compile postgres module on mandriva 2006 ... it misses
a -I to the postgressql header files ...
Index: modules/postgres/Makefile
===================================================================
--- modules/postgres/Makefile (revision 2013)
+++ modules/postgres/Makefile (working copy)
@@ -7,7 +7,7 @@
NAME=postgres.so
# libpq-fe.h locations
-DEFS +=-I$(LOCALBASE)/include -I$(LOCALBASE)/pgsql/include \
+DEFS +=-I$(LOCALBASE)/include -I$(SYSBASE)/include/pgsql
-I$(LOCALBASE)/pgsql/include \
-I$(SYSBASE)/include/postgresql -I$(SYSBASE)/include/postgresql/8.0
LIBS=-L$(LOCALBASE)/lib -L$(LOCALBASE)/pgsql/lib -L$(LOCALBASE)/lib/pgsql \
-lpq
More information about the Devel
mailing list