[R-sig-Debian] pdftools on Ubuntu
francois Guilhaumon IRD
francois.guilhaumon at ird.fr
Fri Dec 2 12:25:20 CET 2016
Hello,
libpoppler-cpp-dev is not an R package but a system library to be installed
with (for example) :
sudo apt-get install libpoppler-cpp-dev
hope this help.
François Guilhaumon
°°
François Guilhaumon, research scientist (IRD <http://en.ird.fr>), associate
editor (Journal of Biogeography
<http://onlinelibrary.wiley.com/journal/10.1111/%28ISSN%291365-2699>).
homepage : http://francoisguilhaumon.free.fr
MARBEC <http://www.umr-marbec.fr> - Biodiversité Marine et ses usages
UMR 9190 - University of Montpellier
Montpellier, France
⦿⟻▲.·´¯`·..><((((º>.·´¯`·.¸◎¸.·´¯`·...¸><((((º>
2016-12-02 12:21 GMT+01:00 Eduardo Morelli <emorelli1966 at gmail.com>:
> Hi,
>
> I am trying to install pdftools package on R 3.3.1 (Ubuntu 16.04), but the
> following issue occurs:
>
> ------------------------- ANTICONF ERROR ---------------------------
> Configuration failed because poppler-cpp was not found. Try installing:
> * deb: libpoppler-cpp-dev (Debian, Ubuntu, etc)
> * rpm: poppler-cpp-devel (Fedora, CentOS, RHEL)
> * csw: poppler_dev (Solaris)
> * brew: poppler (Mac OSX)
> If poppler-cpp is already installed, check that 'pkg-config' is in your
> PATH and PKG_CONFIG_PATH contains a poppler-cpp.pc file. If pkg-config
> is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
> R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
> --------------------------------------------------------------------
> ERROR: configuration failed for package ‘pdftools’
> * removing ‘/usr/local/lib/R/site-library/pdftools’
>
> And when I try to install libpoppler-cpp-dev, I am getting another error:
>
> install.packages('libpoppler-cpp-dev')
> > package ‘libpoppler-cpp-dev’ is not available (for R version 3.3.1)
>
> My questions:
>
> 1) Is there any place where I can find libpoppler-cpp-dev? (I tried
> https://cran.r-project.org/src/contrib/Archive/ without success)
>
> 2) Is there any newer version for R in Ubuntu?
>
> Thanks in advance,
>
> Eduardo Morelli
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Debian mailing list
> R-SIG-Debian at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-debian
[[alternative HTML version deleted]]
More information about the R-SIG-Debian
mailing list