vedang / pdf-tools

Emacs support library for PDF files.
https://pdftools.wiki
GNU General Public License v3.0
638 stars 90 forks source link

linux install fails with No package 'poppler' found #304

Open uliw opened 1 day ago

uliw commented 1 day ago

Describe the bug A clear and concise description of what the bug is.

./configure -q --bindir=/home/uliw/.emacs.d/elpa/pdf-tools-20240429.407/ && make clean && make -s
configure: error: Package requirements (poppler) were not met:

No package 'poppler' found

Steps to Reproduce the behaviour update via elpa, run pdf-tools-install

What is the expected behaviour? clean build

Desktop Please complete the following information:

Your pdf-tools install Please complete the following information:

uliw commented 23 hours ago

after a bit of digging, it turns out that this is possibly distro related. /usr/lib/pkgconfig/ exists, but it is empty. Setting export PKG_CONFIG_PATH=/usr/lib64/pkgconfig

solves the issue