
 I am running Mac OS X version 10.6.3. I am running R 2.11.1 GUI 1.34 64 bit.

I have RPostgreSQL 0.1-6 (as RPostgreSQL_0.1-6.tar) from this site:

http://mac.softpedia.com/get/Developer-Tools/RPostgresql.shtml

I have PostgreSQL version 8.4.4-1 for Mac OS X from this site: 

http://www.enterprisedb.com/products/pgdownload.do

The files libpq.a and libpq.dylib are under:

/Library/PostgreSQL/8.4/lib/

The file libpq-fe.h is under:

/Library/PostgreSQL/8.4/include/libpq/

In the terminal:

cd Downloads

sudo R --arch=i386 CMD INSTALL RPostgreSQL_0.1-6.tar --configure-args='--withpgsql-libraries=/Library/PostgreSQL/8.4/lib --with-pgsql-includes=/Library/PostgreSQL/8.4/include/libpq'

results in:

* installing to library '/Library/Frameworks/R.framework/Resources/Library'
* installing *source* package 'RPostgreSQL' ...
configure: error: unrecognized option: --withpgsql-libraries=/Library/PostgreSQL/8.4/lib
Try `./configure --help' for more information.
ERROR: configuration failed for package 'RPostgreSQL'
* removing '/Library/Frameworks/R.framework/Resources/library/RPostgreSQL'

What can I do to install RPostgreSQL?



	[[alternative HTML version deleted]]

