audacious-2.0.1.tgz安装出错怎么办?

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
追疯少年
帖子: 950
注册时间: 2008-03-13 23:37
联系:

audacious-2.0.1.tgz安装出错怎么办?

#1

帖子 追疯少年 » 2009-06-08 7:51

jia@jia-laptop:~/Desktop$ tar -zxvf audacious-2.0.1.tgz
jia@jia-laptop:~/Desktop$ cd /home/jia/Desktop/audacious-2.0.1
jia@jia-laptop:~/Desktop/audacious-2.0.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 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 ISO C89... none needed
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether we need an implib... no
checking for shared library system... GNU
checking if you are running Apple-GCC... no
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking for ranlib... ranlib
checking for strerror in -lcposix... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
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... 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... no
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 style of include used by make... GNU
checking for GNU make... make
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of gcc... none
checking for strerror in -lcposix... (cached) no
checking whether byte ordering is bigendian... no
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) 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 GLIB... no
configure: error:
Cannot find Glib2! If you are using binary packages based system, check that you
have the corresponding -dev/devel packages installed.


jia@jia-laptop:~/Desktop/audacious-2.0.1$ make
Makefile:219: buildsys.mk: 没有该文件或目录
make: *** 没有规则可以创建目标“buildsys.mk”。 停止。
头像
upsuper
帖子: 361
注册时间: 2008-06-08 13:31
来自: 福州
联系:

Re: audacious-2.0.1.tgz安装出错怎么办?

#2

帖子 upsuper » 2009-06-08 11:12

人错误提示都告诉你了……
执行

代码: 全选

sudo apt-get install libglib2.0-dev
头像
dsj
帖子: 810
注册时间: 2008-08-21 20:26

Re: audacious-2.0.1.tgz安装出错怎么办?

#3

帖子 dsj » 2009-06-08 19:25

apt-get install audacious
软件交流群:17264279
图书分享群:18246379
互动社区:http://www.ubuntuchina.com/
头像
追疯少年
帖子: 950
注册时间: 2008-03-13 23:37
联系:

Re: audacious-2.0.1.tgz安装出错怎么办?

#4

帖子 追疯少年 » 2009-06-09 7:34

upsuper 写了:人错误提示都告诉你了……
执行

代码: 全选

sudo apt-get install libglib2.0-dev
我安装了libglib2.0-dev之后,再重新安装audacious,还是一样的错误!
这到底是怎么回事???难道ubuntu就不能tar包安装软件???非要deb安装???

代码: 全选

checking for GLIB... yes
checking for GTHREAD... yes
checking for GTK... no
configure: error:
Cannot find Gtk+2! If you are using binary packages based system, check that you
have the corresponding -dev/devel packages installed.
头像
追疯少年
帖子: 950
注册时间: 2008-03-13 23:37
联系:

Re: audacious-2.0.1.tgz安装出错怎么办?

#5

帖子 追疯少年 » 2009-06-09 7:35

dsj 写了:apt-get install audacious
想装个高版本的。。。。
头像
upsuper
帖子: 361
注册时间: 2008-06-08 13:31
来自: 福州
联系:

Re: audacious-2.0.1.tgz安装出错怎么办?

#6

帖子 upsuper » 2009-06-10 15:45

追疯少年 写了:
upsuper 写了:人错误提示都告诉你了……
执行

代码: 全选

sudo apt-get install libglib2.0-dev
我安装了libglib2.0-dev之后,再重新安装audacious,还是一样的错误!
这到底是怎么回事???难道ubuntu就不能tar包安装软件???非要deb安装???

代码: 全选

checking for GLIB... yes
checking for GTHREAD... yes
checking for GTK... no
configure: error:
Cannot find Gtk+2! If you are using binary packages based system, check that you
have the corresponding -dev/devel packages installed.
不是不能用源码包,而是用源代码包的时候需要自己解决编译和依赖问题……

执行

代码: 全选

sudo apt-get install libgtk2.0-dev
要学会看 configure 的错误提示
Cannot find Gtk+2! If you are using binary packages based system, check that you
have the corresponding -dev/devel packages installed.
不能找到 Gtk+2!如果你在使用一个基于二进制包管理的系统,确保你已经安装了对应的 -dev/devel 包。
头像
追疯少年
帖子: 950
注册时间: 2008-03-13 23:37
联系:

Re: audacious-2.0.1.tgz安装出错怎么办?

#7

帖子 追疯少年 » 2009-06-11 8:58

