红联Linux门户
Linux帮助

FC6安装XMMS过程和经验总结,听音乐的人必进

发布时间:2007-05-10 00:33:53来源:红联作者:Amayjasne
  1.执行yum install xmms(如果不是FC系统的 自己去官方网下一个http://www.xmms.org/ 编译安装一下主程序),再执行一下yum install xmms-dev,这个对后面装歌词插件有用

  2.去http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/6/ 下载xmms-mp3和xmms-wma并安装 不然默认不能播放mp3和wma的

  3.中文列表显示问题:xmms中ctrl+p-->fonts-->两个都勾上,字体里面填上 -sony-*-*-*-*-*-16-*-*-*-*-*-iso8859-1,-*-*-*-*-*-*-16-*-*-*-*-*-gbk-0

  或者在默认字体后面加上你机器里有的字体变成-adobe-helvetica-bold-r-*-*-10-*,hanzigb16st(hanzigb16st这个字体你可以用命令xlsfonts 在终端里看你机器上是不是装了)

  再把标题卡片里的标题格式改成%f

  这样你的list里中文就正常了 但是如果你是英文系统 可能你现在打开文件时看到的目录里的中文文件名还是乱码 这就需要你自己写一个启动器了 名字就叫xmms.sh 内容是:

   #xmms
   export LANG="zh_CN.UTF-8"
   xmms

  保存 然后改变该文件属性

   chmod 777 xmms.sh

  使它变成可执行文件 以后用这个启动器打开xmms的话 就会变成中文界面的 打开文件时看到的目录里的中文文件名也会变正常

  4.皮肤:XMMS皮肤下载网址:http://www.gnome-look.org/index.php?xsortmode=new&page=0(点左面xmms themes 推荐下一个winamp5的皮肤 就是本人使用的那个) 也可以去官方网http://www.xmms.org/自己下载

  将下载的皮肤文件不解压缩直接放入/usr/share/xmms/Skins/

  例如:
  su
  cp XX.bz2 /usr/share/xmms/Skins/

  打开xmms后就可以自己选择皮肤了

  5.歌词显示:安装xlyrics 下载在http://myget.sourceforge.net/xlyrics/xlyrics-0.4.6.tar.gz

  解压缩后用root进行安装

   ./configure
   make
   make install

  装完后 在终端就可以用xlyrics命令打开可以进行设置比如歌词目录 你的歌词文件名必须跟歌名一样 不然是认不出来的 歌词可以右击xlyrics窗口里面有下载选项 也可以自己去歌词网上下载 比如这个网http://www.5ilrc.com/index.asp 但还是有一个问题 xlyrics对utf-8编码不支持 显示的是乱码所以安装之后还要做点工作:

  先su切换到root用户 然后执行

   mv /usr/local/bin/xlyrics /usr/bin/local/xlyrics.bak
   vim /usr/local/bin/xlyrics

  在里面输入如下内容:

   export LANG=“zh_CN.GB18030”
   /usr/local/bin/xlyrics.bak

  保存退出 上面不要用zh_CN.GB2312 因为用这个的话 下载歌词功能不能正常使用 然后切记要

  chmod 777 /usr/local/bin/xlyrics

  不然还是打不开xlyrics的 呵呵

  好了 现在可以启动xmms.sh了然后在选项-首选项-通用插件里面选Xlyrics plugin-启用

  以后就可以用xmms.sh打开xmms并自动启用xlyrics了。
文章评论

共有 1 条评论

  1. yuanye185 于 2007-06-30 13:40:51发表:

    [root@localhost ~]# cd /root/Download/
    [root@localhost Download]# cd xlyric-0.4.6
    bash: cd: xlyric-0.4.6: 没有那个文件或目录
    [root@localhost Download]# cd xlyrics-0.4.6
    [root@localhost xlyrics-0.4.6]# .configure
    bash: .configure: command not found
    [root@localhost xlyrics-0.4.6]# ./configure
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking dependency style of g++... gcc3
    checking for strerror in -lcposix... no
    checking how to run the C preprocessor... gcc -E
    checking for egrep... grep -E
    checking for ANSI C header files... yes
    checking for inline... inline
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for a sed that does not truncate output... /bin/sed
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for BSD-compatible nm... /usr/bin/nm -B
    checking whether ln -s works... yes
    checking how to recognise dependent libraries... pass_all
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... yes
    checking how to run the C++ preprocessor... g++ -E
    checking for g77... no
    checking for f77... no
    checking for xlf... no
    checking for frt... no
    checking for pgf77... no
    checking for fort77... no
    checking for fl32... no
    checking for af77... no
    checking for f90... no
    checking for xlf90... no
    checking for pgf90... no
    checking for epcf90... no
    checking for f95... f95
    checking whether we are using the GNU Fortran 77 compiler... yes
    checking whether f95 accepts -g... yes
    checking the maximum length of command line arguments... 32768
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for objdir... .libs
    checking for ar... ar
    checking for ranlib... ranlib
    checking for strip... strip
    checking if gcc static flag works... yes
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC
    checking if gcc PIC flag -fPIC works... yes
    checking if gcc supports -c -o file.o... yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    configure: creating libtool
    appending configuration tag "CXX" to libtool
    checking for ld used by g++... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC
    checking if g++ PIC flag -fPIC works... yes
    checking if g++ supports -c -o file.o... yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    appending configuration tag "F77" to libtool
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking for f95 option to produce PIC... -fPIC
    checking if f95 PIC flag -fPIC works... yes
    checking if f95 supports -c -o file.o... yes
    checking whether the f95 linker (/usr/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether NLS is requested... yes
    checking for msgfmt... /usr/bin/msgfmt
    checking for gmsgfmt... /usr/bin/msgfmt
    checking for xgettext... /usr/bin/xgettext
    checking for msgmerge... /usr/bin/msgmerge
    checking for ranlib... (cached) ranlib
    checking for an ANSI C-conforming const... yes
    checking for off_t... yes
    checking for size_t... yes
    checking for working alloca.h... yes
    checking for alloca... yes
    checking for stdlib.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for getpagesize... yes
    checking for working mmap... yes
    checking whether we are using the GNU C Library 2.1 or newer... yes
    checking whether integer division by zero raises SIGFPE... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unsigned long long... yes
    checking for inttypes.h... yes
    checking whether the inttypes.h PRIxNN macros are broken... no
    checking for ld used by GCC... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for shared library run path origin... /bin/sh: ./config.rpath: No such file or directory
    done
    checking argz.h usability... yes
    checking argz.h presence... yes
    checking for argz.h... yes
    checking limits.h usability... yes
    checking limits.h presence... yes
    checking for limits.h... yes
    checking locale.h usability... yes
    checking locale.h presence... yes
    checking for locale.h... yes
    checking nl_types.h usability... yes
    checking nl_types.h presence... yes
    checking for nl_types.h... yes
    checking malloc.h usability... yes
    checking malloc.h presence... yes
    checking for malloc.h... yes
    checking stddef.h usability... yes
    checking stddef.h presence... yes
    checking for stddef.h... yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking sys/param.h usability... yes
    checking sys/param.h presence... yes
    checking for sys/param.h... yes
    checking for feof_unlocked... yes
    checking for fgets_unlocked... yes
    checking for getc_unlocked... yes
    checking for getcwd... yes
    checking for getegid... yes
    checking for geteuid... yes
    checking for getgid... yes
    checking for getuid... yes
    checking for mempcpy... yes
    checking for munmap... yes
    checking for putenv... yes
    checking for setenv... yes
    checking for setlocale... yes
    checking for stpcpy... yes
    checking for strcasecmp... yes
    checking for strdup... yes
    checking for strtoul... yes
    checking for tsearch... yes
    checking for __argz_count... yes
    checking for __argz_stringify... yes
    checking for __argz_next... yes
    checking for __fsetlocking... yes
    checking for iconv... yes
    checking for iconv declaration...
    extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
    checking for nl_langinfo and CODESET... yes
    checking for LC_MESSAGES... yes
    checking for bison... bison
    checking version of bison... 2.3, ok
    checking whether NLS is requested... yes
    checking whether included gettext is requested... no
    checking for GNU gettext in libc... yes
    checking whether to use NLS... yes
    checking where the gettext function comes from... libc
    checking for pkg-config... /usr/bin/pkg-config
    checking for gtk+-2.0 >= 2.4.0 gdk-2.0 >= 2.4.0 glib-2.0 >= 2.4.0... [root@localhost xlyrics-0.4.6]# make
    make: *** 没有指明目标并且找不到 makefile。 停止。
    [root@localhost xlyrics-0.4.6]# make
    make: *** 没有指明目标并且找不到 makefile。 停止。
    [root@localhost xlyrics-0.4.6]# make install
    make: *** 没有规则可以创建目标“install”。 停止。
    [root@localhost xlyrics-0.4.6]# ./configure
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking dependency style of g++... gcc3
    checking for strerror in -lcposix... no
    checking how to run the C preprocessor... gcc -E
    checking for egrep... grep -E
    checking for ANSI C header files... yes
    checking for inline... inline
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for a sed that does not truncate output... /bin/sed
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for BSD-compatible nm... /usr/bin/nm -B
    checking whether ln -s works... yes
    checking how to recognise dependent libraries... pass_all
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... yes
    checking how to run the C++ preprocessor... g++ -E
    checking for g77... no
    checking for f77... no
    checking for xlf... no
    checking for frt... no
    checking for pgf77... no
    checking for fort77... no
    checking for fl32... no
    checking for af77... no
    checking for f90... no
    checking for xlf90... no
    checking for pgf90... no
    checking for epcf90... no
    checking for f95... f95
    checking whether we are using the GNU Fortran 77 compiler... yes
    checking whether f95 accepts -g... yes
    checking the maximum length of command line arguments... 32768
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for objdir... .libs
    checking for ar... ar
    checking for ranlib... ranlib
    checking for strip... strip
    checking if gcc static flag works... yes
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC
    checking if gcc PIC flag -fPIC works... yes
    checking if gcc supports -c -o file.o... yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    configure: creating libtool
    appending configuration tag "CXX" to libtool
    checking for ld used by g++... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC
    checking if g++ PIC flag -fPIC works... yes
    checking if g++ supports -c -o file.o... yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    appending configuration tag "F77" to libtool
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking for f95 option to produce PIC... -fPIC
    checking if f95 PIC flag -fPIC works... yes
    checking if f95 supports -c -o file.o... yes
    checking whether the f95 linker (/usr/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether NLS is requested... yes
    checking for msgfmt... /usr/bin/msgfmt
    checking for gmsgfmt... /usr/bin/msgfmt
    checking for xgettext... /usr/bin/xgettext
    checking for msgmerge... /usr/bin/msgmerge
    checking for ranlib... (cached) ranlib
    checking for an ANSI C-conforming const... yes
    checking for off_t... yes
    checking for size_t... yes
    checking for working alloca.h... yes
    checking for alloca... yes
    checking for stdlib.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for getpagesize... yes
    checking for working mmap... yes
    checking whether we are using the GNU C Library 2.1 or newer... yes
    checking whether integer division by zero raises SIGFPE... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unsigned long long... yes
    checking for inttypes.h... yes
    checking whether the inttypes.h PRIxNN macros are broken... no
    checking for ld used by GCC... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for shared library run path origin... /bin/sh: ./config.rpath: No such file or directory
    done
    checking argz.h usability... yes
    checking argz.h presence... yes
    checking for argz.h... yes
    checking limits.h usability... yes
    checking limits.h presence... yes
    checking for limits.h... yes
    checking locale.h usability... yes
    checking locale.h presence... yes
    checking for locale.h... yes
    checking nl_types.h usability... yes
    checking nl_types.h presence... yes
    checking for nl_types.h... yes
    checking malloc.h usability... yes
    checking malloc.h presence... yes
    checking for malloc.h... yes
    checking stddef.h usability... yes
    checking stddef.h presence... yes
    checking for stddef.h... yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking sys/param.h usability... yes
    checking sys/param.h presence... yes
    checking for sys/param.h... yes
    checking for feof_unlocked... yes
    checking for fgets_unlocked... yes
    checking for getc_unlocked... yes
    checking for getcwd... yes
    checking for getegid... yes
    checking for geteuid... yes
    checking for getgid... yes
    checking for getuid... yes
    checking for mempcpy... yes
    checking for munmap... yes
    checking for putenv... yes
    checking for setenv... yes
    checking for setlocale... yes
    checking for stpcpy... yes
    checking for strcasecmp... yes
    checking for strdup... yes
    checking for strtoul... yes
    checking for tsearch... yes
    checking for __argz_count... yes
    checking for __argz_stringify... yes
    checking for __argz_next... yes
    checking for __fsetlocking... yes
    checking for iconv... yes
    checking for iconv declaration...
    extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
    checking for nl_langinfo and CODESET... yes
    checking for LC_MESSAGES... yes
    checking for bison... bison
    checking version of bison... 2.3, ok
    checking whether NLS is requested... yes
    checking whether included gettext is requested... no
    checking for GNU gettext in libc... yes
    checking whether to use NLS... yes
    checking where the gettext function comes from... libc
    checking for pkg-config... /usr/bin/pkg-config
    checking for gtk+-2.0 >= 2.4.0 gdk-2.0 >= 2.4.0 glib-2.0 >= 2.4.0... [root@localhost xlyrics-0.4.6]# make
    make: *** 没有指明目标并且找不到 makefile。 停止。
    [root@localhost xlyrics-0.4.6]# make install
    make: *** 没有规则可以创建目标“install”。 停止。
    [root@localhost xlyrics-0.4.6]#




    这是 为什么?//