trrrainaaa 发表于 2011-6-21 11:26:05

[Fedora14] 无网络环境,编译安装audacious,打不开,求教!

本人用的是fedora14,无网络环境,不能yum,只有手动编译安装audacious2.5.1,从官网下载了,audacious2.5.1.tgz和audacious-plugins-2.5.1.tgz,解压后,先是编译安装audacious2.5.1,先是在目录下./configure --enable-chadet 结果提示无libmowgli和libmcs,于是下载了 libmowgli-0.7.1-2.fc14.i686.rpm 、libmowgli-devel-0.9.50-1.fc16.i686.rpm 和libmcs-0.7.2-4.fc15.i686.rpm 、libmcs-devel-0.7.2-4.fc15.i686.rpm四个包给装上,再次./configure通过了,接着make;make install,此过程中,无错误提示。接着重启,在菜单上也出现了audacious图标,但点击打开却什么反应没有,连界面都出不来,用命令行打开提示错误信息如下:
# /usr/local/bin/audacious

** (audacious:5481): WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported


** (audacious:5481): CRITICAL **: dbus_g_proxy_new_for_name: assertion `connection != NULL' failed

** (audacious:5481): CRITICAL **: dbus_g_proxy_call: assertion `DBUS_IS_G_PROXY (proxy)' failed

** (audacious:5481): WARNING **: Unable to connect to dbus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
ALL OUTPUT PLUGINS FAILED TO INITIALIZE.

** (audacious:5481): CRITICAL **: dbus_g_proxy_new_for_name: assertion `connection != NULL' failed
No interface plugin found.
# /usr/local/bin/audacious

** (audacious:5685): WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported


** (audacious:5685): CRITICAL **: dbus_g_proxy_new_for_name: assertion `connection != NULL' failed

** (audacious:5685): CRITICAL **: dbus_g_proxy_call: assertion `DBUS_IS_G_PROXY (proxy)' failed

** (audacious:5685): WARNING **: Unable to connect to dbus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
ALL OUTPUT PLUGINS FAILED TO INITIALIZE.

** (audacious:5685): CRITICAL **: dbus_g_proxy_new_for_name: assertion `connection != NULL' failed
No interface plugin found.
$ rpm -qa|grep libmow gli
libmowgli-devel-0.9.50-1.fc16.i686
libmowgli-0.9.50-1.fc16.i686
本来以为要安装plugins插件,但编译安装时又报错,提示找不到安装的audacious,信息如下:
# cd audacious-plugins-2.5.1
# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for library containing strerror... none required
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
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 whether byte ordering is bigendian... no
checking for gcc... gcc
checking version of gcc... 4.5.1, ok
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for rm... /bin/rm
checking for mv... /bin/mv
checking for cp... /bin/cp
checking for ar... /usr/bin/ar
checking for tr... /usr/bin/tr
checking for ranlib... /usr/bin/ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking for a thread-safe mkdir -p... /bin/mkdir -p
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 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... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for fcntl... yes
checking for fsync... yes
checking for mkdtemp... yes
checking for strnlen... yes
checking for strtoul... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for AUDACIOUS... no
configure: error: Cannot find Audacious 2.5 or later, have you installed audacious yet?
向大家虚心求教,请问这到底是为什么?怎么排除?

jiangtao9999 发表于 2011-6-21 11:45:41

configure: error: Cannot find Audacious 2.5 or later, have you installed audacious yet?
编译一个程序需要开发部分的文件才能让编译时依赖的程序能识别到。而且这个地址还必须是可以被系统程序能找到的,最典型的就是 pkg-config 命令的配置文件,和 xxxxconfig 命令和gcc 的 include 目录位置。

** (audacious:5685): WARNING **: Unable to connect to dbus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
ALL OUTPUT PLUGINS FAILED TO INITIALIZE.
dbus 貌似有问题。但最重要问题其实是所有的输出插件都初始化失败这个提示。
audicious 是必须安装插件的。本体没有任何解码器和输出的插件。

无网络?那你为什么不用 DVD 安装盘?DVD 安装盘里面的软件很全的。而且播放器也不一定非要 audicious 啊。

dgy18787 发表于 2011-6-21 13:58:09

fedora自己的dvd好像任何解码包都没带……要自己下载gstreamer ugly的东西吧……
我就是因为这个原因而放弃了fedora,因为每次yum软件包太麻烦了。

trrrainaaa 发表于 2011-6-21 15:20:29

xmms版本太老,装不上,也不想用,那这个问题还能没有办法解决了吗?请指明方法,谢谢!

[ 本帖最后由 trrrainaaa 于 2011-6-21 15:22 编辑 ]

