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

_______________________________________________
Devel mailing list
Devel@openser.org
http://openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to