LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1780|回复: 0

gtk+-2.17的安装 提示找不到cairo-xlib

[复制链接]
发表于 2009-8-4 17:14:52 | 显示全部楼层 |阅读模式
因为工作需要 在RedHat5.3上安装gtk+-2.17。结果折腾了2天 还是没有好。
我已经安装了所有依赖的包 但是编译的时候还是提示
checking for CAIRO_BACKEND... configure: error: Package requirements (cairo-xlib >= 1.6) were not met:

Package x11 was not found in the pkg-config search path.
Perhaps you should add the directory containing `x11.pc'
to the PKG_CONFIG_PATH environment variable
Package 'x11', required by 'cairo-xlib', not 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 CAIRO_BACKEND_CFLAGS
and CAIRO_BACKEND_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


我已经安装了cairo 1.88的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表