jiangtao9999 发表于 2011-6-21 21:08:49

Fedora 把所有有版权且必须授权才能用的解码器包都砍掉了。
你要是为了播放音乐娱乐,那么不要用 Fedora 。去选择适合娱乐的 ubuntu 吧。

sejishikong 发表于 2011-6-21 23:39:09

原帖由 trrrainaaa 于 2011-6-21 15:20 发表 http://forum.linuxfans.org/images/common/back.gif
xmms版本太老,装不上,也不想用,那这个问题还能没有办法解决了吗?请指明方法,谢谢!
单纯就播放mp3来讲,xmms不输现在任何一个播放器.

jiangtao9999 发表于 2011-6-22 17:02:07

xmms 是 gtk1 的,现在很多系统已经没有 gtk1 了。
要我说还不如自己编译一个 mplayer 来的实际。mplayer 内置ffmpeg 的方式可以直接搞定解码器系统没有的问题。

trrrainaaa 发表于 2011-6-22 21:35:09

只是想编译一个mp3播放器,但是碰到了问题,就想给解决掉,现在我audacious安装成功了,但打开时,提示要插件,于是安装插件,但还是在/audacious-plugins目录下./configure提示找不到安装的audacious?
如下:安装audacious-plugins插件,但编译安装时报错,提示找不到安装的audacious,信息如下:
# cd audacious-plugins-2.5.1
# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for library containing strerror... none required
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
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 whether byte ordering is bigendian... no
checking for gcc... gcc
checking version of gcc... 4.5.1, ok
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for rm... /bin/rm
checking for mv... /bin/mv
checking for cp... /bin/cp
checking for ar... /usr/bin/ar
checking for tr... /usr/bin/tr
checking for ranlib... /usr/bin/ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking for a thread-safe mkdir -p... /bin/mkdir -p
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 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... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for fcntl... yes
checking for fsync... yes
checking for mkdtemp... yes
checking for strnlen... yes
checking for strtoul... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for AUDACIOUS... no
configure: error: Cannot find Audacious 2.5 or later, have you installed audacious yet?

trrrainaaa 发表于 2011-6-22 21:36:03

这到底是怎么回事呢?

sejishikong 发表于 2011-6-23 01:03:54

看下config.log,有可能安装的路径不对。

trrrainaaa 发表于 2011-6-24 12:09:18

我用了./configure --prefix=/home/用户名/audacious/ AUDACIOUS_CFLAGS="-I/home/用户名/audacious/include" AUDACIOUS_LIBS="-L/home/用户名/audacious/lib" GLIB_CFLAGS="-I/usr/include/glib-2.0 -I/usr/include/glib-2.0/include" GLIB_LIBS="-L/usr/lib -lglib-2.0"命令
configure通过了,但是make不通过
提示mowgli.h:没有那个文件或目录,gtk:gtk.h:没有那个文件或目录
我fedora14的,找了一下,在/usr/include/gtk2.0 /usr/include/gtk3.0下均有gtk.h文件
且/usr/include/libmowgli下也有mowgli.h文件
于是我将命令改成:
./configure --prefix=/home/用户名/audacious/ AUDACIOUS_CFLAGS="-I/home/用户名/audacious/include" AUDACIOUS_LIBS="-L/home/用户名/audacious/lib" GLIB_CFLAGS="-I/usr/include/glib-2.0 -I/usr/include/glib-2.0/include -I/usr/include/gtk2.0 -I/usr/include/libmowgli"GLIB_LIBS="-L/usr/lib -lglib-2.0"
但还是提示mowgli.h:没有那个文件或目录,gtk:gtk.h:没有那个文件或目录,这到底是怎么回事呢?
求解,万分感谢!!!!!!!!!

jiangtao9999 发表于 2011-6-24 16:31:49

audacious 编译时 ./configure --prefix=/usr 就行了。
之后 audacious-plugins 在检测 audacious 时,调用的程序都基本都是系统默认的地址。

你现在连 prefix 都放进 home 目录了。那再出任何问题都请自己解决吧……

trrrainaaa 发表于 2011-6-24 17:49:04

竟然这么简单?我晕,谢谢啊

trrrainaaa 发表于 2011-6-24 18:10:54

安装成功了,我晕,居然困扰我多日,再次感谢jiangtao9999和众位朋友

trrrainaaa 发表于 2011-6-24 20:53:02

一波三折啊,奶奶地,装上了,也能打开,也能听,但是,点左上角的按钮,却没有"首选项"菜单?这又是怎么回事?
页: [1]
查看完整版本: [Fedora14] 无网络环境,编译安装audacious,打不开,求教!