现在的位置: 首页 > 综合 > 正文

ubuntu9.04安装xmms

2013年09月09日 ⁄ 综合 ⁄ 共 1304字 ⁄ 字号 评论关闭

ubuntu9.04安装xmms

http://xmms.org/files/1.2.x/xmms-1.2.11.tar.gz

结果出现下面问题:
checking for glib-config... no
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 ***

一步一步解决它,安装libglib1.2-dev即可:
zhancang@ubuntu:~$ sudo apt-get install libglib1.2-dev

安装之后再编译,又出现下面一个问题(注意两个不一样):
checking for gtk-config... no
checking for GTK - version >= 1.2.2... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: error: *** GTK+ >= 1.2.2 not installed - please install first ***

再解决掉它,安装libgtk1.2-dev:
zhancang@ubuntu:~$ sudo apt-get install libgtk1.2-dev

一切OK了,下面就可以安装了。
sudo ./configure
sudo make
sudo make install

界面乱码解决方法:

第一步:
sudo cp /etc/gtk/gtkrc.zh_CN /etc/gtk/gtkrc.zh_CN.utf-8

第二步:

这时XMMS的菜单等就不乱码了! 但是播放清单的字还会是乱码。运行XMMS后,用右键点击XMMS=>选项=>首选项=>字体。然后把以下代码填进去。选中“使用字体(集支持中文等多字节语言时需要选中)”和”使用X字体“。

-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,-*-*-medium-r-normal--16-*-*-*-*-*-gb2312.1980-0,*-r-*

最后一步:

设置标题的显示格式。默认的情况是要显示ID3,因为部分ID3的编码不同,就会产生乱码。设置为显示文件名就不存在这个问题了,何况某些ID3的内容是和歌曲无关的。建议大家设置为只显示文件名的格式。

%f

抱歉!评论已关闭.