Poppler 0.14.1 构建问题
我无法在 CentOS 5.4 上从源代码构建 Poppler 0.14.1。当我执行 ./configure 时,它会以如下消息结束:
正在检查 FONTCONFIG...配置: 错误:包要求 (fontconfig >= 2.0.0) 未满足:
我已成功从源代码构建并安装
字体配置2.8.0
,并将 PKG_CONFIG 设置为指向包含 fontconfig.pc 的文件夹 (/usr/local/lib/pkgconfig/)。
确实,当我执行 $PKG_CONFIG --version fontconfig 时,它会得到回显“0.20”,但 fontconfig.pc 确实写到库的版本是 2.8.0。此外,除了那台机器上从源代码构建的 libfontconfig.so 之外,没有其他 libfontconfig.so ,所以我有点卡住了,不知道该怎么做(调试配置除外)
以前有人解决过类似的情况吗? 谢谢
彼得
I cannot build Poppler 0.14.1 from source code on CentOS 5.4. When I do ./configure it ends with a message like:
checking for FONTCONFIG... configure:
error: Package requirements
(fontconfig >= 2.0.0) were not met:
I have successfully built from source code, and installed
fontconfig 2.8.0
on that machine, and also set the PKG_CONFIG to point to the folder that contains the fontconfig.pc (/usr/local/lib/pkgconfig/).
It is true that when I do $PKG_CONFIG --version fontconfig it gets echos '0.20' but the fontconfig.pc does write that the version of the library is 2.8.0. Also there are no other libfontconfig.so other then the one build from source on that machine, so I am sort of stuck and not sure what to do (except debugging configure)
Has anyone solved a similar case before?
Thanks
Peter
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
检查是否安装了 fontconfig-devel 软件包。如果没有,请安装它,然后再次尝试构建。
Check if the package fontconfig-devel is installed. If not, install it and then try your build again.
对于 debian sqezee,我必须从源手动安装软件包:
http://cgit.freedesktop.org/ fontconfig/
(直接下载,不要使用git,因为配置时会出现问题)
顺便说一句,非常有用的从头开始安装 poopler 和依赖项的指南:
http://www.linuxfromscratch.org/blfs/view/svn/general/poppler.html
For debian squezee, I've had to install packages manually from the sources:
http://cgit.freedesktop.org/fontconfig/
(Download directly, not use the git because there are problems when configure)
And BTW, very useful guide to install poopler and dependences from the scratch:
http://www.linuxfromscratch.org/blfs/view/svn/general/poppler.html