[R] problem installing RdbiPgSQL for 2.4
Oleg Bartunov
oleg at sai.msu.su
Wed Oct 4 11:59:36 CEST 2006
On Tue, 3 Oct 2006, Robert Gentleman wrote:
>
>
> 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.
I succeded after exporting PG_LIB_DIR and PG_INCLUDE_DIR and using
R CMD INSTALL RdbiPgSQL_1.9.0.tar.gz
I still don't understand why install.packages fails.
>
>
>> 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 at sai.msu.su, http://www.sai.msu.su/~megera/
>> phone: +007(495)939-16-83, +007(495)939-23-83
>>
>> ______________________________________________
>> R-help at 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.
>>
>
>
Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg at sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83
More information about the R-help
mailing list