Oleg Bartunov wrote: > I just upgraded R to version 2.4.0 and now I can't install packages > RdbiPgSQL. I used the same procedure I did for previous versions of R ! > Actually, last time I installed RdbiPgSQL day before upgrading > but now I got: > > downloaded 27Kb > > * Installing *source* package 'RdbiPgSQL' ... > creating cache ./config.cache > checking for PQconnectdb in -lpq... no > > I could not find your PostgreSQL client libraries!
Well it looks like you might have done more than that since the error is saying that the package cannot find your postgres client libraries and note in the text right below this are some suggestions on how to specify non-standard locations. I have tried on two systems with postgres in its standard location and observed no such problem. > Use --with-pgsql-libraries=PATH; if running R's INSTALL, > use --configure-args='--with-pgsql-libraries=PATH'; or > set PG_LIB_DIR in your environment to the library path, > and rerun the configure/install. > > ERROR: configuration failed for package 'RdbiPgSQL' > ** Removing '/usr/local/lib/R/library/RdbiPgSQL' > > The downloaded packages are in > /tmp/RtmpA3Mdb4/downloaded_packages > Warning message: > installation of package 'RdbiPgSQL' had non-zero exit status in: > install.packages("RdbiPgSQL", repos = rS, configure.args = c(PGSQL = > "--with-pgsql-libraries=/usr/local/pgsql/lib > --with-pgsql-includes=/usr/local/pgsql/include")) > > Looks like install.packages doesn't pass configure.args to the package. > > Regards, > Oleg > _____________________________________________________________ > Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru), > Sternberg Astronomical Institute, Moscow University, Russia > Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/ > phone: +007(495)939-16-83, +007(495)939-23-83 > > ______________________________________________ > R-help@stat.math.ethz.ch 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. > -- Robert Gentleman, PhD Program in Computational Biology Division of Public Health Sciences Fred Hutchinson Cancer Research Center 1100 Fairview Ave. N, M2-B876 PO Box 19024 Seattle, Washington 98109-1024 206-667-7700 [EMAIL PROTECTED] ______________________________________________ R-help@stat.math.ethz.ch 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.