- 论坛徽章:
- 0
|
从www.xmms.org获得源代码包,直接./configure, make, make install三部曲搞定。
中间出了一些小插曲。
首先是./configure时提示找不到glib—1.2.2和gtk+-1.2.2或以后的版本,但是系统系统中已经安装了相应的版本,后来才知道需
要的是glib-devel-1.2.2和gtk+-devel-1.2.2,安装后搞定。configure信息如下:
Configuration:
Install path: /usr/local
Build OSS plugin: yes
Build esd plugin: yes
Build Solaris plugin: no
Build BSD Sun plugin: no
Build ALSA plugin: yes
Build mikmod plugin: no
Build Ogg Vorbis plugin: yes
Build OpenGL plugins: yes
Pthread flag: -lpthread
Use one plugin dir: no
Allow user plugin dir: yes
之后make,在make过程中报了若干警报,最后报错退出。错误如下:
ir.c:19: error: static declaration of 'keepGoing' follows non-static
declarationir.h:53: error: previous declaration of 'keepGoing' was here
ir.c:22: error: static declaration of 'irapp_thread' follows non-static declaration
ir.h:52: error: previous declaration of 'irapp_thread' was here
make[3]: *** [ir.lo] 错误 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/xmms-1.2.10/General/ir'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/xmms-1.2.10/General'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/xmms-1.2.10'
经多方查找,并未发现解决方案,硬着头皮继续make install。依旧报错:
ir.c:19: error: static declaration of 'keepGoing' follows non-static
declarationir.h:53: error: previous declaration of 'keepGoing' was here
ir.c:22: error: static declaration of 'irapp_thread' follows non-static declaration
ir.h:52: error: previous declaration of 'irapp_thread' was here
make[2]: *** [ir.lo] 错误 1
make[2]: Leaving directory `/home/src/xmms-1.2.10/General/ir'
make[1]: *** [install-recursive] 错误 1
make[1]: Leaving directory `/home/src/xmms-1.2.10/General'
make: *** [install-recursive] 错误 1
不管了,xmms &,居然成功运行,并可以直接播放mp3,还以为要装插件呐。
真搞不懂那些编译错误是怎么回事,也不知道它们会不会有什么影响,不管了,反正能用。
还有中文支持没解决,呵呵。
![]()
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/17527/showart_141194.html |
|