|
想装rrdtool,编译后说需要安装pango,我linux上rmp -ql pango 能看到1.4.0和1.6.0的pango文件,估计rrdtool需要高版本的pango,所以安装rrdtool安装文档上提到的pango-1.21.1,
用rmp -e pango 卸载之前的版本失败,说是需要安装一堆文件,所以就没有卸载,编译pango(./configure --prefix=$INSTALL_DIR CFLAGS="-O3 -fPIC" --without-x)没有问题,然后make就提示下面的错误,折磨我n天了,达人指点下这是什么原因呢? 安装1.22.3, 1.20.0 和1.17.5 也是一样的问题。
make[3]: Leaving directory `/tmp/rrdbuild/pango-1.21.1/modules/tibetan'
make[3]: Entering directory `/tmp/rrdbuild/pango-1.21.1/modules'
Writing a pango.modules file to use with tests/examples.
/tmp/rrdbuild/pango-1.21.1/pango/.libs/lt-pango-querymodules: symbol lookup error: /tmp/rrdbuild/pango-1.21.1/pango/.libs/lt-pango-querymodules: undefined symbol: g_option_context_new
make[3]: *** [pango.modules] Error 127
make[3]: Leaving directory `/tmp/rrdbuild/pango-1.21.1/modules'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/rrdbuild/pango-1.21.1/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/rrdbuild/pango-1.21.1'
make: *** [all] Error 2
[root@bjlinc1173 pango-1.21.1]# |
|