编译安装iceplayer到opensuse出现的问题,求助!

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

编译安装iceplayer到opensuse出现的问题,求助!

#1

帖子 wwkwkj » 2011-11-21 12:04

编译过程如下

代码: 全选

linux-gme6:/home/wwkwkj/downloads/iceplayer-4.0.5-20110520 # ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
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 style of include used by make... GNU
checking dependency style of gcc... gcc3
Package gstreamer-0.10 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-0.10.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-0.10' found
Package gstreamer-0.10 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-0.10.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-0.10' found
checking for `pkg-config gtk+-2.0 --libs``pkg-config --libs gstreamer-0.10`  -lX11 -lnotify in -l`pkg-config gtk+-2.0 --libs``pkg-config --libs gstreamer-0.10`  -lX11 -lnotify... Package gstreamer-0.10 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-0.10.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-0.10' found
Package gstreamer-0.10 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-0.10.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-0.10' found
Package gstreamer-0.10 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-0.10.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-0.10' found
no
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers 
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/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 core.h usability... no
checking core.h presence... no
checking for core.h... no
checking keybinding.h usability... no
checking keybinding.h presence... no
checking for keybinding.h... no
checking update.h usability... no
checking update.h presence... no
checking for update.h... no
checking about.h usability... no
checking about.h presence... no
checking for about.h... no
checking help.h usability... no
checking help.h presence... no
checking for help.h... no
checking mini.h usability... no
checking mini.h presence... no
checking for mini.h... no
checking desktop_lrc.h usability... no
checking desktop_lrc.h presence... no
checking for desktop_lrc.h... no
checking list.h usability... no
checking list.h presence... no
checking for list.h... no
checking widget_lrc.h usability... no
checking widget_lrc.h presence... no
checking for widget_lrc.h... no
checking common.h usability... no
checking common.h presence... no
checking for common.h... no
checking id3.h usability... no
checking id3.h presence... no
checking for id3.h... no
checking single.h usability... no
checking single.h presence... no
checking for single.h... no
checking download.h usability... no
checking download.h presence... no
checking for download.h... no
checking lrc.h usability... no
checking lrc.h presence... no
checking for lrc.h... no
checking configure.h usability... no
checking configure.h presence... no
checking for configure.h... no
checking instance.h usability... no
checking instance.h presence... no
checking for instance.h... no
checking ui.h usability... no
checking ui.h presence... no
checking for ui.h... no
checking equalizer.h usability... no
checking equalizer.h presence... no
checking for equalizer.h... no
checking for inline... inline
checking for ssize_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for X... no
checking for $CC... no
checking for -c... no
checking for $CFLAGS... no
checking for $CPPFLAGS... no
checking for conftest.$ac_ext... no
checking for >&5... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating data/skin/Makefile
config.status: creating data/skin/blue_life_slax/Makefile
config.status: creating data/skin/koukou_slax/Makefile
config.status: creating data/skin/mac_slax/Makefile
config.status: creating data/skin/new_style_slax/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

代码: 全选

linux-gme6:/home/wwkwkj/downloads/iceplayer-4.0.5-20110520 # make
.........................
...........................
gcc -DHAVE_CONFIG_H -I.  `pkg-config gtk+-2.0 --cflags` `pkg-config --cflags gstreamer-0.10`    -g -O2 -MT common.o -MD -MP -MF .deps/common.Tpo -c -o common.o common.c
common.c:4:30: fatal error: libnotify/notify.h: 没有那个文件或目录
compilation terminated.
make[2]: *** [common.o] 错误 1
make[2]: 离开目录“/home/wwkwkj/downloads/iceplayer-4.0.5-20110520”
make[1]: *** [all-recursive] 错误 1
make[1]: 离开目录“/home/wwkwkj/downloads/iceplayer-4.0.5-20110520”
make: *** [all] 错误 2
是不是

代码: 全选

common.c:4:30: fatal error: libnotify/notify.h: 没有那个文件或目录
的问题啊?

发现编译安装软件时候会出现好多错误,那位前辈有关于编译安装软件的指导手册啊?
不胜感激!
每个论坛里面,都会有几个默默的不为我知的大牛,于是每次,我都心存敬畏

openSUSE12.2+KDE4.9+XP
头像
chenyehong90
帖子: 315
注册时间: 2010-10-03 17:19

Re: 编译安装iceplayer到opensuse出现的问题,求助!

#2

帖子 chenyehong90 » 2011-11-21 12:29

