yeale 发表于 2006-10-26 15:16:54

gxine问题

下载最新版本的gxine-0.5.8.tar.bz2
解压后,
./configure --prefix=/usr/出错:
checking whether gcc supports ?: with no middle operand... yes
checking how to specify C99 with GNU extensions for gcc... -std=gnu99
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 whether NLS is requested... yes
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking whether -R must be followed by a space... neither works
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
configure: looking for the Spidermonkey Javascript library in various places.
configure: trying mozjs via pkgconfig xulrunner-js
checking for JS... Package xulrunner-js was not found in the pkg-config search p ath.
Perhaps you should add the directory containing `xulrunner-js.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xulrunner-js' found
no
no
configure: trying libjs via pkgconfig
checking for JS... Package libjs was not found in the pkg-config search path.
Perhaps you should add the directory containing `libjs.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libjs' found
no
no
configure: trying smjs
checking for smjs/jsapi.h... no
configure: trying js, includes in /usr/include/js
checking for js/jsapi.h... no
configure: trying js, includes in /usr/include/js-1.5
checking for js-1.5/jsapi.h... no
configure: trying js, includes in /usr/include
checking for jsapi.h... no
configure: trying mozjs via pkgconfig mozilla-js
checking for JS... Package mozilla-js was not found in the pkg-config search pat h.
Perhaps you should add the directory containing `mozilla-js.pc'
to the PKG_CONFIG_PATH environment variable
No package 'mozilla-js' found
no
no
configure: trying mozjs via pkgconfig firefox-js
checking for JS... Package firefox-js was not found in the pkg-config search pat h.
Perhaps you should add the directory containing `firefox-js.pc'
to the PKG_CONFIG_PATH environment variable
No package 'firefox-js' found
no
no
configure: trying mozjs, includes in /usr/include/mozilla/js
checking for mozilla/js/jsapi.h... no
configure: trying mozjs, includes in /usr/include/firefox/js
checking for firefox/js/jsapi.h... no
configure: trying mozjs, includes in /usr/include/firefox/js
checking for firefox-1.5/js/jsapi.h... no
configure: error: libjs not found


:?:

yeale 发表于 2006-10-26 15:20:57

系统里安装的xine-lib版本(系统自带的)
xine-lib-1.1.2-2
xine-lib-devel-1.1.2-2

在xine官方网站上看到的xine-lib版本是:xine-lib-1.1.2,所以就没下载来编译安装,不知道是不是跟这个有关。

yeale 发表于 2006-10-26 15:32:43

从http://www.xinehq.de/index.php/releases 上下载最新版本的xine-lib-1.1.2.tar.bz2
./configure --prefix=/usr/时,也出同样错误:
No package 'xulrunner-js' found
no
no
configure: trying libjs via pkgconfig
checking for JS... Package libjs was not found in the pkg-config search path.
Perhaps you should add the directory containing `libjs.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libjs' found
no
no
configure: trying smjs
checking for smjs/jsapi.h... no
configure: trying js, includes in /usr/include/js
checking for js/jsapi.h... no
configure: trying js, includes in /usr/include/js-1.5
checking for js-1.5/jsapi.h... no
configure: trying js, includes in /usr/include
checking for jsapi.h... no
configure: trying mozjs via pkgconfig mozilla-js
checking for JS... Package mozilla-js was not found in the pkg-config search path.
Perhaps you should add the directory containing `mozilla-js.pc'
to the PKG_CONFIG_PATH environment variable
No package 'mozilla-js' found
no
no
configure: trying mozjs via pkgconfig firefox-js
checking for JS... Package firefox-js was not found in the pkg-config search path.
Perhaps you should add the directory containing `firefox-js.pc'
to the PKG_CONFIG_PATH environment variable
No package 'firefox-js' found
no
no
configure: trying mozjs, includes in /usr/include/mozilla/js
checking for mozilla/js/jsapi.h... no
configure: trying mozjs, includes in /usr/include/firefox/js
checking for firefox/js/jsapi.h... no
configure: trying mozjs, includes in /usr/include/firefox/js
checking for firefox-1.5/js/jsapi.h... no
configure: error: libjs not found

yeale 发表于 2006-10-26 15:35:36

我的桌面环境gnome-2.6
gtk2-2.6.10

该怎么解决这个问题呢?

jiangtao9999 发表于 2006-10-28 17:11:10

没装开发包。

yeale 发表于 2006-11-8 18:10:45

装了mozilla包就可以了。

yeale 发表于 2006-11-9 10:55:11

添加到播放列表中的文件,英文显示是正常的,中文歌曲有的显示正常,有的显示不正常(乱码)。
本地编码是GB18030的。

启动gxine,如果播放的是中文歌曲,并且中文歌曲的名字显示不正常的时候,从终端看到出错信息:

(gxine:16449): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

如何解决?

hillwood 发表于 2006-11-9 17:27:09

转换编码为UTF-8

yeale 发表于 2006-11-9 18:49:55

在程序里将title段转成UTF8后,添加到播放列表中的文件名显示正常,但是当播放到某首歌时,那首歌的名字就发生了变化,要么变成乱码,要么多了artist,它播放时重新刷新了一遍.
还没分析清楚,比较麻烦.

hillwood 发表于 2006-11-9 22:08:13

吧locale也改为utf8,现在utf8才是王道。
页: [1]
查看完整版本: gxine问题