Hello,
You got the detail of the error:
RS-PostgreSQL.h:23:26: fatal error: libpq-fe.h: No such file or directory
compilation terminated.
Please searc on Internet "libpq-fe.h". You will get answer to your
problem.
Regards
----- Mail original -----
De?: Prakash Thomas <pthomas2005 at gmail.com>
??: r-help at r-project.org
Cc?:
Envoy? le : Lundi 4 juin 2012 14h14
Objet?: [R] Error while trying to install RPostgreSQL.
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 at 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.