|
刚开始装,./configure之后说pkg-config和GLIB2.0以上版本找不到。于是到各自网站下载了最新的版本,安装完毕。
再次configure,仍说没有pkg-config,后来发现su成root之后PATH里面没有/usr/local/bin,于是加上。
又执行./configure,报如下错误。
checking for pkg-config... /usr/local/bin/pkg-config
checking for GLIB - version >= 2.0.0...
*** 'pkg-config --modversion glib-2.0' returned 2.2.2, but GLIB (2.2.1)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error:
*** GLib 2.0 is required to build Gaim; please make sure you have the GLib
*** development headers installed. The latest version of GLib is
*** always available at http://www.gtk.org/.
这是说pk-config报告是2.2.2的GLIB,结果只找到了2.2.1的,我前面确实装了2.2.2的GLIB。我现在办?
我尝试按照提示修改了LD_LIBRARY_PATH,还有/etc/ld.so.conf,但是可能是我不知道该怎么修改,都没有效果。 |
|