ubuntu9.04安裝xmms

來源:互聯網
上載者:User

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

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.