我的Ubuntu10.10是完全新的,没有进行任何开发安装。 1. 下载gstreamer-0.10.29.tar.bz2 2. 解压gstreamer-0.10.29.tar.bz2到/home/zhupan/目录下 3. 切换到/home/zhupan/gstreamer-0.10.29#目录 4. root@zhupan-desktop:/home/zhupan/gstreamer-0.10.29# ./configure 5. 出错:checking for bison... no configure: error: Could not find bison 6. 解决错误:
root@zhupan-desktop:/home/zhupan/gstreamer-0.10.29# apt-get install bison (安装了bison和m4) 7. root@zhupan-desktop:/home/zhupan/gstreamer-0.10.29# ./configure 8. 出错: checking bison version 2.4.1 >= 1.875... yes checking for flex... no configure: error: Could not find flex
9. 解决错误: root@zhupan-desktop:/home/zhupan/gstreamer-0.10.29# apt-get install flex
10. root@zhupan-desktop:/home/zhupan/gstreamer-0.10.29# ./configure a) 出错: i. no configure: No package 'glib-2.0' found No package 'gobject-2.0' found No package 'gthread-2.0' found No package 'gmodule-no-export-2.0' found configure: error: This package requires GLib >= 2.18 to compile. b) 解决错误: i. 源代码安装glib-2.22.5 1. root@zhupan-desktop:/home/zhupan/glib-2.22.5# ./configure a) 报错: configure: error: *** You must have either have gettext support in your C library, or use the *** GNU gettext library. (http://www./software/gettext/gettext.html b) 解决: i. 尝试 apt-get install gettex,错误,提示:E: 无法找到软ttex ii. 下载gettext-0.16.1安装 1. 切换到gettext目录执行 a) ./configure b) Make c) Make install 2. 一切顺利 2. root@zhupan-desktop:/home/zhupan/glib-2.22.5# ./configure 3. root@zhupan-desktop:/home/zhupan/glib-2.22.5# make & make install 11. root@zhupan-desktop:/home/zhupan/gstreamer-0.10.29# ./configure a) 报错 no configure: error: Need libxml2 and development headers/files to build GStreamer.
You can do without libxml2 if you pass --disable-loadsave to configure, but that breaks ABI, so don't do that unless you are building for an embedded setup and know what you are doing. b) 解决: i. apt-get install libxml2 12. root@zhupan-desktop:/home/zhupan/gstreamer-0.10.29# ./configure a) 报错
checking for XML... no no configure: error: Need libxml2 and development headers/files to build GStreamer.
You can do without libxml2 if you pass --disable-loadsave to configure, but that breaks ABI, so don't do that unless you are building for an embedded setup and know what you are doing. b) 源码安装 i. root@zhupan-desktop:/home/zhupan/libxml2-2.7.7# ./configure 1. bin/rm: cannot remove `libtoolT': No such file or directory Done configuring ii. root@zhupan-desktop:/home/zhupan/libxml2-2.7.7# make & make install c) 问题解决 13. root@zhupan-desktop:/home/zhupan/gstreamer-0.10.29# ./configure 14. root@zhupan-desktop:/home/zhupan/gstreamer-0.10.29# make & make install 15. 安装完成。
./configure 后的结果如下:
Configuration Documentation (manuals) : no Debug Logging : yes Debug : yes Building test apps : yes Building tests that fail : no |
|
来自: 开花结果 > 《Gstreamer》