politza / pdf-tools

Emacs support library for PDF files.
GNU General Public License v3.0
1.57k stars 162 forks source link

Melpa upgrade fails on Debian 10 #531

Closed thriveth closed 4 years ago

thriveth commented 4 years ago

I have just tried to upgrade pdf-tools on my Debian 10 system, with vanilla Emacs. It fails to rebuild the server with the following output:

---------------------------
 Configuring and compiling 
---------------------------
autoreconf -i
configure.ac:15: installing './ar-lib'
configure.ac:11: installing './compile'
configure.ac:78: installing './config.guess'
configure.ac:78: installing './config.sub'
configure.ac:6: installing './install-sh'
configure.ac:6: installing './missing'
Makefile.am: installing './depcomp'
./configure -q --bindir=/home/trive/.emacs.d/elpa/pdf-tools-20191228.1005/ && make -s
configure: error: Package requirements (poppler) were not met:

No package 'poppler' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables poppler_CFLAGS
and poppler_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
===========================
     Build failed.  ;o(    
===========================
Note: maybe try the '-d' option.

Comint exited abnormally with code 1 at Mon Dec 30 03:22:02

I have the same packages installed that worked fine before. I have tried building from GitHub too, but here it claims that cask is missing even though I have installed it.

I hope there's a fix for this, because reverting to DocView really feels like a downgrade!

politza commented 4 years ago

Maybe your installation of poppler is broken ? Try adding the directory where poppler.pc is located to PKG_CONFIG_PATH. If that file does not exist there is something wrong.