分享

源代码安装gstreamer-0.10.29

 开花结果 2012-04-16

我的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

    (安装了bisonm4

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
Version                    : 0.10.30
Source code location       : .
Prefix                     : /usr/local
Compiler                   : gcc
Package name               : GStreamer source release
Package origin             : Unknown package origin

Documentation (manuals)    : no
Documentation (API)        : no

Debug Logging              : yes
Pipeline XML load/save     : yes
Command-line parser        : yes
Option parsing in gst_init : yes
Tracing subsystem          : yes
Allocation tracing         : yes
Plugin registry            : yes
Plugin support            : yes
Network support            : yes
Unit testing support       : yes

Debug                      : yes
Profiling                  : no

Building examples          : yes
Building test apps         : yes
Building tests that fail   : no

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多