LinuxSir.cn,穿越时空的Linuxsir!

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

烦人的gtk+2.4,救命!!

[复制链接]
发表于 2004-4-27 15:07:15 | 显示全部楼层 |阅读模式
以前安装过,根本装不上。这次好了,openq竟然用了它,恼啊。
硬下心去装吧,一个依赖问题怎么也解决不了:
libXinerama.so.1 is needed by gtk+-2.4.0-1
可是这个东西已经有了啊,在/usr/X11R6/lib下面,而且在/etc/ld.so.conf中也有/usr/X11R6/lib啊。怎么办啊,解决不了没法用openq0.3了,帮帮我吧
我用的XFree86-4.4.0,gnome2.4
发表于 2004-4-27 16:15:28 | 显示全部楼层
奇怪,我没有这个库文件,但是也装上了啊
发表于 2004-4-27 16:43:04 | 显示全部楼层
下面有贴,自己看!!
 楼主| 发表于 2004-4-27 16:52:49 | 显示全部楼层
to pinkme:
你那个帖子对我没用啊
发表于 2004-4-30 23:19:24 | 显示全部楼层

回复: 烦人的gtk+2.4,救命!!

最初由 johnboo 发表
以前安装过,根本装不上。这次好了,openq竟然用了它,恼啊。
硬下心去装吧,一个依赖问题怎么也解决不了:
libXinerama.so.1 is needed by gtk+-2.4.0-1
可是这个东西已经有了啊,在/usr/X11R6/lib下面,而且在/etc/ld.so.conf中也有/usr/X11R6/lib啊。怎么办啊,解决不了没法用openq0.3了,帮帮我吧
我用的XFree86-4.4.0,gnome2.4


呵呵,--nodeps算了。我就是这么干的。 我这里需要自己编译的用gtk+-的不多,gvim跟openq。别的用rpm装就行了。
发表于 2004-4-30 23:34:37 | 显示全部楼层
加上--nodeps --force,然后再装个apt,用apt-get check就可以解决依赖性问题了,很好用。
发表于 2004-4-30 23:49:23 | 显示全部楼层
可以自己编译
先编译打包 atk 、pango、glib,安装, 最后编译打包 gtk。打包成rpm很方便。spec可参考下载到的src.rpm里的spec
发表于 2004-5-2 20:23:38 | 显示全部楼层
checking for Win32... no
checking for aclocal flags...
checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.0.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
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.
[root@localhost atk-1.6.0]# make
make: *** No targets specified and no makefile found.  Stop.
[root@localhost atk-1.6.0]# make install
make: *** No rule to make target `install'.  Stop.


安装了glib 2.4 ,安装没有出错
但是在安装gtk ,atk ,pango的时候老是不行。。。
发表于 2004-12-20 08:52:25 | 显示全部楼层

编译安装的有三步

./configure
make
make install
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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