ropensci / pdftools

Text Extraction, Rendering and Converting of PDF Documents
https://docs.ropensci.org/pdftools
Other
513 stars 69 forks source link

poppler install on Centos 7: "bash: ./configure: No such file or directory" #113

Open tedmoorman opened 2 years ago

tedmoorman commented 2 years ago

In trying to follow the instructions given here for installing poppler on Centos 7, I receive the following error message: "bash: ./configure: No such file or directory".

I looked at the installation instructions on poppler's page, but it doesn't look like I can execute cmake ("bash: cmake: command not found ..."), and I'm not sure what the target for make should be.

I was trying to install poppler 0.71.0, which is the minimum version required in the following command:

> pdf_font_info <- pdf_data(pdf_file, font_info = TRUE)
Error in poppler_pdf_data(loadfile(pdf), font_info, opw, upw) : 
  pdf_data() requires poppler >= 0.71. You have 0.26.5

Any suggestions?