Hi,
    I am getting the following error while trying to install RPostgreSQL.
I tried all three methods(install.packages("RPostgreSQL", type =
"source"),install.packages("RPostgreSQL") & R CMD INSTALL
RPostgreSQL_0.3-1.tar.gz ) , but none of them is working.

++++++++++++++++++ Error++++++++++++++++++++++++

gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -I     -fpic  -O3 -pipe  -g
-c RS-PQescape.c -o RS-PQescape.o
In file included from RS-PQescape.c:7:0:
RS-PostgreSQL.h:23:26: fatal error: libpq-fe.h: No such file or directory
compilation terminated.
make: *** [RS-PQescape.o] Error 1
ERROR: compilation failed for package ‘RPostgreSQL’
* removing ‘/home/intel/R/x86_64-pc-linux-gnu-library/2.15/RPostgreSQL’

The downloaded source packages are in
    ‘/tmp/Rtmpz4zF04/downloaded_packages’
Warning message:
In install.packages("RPostgreSQL", type = "source") :
  installation of package ‘RPostgreSQL’ had non-zero exit status
++++++++++++++++++++++++++++++++++++++++++++++++++++++

Thanks & Regards,
Thomas

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to