一直用的XMMS,最近重装了系统发现通过APT无法顺利安装,于是下载了源码,出现了不少问题和错误,所以做个小笔记-好记性不如烂笔头
1、下载http://xmms.org/files/1.2.x/xmms-1.2.11.tar.gz
2、安装过程:
#tar xzvf xmms-1.2.11.tar.gz
#cd xmms-1.2.11
#./configure
#make
#make install
#make clean
错误一:
”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 ***”
解决方法:#apt-get install libglib1.2-dev
错误二:
*** 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 ***
解决方法:#apt-get install libgtk1.2-dev
错误三:
xmms: error while loading shared libraries: libxmms.so.1: cannot open shared object file: No such file or directory
解决方法:拷贝/usr/local/lib/libxmms.so.1到/usr/lib/libxmms.so.1(这个文件本来就是一个链接文件)
附:wma插件:http://groups.google.com/group/xinyoo/web/libwma.so
[放到/usr/local/lib/xmms/Input/这个文件夹下]