pinkme005 发表于 2004-4-24 10:31:05

哪位知道怎么把RH9的gtk升级到2.4啊,我搞了一晚了!

RT。

twoaxin 发表于 2004-4-24 10:36:51

我没升过啊!帮不了你!不过你干嘛要升级呢?没这个必要吧!好用就行了!还是把时间花在别的地方吧!

pinkme005 发表于 2004-4-24 11:20:18

我要装openQ0.3,支持群

FreakFish 发表于 2004-4-25 10:30:36

我要装openQ0.3,支持群


你已经安装好 glib-2了 只是路径没有设对
所以你./configure的时候就没办法找到新安装的glib-2

可以去/etc/ld.conf.so
然后用emacs, 或者随便什么文本编辑器
在第一行前添加 /usr/local/lib

再terminal下执行 ldconfig

然后再compile一下你那个需要安装的文件 应该是没问题了

cobranail 发表于 2004-4-25 11:53:19

差不多要把所有和gtk2有关的东西都升级

pinkme005 发表于 2004-4-25 16:31:55

试试看吧

athlonxhy 发表于 2004-4-25 16:54:00

差不多要把所有和gtk2有关的东西都升级
恩,这样子比较稳妥,嘿嘿
用rpm升级的话可能比较容易。

pinkme005 发表于 2004-4-25 19:57:11

RPM的依赖比较吓人。谁把它们都打包传上来?

pinkme005 发表于 2004-4-26 21:12:23

我装了glib2.4到/usr/local/lib中去了,编译atk的时候,总是提示,pkgconfig返回了2.2.3的glib,但是也检测出了才装的2.4版本,只是说pkgconfig没有找到位置,要定义LD_LARBRAY_PATH和PKG_CONFIG_PATH的指向,怎么搞啊??

checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.0.0...
*** 'pkg-config --modversion glib-2.0' returned 2.2.3, but GLIB (2.4.0)
*** 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.0 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/. If GLIB is installed
*** but not in the same location as pkg-config add the location of the file
*** glib-2.0.pc to the environment variable PKG_CONFIG_PATH.

njue 发表于 2004-5-10 21:31:50

我装了glib2.4到/usr/local/lib中去了,编译atk的时候,总是提示,pkgconfig返回了2.2.3的glib,但是也检测出了才装的2.4版本,只是说pkgconfig没有找到位置,要定义LD_LARBRAY_PATH和PKG_CONFIG_PATH的指向,怎么搞啊??

checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.0.0...
*** 'pkg-config --modversion glib-2.0' returned 2.2.3, but GLIB (2.4.0)
*** 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.0 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/. If GLIB is installed
*** but not in the same location as pkg-config add the location of the file
*** glib-2.0.pc to the environment variable PKG_CONFIG_PATH.
这是告诉你系统发现了2个glib的版本.不知道具体采用哪个
你应该在.configure 之前先设定pkgconfig的环境变量路径:
./configure 之前,先执行
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
(2.4.0版本的pkgconfig的默认路径)
页: [1]
查看完整版本: 哪位知道怎么把RH9的gtk升级到2.4啊,我搞了一晚了!