suse 安装 pdf-tools 报错,请教。[解决]

M-x pdf-tools-install 提示信息如下:

Makefile.am: installing './depcomp'
./configure -q --bindir=/home/mls/.emacs.d/.local/straight/build-27.1/pdf-tools/ && make -s
configure: WARNING: cache variable ac_cv_env_PKG_CONFIG_PATH_value contains a newline
config.status: error: in `/home/mls/.emacs.d/.local/straight/build-27.1/pdf-tools/build/server':
config.status: error: Something went wrong bootstrapping makefile fragments
    for automatic dependency tracking.  If GNU make was not used, consider
    re-running the configure script with MAKE="gmake" (or whatever is
    necessary).  You can also try re-running configure with the
    '--disable-dependency-tracking' option to at least be able to build
    the package (albeit without support for automatic dependency tracking).
See `config.log' for more details
configure: WARNING: cache variable ac_cv_env_PKG_CONFIG_PATH_value contains a newline
===========================
     Build failed.  ;o(    
===========================
Note: maybe try the '-d' option.

不知道是哪里出问题了,请教解决方法,感谢。


在 pdf-tools/server 里执行: ./autobuild -d -i ~/.emacs.d/.local/straight/repos/pdf-tools 能成功。

好了 :sweat_smile:

1 个赞