checking for GST… configure: error: Package requirements (gstreamer-0.10 >= 0.10.7 gstreamer-base-0.10 >= 0.10.7) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively you may set the GST_CFLAGS and GST_LIBS environment variables
to avoid the need to call pkg-config. See the pkg-config man page for
more details.
求救
由于官方没有给出0.30的ubuntu deb,所以我打算自己编译。
安装官方网页设置好deb和src源。
apt-get build-dep bmpx
安装好编译环境,并且已经update到最新。
可是在./configure的时候提示:
checking for GST… configure: error: Package requirements (gstreamer-0.10 >= 0.10.7 gstreamer-base-0.10 >= 0.10.7) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively you may set the GST_CFLAGS and GST_LIBS environment variables
to avoid the need to call pkg-config. See the pkg-config man page for
more details.
而事实上,我有如下的包都已经安装到了0.10.7版本
gstreamer0.10-alsa
gstreamer0.10-gnomevfs
gstreamer0.10-plugins-base
gstreamer0.10-plugins-base-apps
gstreamer0.10-plugins-base-dbg
gstreamer0.10-plugins-base-doc
gstreamer0.10-x
libgstreamer-plugins-base0.10-0
libgstreamer-plugins-base0.10-dev
在新利得里面查看,虽然包名为0.10,但是已经安装版本是0.10.7。
不过我的lib目录下的目录也是gstreamer0.10而非0.10.7。
现在不知道如何解决了。
判断并不是没有发现库文件而是没有正确识别版本。所以感觉设置环境变量没效果吧……
那么像 libgstreamer0.10-dev、libgstreamer-plugins-base0.10-dev 这些开发包装了没有?详见这里。
装了的。
看了说明
执行
sudo apt-get install libboost-dev libboost-filesystem-dev libdbus1-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libgamin-dev libmusicbrainz4-dev libtag1-dev libneon25-dev libgtkmm-2.4-dev libglademm-2.4-dev libstartup-notification0-dev
返回
正在读取软件包列表… 完成
正在分析软件包的依赖关系树… 完成
libboost-dev 已经是最新的版本了。
libboost-filesystem-dev 已经是最新的版本了。
E: 无法找到软件包 libdbus1-dev
看到
As of 06 July 2006, Dapper’s libnotify is too old so you’ll have to run configure with –disable-libnotify
于是执行
./configure –disable-libnotfy
没用……老样子
有点郁闷
不知道官方什么时候提供deb,类似软件包明明有 但是识别不出,或者识别错误。遇到过几次了呢。
我 apt-get 后,上述两个 dev 包的版本为 0.10.6,估计就是这里的问题。你看你的 dev 包版本是多少?
libgstreamer0.10-dev是0.10.6、libgstreamer-plugins-base0.10-dev是0.10.7
很有可能是 ibgstreamer0.10-dev的问题了
我已经开了N个源了 没有0.10.7的那个包啊…………
郁闷
现在的进展是
我自己到官方网站上编译制作了,gstreamer-0.10.10包。于是上面的问题没有了。
在./configure bmpx的过程中又添加了几个包。
问题出现在make阶段
then mv -f “.deps/bmp2_bin-main.Tpo” “.deps/bmp2_bin-main.Po”; else rm -f “.deps/bmp2_bin-main.Tpo”; exit 1; fi
In file included from main.cc:78:
play.hh:37:36: error: gst/interfaces/mixer.h: No such file or directory
play.hh:38:41: error: gst/interfaces/mixertrack.h: No such file or directory
play.hh:39:43: error: gst/interfaces/mixeroptions.h: No such file or directory
make[3]: *** [bmp2_bin-main.o] 错误 1
make[3]: Leaving directory `/home/latteye/soft/bmpx-0.30.0/src’
make[2]: *** [all] 错误 2
make[2]: Leaving directory `/home/latteye/soft/bmpx-0.30.0/src’
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/latteye/soft/bmpx-0.30.0′
make: *** [all] 错误 2
但事实上 ,那几个头文件都是存在的。我查看了bmpx官方论坛。有一个人(ubuntu 64)也遇到了同样的问题,但是那个帖子没有回帖。
最后来做一下总结吧~
上面的错误是由于程序员的疏忽。将绝对路径弄成了相对路径。所以我们只需要把库文件cp到bmpx安装目录下对应位置就解决了。
0.30版本用gcc最新编译,到一个位置出错了。
0.30版本用3.4gcc编译成功,打包deb成功。可是执行命令的时候提示dbus出错。
cvs上是0.31的bmpx,编译成功,打包失败。安装成功后也是提示dbus出错。
有时间的朋友帮忙测试一下吧。~~偶已经尽力了。
要把gst的几个包都编出来才行的,烦,不过还是编出来了。
我也是dapper。