[Devel] postgres compilation on mandriva 2006

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Apr 18 13:56:39 CEST 2007


Hi Cesc,

thanks - the fix is on SVN.

Regards,
Bogdan

Cesc wrote:
> 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 at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel
>




More information about the Devel mailing list