Ubuntu9.04 install xmms
Http://xmms.org/files/1.2.x/xmms-1.2.11.tar.gz
The following problem occurs:
Checking for glib-config... no
Checking for glib-version> = 1.2.2... no
* ** The glib-config script installed by glib cocould 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
* ** Full path to glib-config.
Configure: Error: *** glib> = 1.2.2 not installed-Please install first ***
To solve this problem step by step, install libglib1.2-Dev:
Zhancang @ Ubuntu :~ $ Sudo apt-Get install libglib1.2-Dev
After the installation, compile again, and the following problem occurs (note that the two are different ):
Checking for GTK-config... no
Checking for GTK-version> = 1.2.2... no
* ** The GTK-config script installed by GTK cocould 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
* ** Full path to GTK-config.
Configure: Error: *** GTK +> = 1.2.2 not installed-Please install first ***
And install libgtk1.2-Dev:
Zhancang @ Ubuntu :~ $ Sudo apt-Get install libgtk1.2-Dev
Everything is OK. you can install it below.
Sudo./configure
Sudo make
Sudo make install
Solution to garbled interface:
Step 1:
Sudo CP/etc/GTK/gtkrc. zh_cn/etc/GTK/gtkrc. zh_CN.utf-8
Step 2:
At this time, the xmms menu will not be garbled! However, the words in the playlist are garbled. After running xmms, right-click xmms and choose Options> preference => font. Enter the following code. Select "Use font (set to support multi-byte languages such as Chinese)" and "use X Font".
-Adobe-Helvetica-Medium-r-normal -- 12-*-iso8859-1, -*-Medium-r-normal -- 16-*-gb2312.1980-0, *-r -*
Last step:
Set the title display format. By default, ID3 is displayed, because some ID3 codes are different, garbled characters are generated. This problem does not occur when the file name is set to display. Besides, some ID3 contents are irrelevant to songs. We recommend that you set it to display only the file name format.
% F