Compiling PL/R (R language module for PostgreSQL database)

Joe Conway mail at
Mon Feb 14 09:50:54 PST 2011

JP Glutting <jpglutting <at>> writes:

> I am trying to install the PL/R module for Postgres.

> sudo USE_PGXS=1 make

> It complains that it can'f find the Rversion.h or Rdevices.h header files
> they are actually in a sub-directory (/opt/local/lib/R/include/x86_64).

> I figure this can be handled by either copying or simlinking the needed headers
> into the include directory

I've never seen such a location for the R include files. I think your idea of
symlinks is the easiest one. You could also check/fix output of pkg-config,
assuming you have it.



More information about the macports-users mailing list