楼上的大侠,可否说得具体点~~~
越具体越好~~~

先谢谢了~
头像
upsuper
帖子: 361
注册时间: 2008-06-08 13:31
来自: 福州
联系:

Re: audacious-2.0.1.tgz安装出错怎么办?

#8

帖子 upsuper » 2009-06-11 9:08

追疯少年 写了:楼上的大侠,可否说得具体点~~~
越具体越好~~~

先谢谢了~
就是说,本来你如果直接安装 deb 包,里面包含了必要的依赖信息,apt 会帮助你自动安装这个软件所依赖的软件、库,但编译安装不会。除此之外,编译安装面临的另外一个问题是——他需要编译!这意味着你不仅需要自己手动安装其本身依赖的软件,还需要自己手动安装编译它所需要的开发文件,比如对于 C 和 C++ 就是一些 .h 的头文件。这些开发文件常常被包括在以 -dev 为后缀的包当中。要编译安装一个软件,你必须自己手动安装好以上编译它所需要的所有开发文件。值得庆幸的是,apt 里面包含了几乎所有需要的东西,而同时,configure 也会提供充分的提示,告诉你应该安装哪些东西。注意,configure 在哪里停下来,你就认真看那行是需要什么东西,然后你就去找相应的 -dev 包安装上就可以了。
oucanrong
帖子: 295
注册时间: 2009-05-20 18:26

Re: audacious-2.0.1.tgz安装出错怎么办?

#9

帖子 oucanrong » 2009-06-11 9:10

./configure其中一个作用就是帮助你检查依赖环境,还会提示错误,缺少什么-dev包,装上相关-dev,再执行./configure ,如果没有提示错误就可以Make了,audacious-2.0.1一出,我马上就装上了,不过要注意,放歌的文件夹要英文,不要中文,不然会打不开,因为audacious-2.0.1是英文版的,对中文支持不好。audacious-2.0.1对ape的cue支持更好!
头像
追疯少年
帖子: 950
注册时间: 2008-03-13 23:37
联系:

Re: audacious-2.0.1.tgz安装出错怎么办?

#10

帖子 追疯少年 » 2009-06-18 8:07

oucanrong 写了:./configure其中一个作用就是帮助你检查依赖环境,还会提示错误,缺少什么-dev包,装上相关-dev,再执行./configure ,如果没有提示错误就可以Make了,audacious-2.0.1一出,我马上就装上了,不过要注意,放歌的文件夹要英文,不要中文,不然会打不开,因为audacious-2.0.1是英文版的,对中文支持不好。audacious-2.0.1对ape的cue支持更好!
谢谢你的解答。
我现在已经把那些依赖问题解决了,姑且把audacious装上了吧。
在“sound & video”里面有audacious的图标,点击了却没反应

这是为什么呢?看来我是安装时候出错了吧。
不知道如何解决~~~ :em20
头像
upsuper
帖子: 361
注册时间: 2008-06-08 13:31
来自: 福州
联系:

Re: audacious-2.0.1.tgz安装出错怎么办?

#11

帖子 upsuper » 2009-06-18 23:15

追疯少年 写了:
oucanrong 写了:./configure其中一个作用就是帮助你检查依赖环境,还会提示错误,缺少什么-dev包,装上相关-dev,再执行./configure ,如果没有提示错误就可以Make了,audacious-2.0.1一出,我马上就装上了,不过要注意,放歌的文件夹要英文,不要中文,不然会打不开,因为audacious-2.0.1是英文版的,对中文支持不好。audacious-2.0.1对ape的cue支持更好!
谢谢你的解答。
我现在已经把那些依赖问题解决了,姑且把audacious装上了吧。
在“sound & video”里面有audacious的图标,点击了却没反应

这是为什么呢?看来我是安装时候出错了吧。
不知道如何解决~~~ :em20
在命令行里执行,看看有没有输出什么错误信息
头像
追疯少年
帖子: 950
注册时间: 2008-03-13 23:37
联系:

Re: audacious-2.0.1.tgz安装出错怎么办?

#12

帖子 追疯少年 » 2009-06-19 6:28

终端里面执行audacious没反应???
头像
smallapple
论坛版主
帖子: 7868
注册时间: 2009-03-28 15:12

Re: audacious-2.0.1.tgz安装出错怎么办?

#13

帖子 smallapple » 2009-06-19 8:06

源里面装的。

Screenshot-关于Audacious.png
回复