第一個錯誤是No p a c k a g e ' g s t r e ame r - 0 . 1 0 ' f o u n d,就是依賴的包' g s t r e ame r - 0 . 1 0 ' 沒安裝,後面應該多半都是缺少包的問題,自己先看看作者有沒給安裝的依賴說明吧。如果不是想學編譯的話,直接在網上搜rpm包就好了。
头像
wwkwkj
帖子: 318
注册时间: 2010-12-19 17:00
系统: opensuse12.2*kde4.9

Re: 编译安装iceplayer到opensuse出现的问题,求助!

#3

帖子 wwkwkj » 2011-11-21 12:51

chenyehong90 写了:第一個錯誤是No p a c k a g e ' g s t r e ame r - 0 . 1 0 ' f o u n d,就是依賴的包' g s t r e ame r - 0 . 1 0 ' 沒安裝,後面應該多半都是缺少包的問題,自己先看看作者有沒給安裝的依賴說明吧。如果不是想學編譯的話,直接在網上搜rpm包就好了。
想学编译安装软件啊!
但是opensuse提供的是下面的包
不是0.10而是0_10
附件
抓图1.png
每个论坛里面,都会有几个默默的不为我知的大牛,于是每次,我都心存敬畏

openSUSE12.2+KDE4.9+XP
头像
chenyehong90
帖子: 315
注册时间: 2010-10-03 17:19

Re: 编译安装iceplayer到opensuse出现的问题,求助!

#4

帖子 chenyehong90 » 2011-11-21 13:24

源裏提供的包能不能解决依賴就要看包的說明了,一般都能找到的吧。編譯安裝主要還是解决依賴問題。
头像
_Fly
帖子: 145
注册时间: 2011-05-10 21:46

Re: 编译安装iceplayer到opensuse出现的问题,求助!

#5

帖子 _Fly » 2011-11-21 17:48

依赖问题 这个三个包 libgstreamer-dev libgtk-dev libnotify-dev 参见iceplayer的主页吧 http://code.google.com/p/iceplayer/#编译依赖
头像
wwkwkj
帖子: 318
注册时间: 2010-12-19 17:00
系统: opensuse12.2*kde4.9

Re: 编译安装iceplayer到opensuse出现的问题,求助!

#6

帖子 wwkwkj » 2011-11-22 12:57

_Fly 写了:依赖问题 这个三个包 libgstreamer-dev libgtk-dev libnotify-dev 参见iceplayer的主页吧 http://code.google.com/p/iceplayer/#编译依赖
谢谢大家!编译好了
就是没把依赖安装完
貌似也不难啊
呵呵
:em06 :em06
每个论坛里面,都会有几个默默的不为我知的大牛,于是每次,我都心存敬畏

openSUSE12.2+KDE4.9+XP
头像
枫叶饭团
帖子: 14683
注册时间: 2010-06-16 1:05
系统: Mac OS X
来自: Tencent
联系:

Re: 编译安装iceplayer到opensuse出现的问题,求助!

#7

帖子 枫叶饭团 » 2011-11-22 13:14

有时候configure通过了,make却卡住了那才是痛。
头像
YeLee
论坛版主
帖子: 26406
注册时间: 2008-08-13 8:48
系统: Fundu i64
来自: 东海硇州,一双管钥。
联系:

Re: 编译安装iceplayer到opensuse出现的问题,求助!

#8

帖子 YeLee » 2011-11-22 18:28

:em04 :em04 :em04 不知道现在还有没有段错误的问题
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
头像
wwkwkj
帖子: 318
注册时间: 2010-12-19 17:00
系统: opensuse12.2*kde4.9

Re: 编译安装iceplayer到opensuse出现的问题,求助!

#9

帖子 wwkwkj » 2011-11-24 15:29

YeLee 写了::em04 :em04 :em04 不知道现在还有没有段错误的问题
有段错误啊!
打开闪一下就没了
怎么办啊?
我现在用的小狼头那个播放器
编译的mplayer跟smplayer用着倒挺爽的
每个论坛里面,都会有几个默默的不为我知的大牛,于是每次,我都心存敬畏

openSUSE12.2+KDE4.9+XP
头像
YeLee
论坛版主
帖子: 26406
注册时间: 2008-08-13 8:48
系统: Fundu i64
来自: 东海硇州,一双管钥。
联系:

Re: 编译安装iceplayer到opensuse出现的问题,求助!

#10

帖子 YeLee » 2011-11-25 12:37

:em04 :em04 :em04 这个bug还是等到作者考完研再回来修复吧
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
回复