2007年5月16日星期三

xmms的安装

1下载文件:http://www.xmms.org/download.php
XMMS 1.2.10 (tar.bz2)
若提示
”checking for GLIB - version >= 1.2.2... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: error: *** GLIB >= 1.2.2 not installed - please install first ***”
原因为”the glib-config script is used in the 1.2.x version of glib/gtk. Your
application needs
to be compiled against gtk 1.2, NOT gtk 2.0.x.
You need to install the development packages for gtk 1.2 (either from
sources or a package)
You can install both versions (1.2 and 2.x) with no problem as 2.0 uses
the script pkg-config.
2下载安装glib与gtk即可:ftp://ftp.gtk.org/pub/gtk/v1.2/
下载glib1.2.8,不要下载1.2.9 ,不好用
下载gtk 1.2.9
动态链接lib: ldconfig -f /etc/ld.so.conf
./configure |make |make install
若再有错提示如下:
ir.c:19: error: static declaration of 'keepGoing' follows non-static declaration
ir.h:53: error: previous declaration of 'keepGoing' was here
ir.c:22: error: static declaration of 'irapp_thread' follows non-static declaration
ir.h:52: error: previous declaration of 'irapp_thread' was here
解决方法1打开./general/ir/ir.h 把
extern pthread_t irapp_thread;
extern gboolean keepGoing;
两句注释掉
解决方法2用低版gcc

3 安装 xmms

4 中文显示
开始时,中文显示乱码,我作了一下调整,中文显示正常了。
第一步:禁用ID3V2标签
首选项=>;音频输入输出插件 选中 MPEG Layer 1/2/3 播放器 然后再点下面的 “配置 ” 切换到标题后选择“禁用ID3V2标签” =>; “确定”
第二步:选择字体-font,把一下复制进去代替默认的就可以
-sony-*-*-*-*-*-16-*-*-*-*-*-iso8859-1,-*-*-*-*-*-*-16-*-*-*-*-*-gbk-0
记住字体调试选项里把前面那两个勾都打上,其它的字体设置也可以同样设置。

没有评论: