vedang / pdf-tools

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

pdf-tools-install failed (popper) #245

Closed sangkookchoi closed 10 months ago

sangkookchoi commented 10 months ago

Describe the bug When I run "pdf-tools-install" using Melpa, I'm getting the following error


Configuring and compiling

autoreconf -i configure.ac:14: installing './ar-lib' configure.ac:11: installing './compile' configure.ac:61: installing './config.guess' configure.ac:61: installing './config.sub' configure.ac:6: installing './install-sh' configure.ac:6: installing './missing' Makefile.am: installing './depcomp' ./configure -q --bindir=/Users/sangkookchoi/.emacs.d/elpa/pdf-tools-20230611.239/ && make clean && 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.


Desktop Please complete the following information:

Your pdf-tools install Please complete the following information:

ahmedwaqar commented 10 months ago

I faced the same issue on Ubuntu 22.04. Try installing sudo apt install libpoppler-dev libpoppler-glib-dev and do make -s.

sangkookchoi commented 10 months ago

Thanks for the information:) Is there anyone who experiences the same issues in Mac?

On Dec 6, 2023, at 9:58 AM, Waqar Ahmed @.***> wrote:

libpoppler-dev libpoppler-glib-dev

sangkookchoi commented 10 months ago

I reinstalled Homebrew and all the packages. Then it works now. Thanks

sangkookchoi commented 10 months ago

Done now