LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: 死神

gimp2.0安装错误,请大家帮忙,谢谢

[复制链接]
 楼主| 发表于 2004-4-3 12:32:47 | 显示全部楼层
大家帮我看看这段,谢谢
我怎样才能remove the old version of the gtk
我已经rpm -e gtk+1.2.10-25 --nodeps
rpm -e gtk+-deve-1.2.10-25 --nodeps
但是还是不行
l

*** 'pkg-config --modversion gtk+-2.0' returned 2.4.0, but GTK+ (2.2.1)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GTK+. 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
发表于 2004-4-4 03:28:39 | 显示全部楼层
不好意思,现在才有时间回你的贴,问题已经解决,

如果你就是想REMOVE的OLD GTK 2.0   

DO IT LIKE THIS:

首先去到你在终端运行: pkg-config --cflags glib-2.0

如果出现结果为:-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
那么去到/usr/lib/下删除掉:libglib2.0*

再运行软件,如果提示找不到libglib2.0*(因为设置的问题,有的可以直接找到glib2.4.0新的目录所在!!!)   去到/usr/local/lib下找到GLIB2.0里面的LIB目录然后把里面的LIBGLIB* 复制到刚刚删除了libglib2.0的目录下!
 楼主| 发表于 2004-4-4 12:31:47 | 显示全部楼层
55555555,试过了不行,还是说
*** 'pkg-config --modversion gtk+-2.0' returned 2.4.0, but GTK+ (2.2.1)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GTK+. 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

而且我把libglib-1.2(老版本的是这个,2.0那个是libglib2.4的)置为old,然后重启就进不了x了,改回来就可以了.
有没有办法让x用新的glib,
发表于 2004-4-4 12:47:21 | 显示全部楼层
可以!!!

首先你所要做的是清除旧的联接关联!!

我上面告诉删除的是GLIB升级到GLIB2.4.0的方法,现在你应该已经成功升级了,


我看你现在出问题是在GTK+2.4.0,你要删除了旧的联接,:如果你在./CONFIGURE时用的默认的安装位置,那么你要要删除/USR/LIB/LIBGTK*的联接,然后去到/USR/LOCAL/LIB/复制相关的LIBGTK*到这里~~~


有错误贴一下
 楼主| 发表于 2004-4-4 14:57:28 | 显示全部楼层
现在很多都不能用了,如运行gnome-terminal:提示
gnome-terminal: relocation error: /usr/lib/libgobject-2.0.so.0: undefined symbol: g_bsearch_array_new

而且我重新编译时,发现glib2.2.1(就是老的版本)都找不到了

请问这是怎么回事?该怎么解决啊
发表于 2004-4-4 16:21:08 | 显示全部楼层
如果系统提示找不到libgobject-2.0.so.0
你可以用FIND -NAME GLIBOBJECT*找找看!!再复制到提示的位置~~~


~~~~~~~~题外话:如果你是在做GNOME的新版本升级,那么请不要这么装继续下去!!!
因为一开头就是一个错误埋在那里!!!如果你是高手,又不怕手动调整设置的话你才可以继续延着现在装下去!!!

如果你单单是为了装GLIB-2.4.0 ,GTK-2.4.0,PANGO-2.4.0,ATK的话可以像我说的解决问题!!

不知道你都安装好了那些软件!!贴一下!!!
发表于 2004-4-4 21:14:52 | 显示全部楼层
make: *** No targets specified and no makefile found.  Stop.



我在安GTK2.4时   ./configure完了后要make时就出现了这个

我要怎么办呀:thank :thank :thank :help :help :help
发表于 2004-4-4 21:36:20 | 显示全部楼层
configure: error: Pango 1.2.0 and Xft backend is required for x11 target


应该是这个问题导致不能make
问一下这个问题该怎么解决
发表于 2004-4-5 00:18:51 | 显示全部楼层
系统提示,找不到安装的PANGO的位置,你可以再安装一下PANGO1.4

同时要安装ATK ,GLIB2.4.0 的新版本!!喔~~~~

错误贴出来吧`~~~
发表于 2004-4-20 08:55:37 | 显示全部楼层
提示这样说明什么?
-----------------------------------------
checking for glib-2.0 >= 2.4.0    atk >= 1.0.1    pango >= 1.4.0... Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found

configure: error: Library requirements (glib-2.0 >= 2.4.0    atk >= 1.0.1    pango >= 1.4.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
[root@localhost gtk+-2.4.0]#
-------------------------------------------
谢谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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