Skip to content
Prev 4099 / 398506 Next

PostgreSQL package

"Timothy H. Keitt" <keitt at nceas.ucsb.edu> writes:
Thanks for making that available, Timothy.

I found when I installed it that I had to change the Makefile in the
src directory.  On my system (Debian GNU/Linux 2.1) the include files
from the postgresql-dev package are installed in
/usr/include/postgresql.  I needed to add
		      -I/usr/include/postgresql
to the compiler command in src/Makefile and change the include
statement in src/rpgsql.c to

#include "libpq-fe.h"

I'll check with Kurt Hornik, our autoconf/Makefile guru, to see if
there is a clean way of specifying the Makefile.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._