我正在手动编译 GTK+,因为它需要具有 pdf 支持的 Cairo 我安装了 poppler-glib 但即使在 cairo 的配置脚本中我得到:
checking for cairo's PDF surface backend feature...
checking whether cairo's PDF surface backend feature could be enabled... yes
checking for POPPLER... yes
checking for poppler_page_render... no
configure: WARNING: PDF backend will not be tested since poppler >= 0.17.4 is not available
我使用apt-get libpoppler-glib-dev
. 有什么帮助吗?