我已经在32位CentOS上做过很多次了,一切都很顺利。但现在,在x64 CentOS上,我无法让开罗找到pixman。
Pixman 0.18.0安装在/usr/local/lib中(我相信这是通常的位置)。
为Cairo 1.8.10配置找不到它:
checking for cairo's image surface backend feature...
checking for pixman... no
no
checking whether cairo's image surface backend feature could be enabled... no (requires pixman-1 >= 0.12.0 http://cairographics.org/releases/)
configure: error: mandatory image surface backend feature could not be enabled我尝试过设置环境变量pixman_LIBS=/usr/local/lib,但是没有成功。
你知道哪里出问题了吗?我是否可以看到cairo的配置在哪里寻找pixman?搜索路径或类似的东西?
发布于 2010-04-03 14:57:52
/usr/local/lib不是通常的地方。64位库在某种lib64下。使用file验证其中的库。
此外,/usr/local不在大多数路径上,因此您可能还需要使用$LIBDIR。
发布于 2013-02-01 08:34:13
可以让我看看cairo的配置在哪里寻找pixman吗?
看看config.log;对我来说,我看到了这样的代码行:
configure:31597: $PKG_CONFIG --exists --print-errors "$pixman_REQUIRES"
Package pixman-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `pixman-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pixman-1' found 这使得问题(和解决方案)比./configure的输出要明显得多。
明确地说,我需要确保PKG_CONFIG_PATH包含/usr/local/lib/pkgconfig,因为那是pixman-1.pc所在的地方。
https://stackoverflow.com/questions/2570505
复制相似问题