参考 官方

(1)注意,要从github下载cerbero,而不是官网,官网的代码比较老啊。

(2)检查依赖库

[root@c7 cerbero]# ./cerbero-uninstalled bootstrap
WARNING: Running as root
WARNING: Using default configuration because /root/.cerbero/cerbero.cbc is missing
WARNING: No bootstrapper for the distro version redhat_7
Running command 'sudo su -c "yum install gcc gcc-c++ automake autoconf libtool gettext-devel make cmake bison flex yasm pkgconfig gtk-doc curl doxygen texinfo texinfo-tex texlive-dvips docbook-style-xsl transfig intltool rpm-build redhat-rpm-config python-devel libXrender-devel pulseaudio-libs-devel libXv-devel mesa-libGL-devel libXcomposite-devel alsa-lib-devel perl-ExtUtils-MakeMaker libXi-devel perl-XML-Simple gperf gdk-pixbuf2-devel wget docbook-utils-pdf glib-networking help2man dbus-devel glib2-devel libXrandr-devel libXtst-devel git subversion xorg-x11-util-macros chrpath fuse-devel"'
已加载插件:axelget, fastestmirror, langpacks
No metadata available for base
No metadata available for elrepo
No metadata available for epel
No metadata available for extras
No metadata available for nux-dextop
No metadata available for updates
Loading mirror speeds from cached hostfile
 * base: ftp.sjtu.edu.cn
 * elrepo: ftp.ne.jp
 * epel: mirrors.hustunique.com
 * extras: centos.ustc.edu.cn
 * nux-dextop: mirror.li.nux.ro
 * updates: ftp.sjtu.edu.cn
软件包 gcc-4.8.5-4.el7.x86_64 已安装并且是最新版本
软件包 gcc-c++-4.8.5-4.el7.x86_64 已安装并且是最新版本
软件包 automake-1.13.4-3.el7.noarch 已安装并且是最新版本
软件包 autoconf-2.69-11.el7.noarch 已安装并且是最新版本
软件包 libtool-2.4.2-20.el7.x86_64 已安装并且是最新版本
软件包 gettext-devel-0.18.2.1-4.el7.x86_64 已安装并且是最新版本
软件包 1:make-3.82-21.el7.x86_64 已安装并且是最新版本
软件包 cmake-2.8.11-5.el7.x86_64 已安装并且是最新版本
软件包 bison-2.7-4.el7.x86_64 已安装并且是最新版本
软件包 flex-2.5.37-3.el7.x86_64 已安装并且是最新版本
软件包 yasm-1.2.0-4.el7.x86_64 已安装并且是最新版本
软件包 1:pkgconfig-0.27.1-4.el7.x86_64 已安装并且是最新版本
软件包 gtk-doc-1.19-3.el7.noarch 已安装并且是最新版本
软件包 curl-7.29.0-25.el7.centos.x86_64 已安装并且是最新版本
软件包 1:doxygen-1.8.5-3.el7.x86_64 已安装并且是最新版本
软件包 texinfo-5.1-4.el7.x86_64 已安装并且是最新版本
软件包 texinfo-tex-5.1-4.el7.x86_64 已安装并且是最新版本
软件包 2:texlive-dvips-svn29585.0-38.el7.noarch 已安装并且是最新版本
软件包 docbook-style-xsl-1.78.1-3.el7.noarch 已安装并且是最新版本
软件包 1:transfig-3.2.5d-13.el7.x86_64 已安装并且是最新版本
软件包 intltool-0.50.2-6.el7.noarch 已安装并且是最新版本
软件包 rpm-build-4.11.3-17.el7.x86_64 已安装并且是最新版本
软件包 redhat-rpm-config-9.1.0-68.el7.centos.noarch 已安装并且是最新版本
软件包 python-devel-2.7.5-34.el7.x86_64 已安装并且是最新版本
软件包 libXrender-devel-0.9.8-2.1.el7.x86_64 已安装并且是最新版本
软件包 pulseaudio-libs-devel-6.0-7.el7.x86_64 已安装并且是最新版本
软件包 libXv-devel-1.0.10-2.el7.x86_64 已安装并且是最新版本
软件包 mesa-libGL-devel-10.6.5-3.20150824.el7.x86_64 已安装并且是最新版本
软件包 libXcomposite-devel-0.4.4-4.1.el7.x86_64 已安装并且是最新版本
软件包 alsa-lib-devel-1.0.28-2.el7.x86_64 已安装并且是最新版本
软件包 perl-ExtUtils-MakeMaker-6.68-3.el7.noarch 已安装并且是最新版本
软件包 libXi-devel-1.7.4-2.el7.x86_64 已安装并且是最新版本
软件包 perl-XML-Simple-2.20-5.el7.noarch 已安装并且是最新版本
软件包 gperf-3.0.4-8.el7.x86_64 已安装并且是最新版本
软件包 gdk-pixbuf2-devel-2.31.6-3.el7.x86_64 已安装并且是最新版本
软件包 wget-1.14-10.el7_0.1.x86_64 已安装并且是最新版本
软件包 docbook-utils-pdf-0.6.14-36.el7.noarch 已安装并且是最新版本
软件包 glib-networking-2.42.0-1.el7.x86_64 已安装并且是最新版本
软件包 help2man-1.41.1-3.el7.noarch 已安装并且是最新版本
软件包 1:dbus-devel-1.6.12-13.el7.x86_64 已安装并且是最新版本
软件包 glib2-devel-2.42.2-5.el7.x86_64 已安装并且是最新版本
软件包 libXrandr-devel-1.4.2-2.el7.x86_64 已安装并且是最新版本
软件包 libXtst-devel-1.2.2-2.1.el7.x86_64 已安装并且是最新版本
软件包 git-1.8.3.1-6.el7.x86_64 已安装并且是最新版本
软件包 subversion-1.7.14-10.el7.x86_64 已安装并且是最新版本
软件包 xorg-x11-util-macros-1.19.0-3.el7.noarch 已安装并且是最新版本
软件包 chrpath-0.13-14.el7.x86_64 已安装并且是最新版本
软件包 fuse-devel-2.9.2-6.el7.x86_64 已安装并且是最新版本
无须任何处理
WARNING: Using default configuration because /root/.cerbero/cerbero.cbc is missing
Building the following recipes: m4 autoconf gettext-tools gettext-m4 automake libtool pkg-config orc-tool app-image-kit ninja meson intltool-m4
[(1/12) m4 -> fetch ]
-----> Fetching tarball http://ftp.gnu.org/gnu/m4/m4-1.4.17.tar.xz to /root/cerbero/sources/local/m4-1.4.17/m4-1.4.17.tar.xz
[(1/12) m4 -> extract ]
-----> Extracting tarball to /root/cerbero/sources/build-tools/m4-1.4.17
Unpacking /root/cerbero/sources/local/m4-1.4.17/m4-1.4.17.tar.xz in /root/cerbero/sources/build-tools
[(1/12) m4 -> configure ]
-----> copying /home/zhangbin/nuf/omx/gstreamer-sdk/cerbero/data/autotools/config.guess to /root/cerbero/sources/build-tools/m4-1.4.17/build-aux/config.guess
-----> copying /home/zhangbin/nuf/omx/gstreamer-sdk/cerbero/data/autotools/config.sub to /root/cerbero/sources/build-tools/m4-1.4.17/build-aux/config.sub
[(1/12) m4 -> compile ]
[(1/12) m4 -> install ]
[(1/12) m4 -> post_install ]
[(2/12) autoconf -> fetch ]
-----> Fetching tarball http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.xz to /root/cerbero/sources/local/autoconf-2.69/autoconf-2.69.tar.xz
[(2/12) autoconf -> extract ]
-----> Extracting tarball to /root/cerbero/sources/build-tools/autoconf-2.69
Unpacking /root/cerbero/sources/local/autoconf-2.69/autoconf-2.69.tar.xz in /root/cerbero/sources/build-tools
[(2/12) autoconf -> configure ]
-----> copying /home/zhangbin/nuf/omx/gstreamer-sdk/cerbero/data/autotools/config.guess to /root/cerbero/sources/build-tools/autoconf-2.69/build-aux/config.guess
-----> copying /home/zhangbin/nuf/omx/gstreamer-sdk/cerbero/data/autotools/config.sub to /root/cerbero/sources/build-tools/autoconf-2.69/build-aux/config.sub
[(2/12) autoconf -> compile ]
[(2/12) autoconf -> install ]
[(2/12) autoconf -> post_install ]
[(3/12) gettext-tools -> fetch ]
-----> Fetching tarball http://ftp.gnu.org/pub/gnu/gettext/gettext-0.19.5.1.tar.gz to /root/cerbero/sources/local/gettext-tools-0.19.5.1/gettext-0.19.5.1.tar.gz
[(3/12) gettext-tools -> extract ]
-----> Extracting tarball to /root/cerbero/sources/build-tools/gettext-tools-0.19.5.1
Unpacking /root/cerbero/sources/local/gettext-tools-0.19.5.1/gettext-0.19.5.1.tar.gz in /root/cerbero/sources/build-tools
[(3/12) gettext-tools -> configure ]
-----> copying /home/zhangbin/nuf/omx/gstreamer-sdk/cerbero/data/autotools/config.guess to /root/cerbero/sources/build-tools/gettext-tools-0.19.5.1/gettext-tools/examples/hello-c++-kde/admin/config.guess
-----> copying /home/zhangbin/nuf/omx/gstreamer-sdk/cerbero/data/autotools/config.sub to /root/cerbero/sources/build-tools/gettext-tools-0.19.5.1/gettext-tools/examples/hello-c++-kde/admin/config.sub
[(3/12) gettext-tools -> compile ]
[(3/12) gettext-tools -> install ]
[(3/12) gettext-tools -> post_install ]
[(4/12) gettext-m4 -> fetch ]
-----> Fetching tarball http://ftp.gnu.org/pub/gnu/gettext/gettext-0.19.5.1.tar.gz to /root/cerbero/sources/local/gettext-m4-0.19.5.1/gettext-0.19.5.1.tar.gz
[(4/12) gettext-m4 -> extract ]
-----> Extracting tarball to /root/cerbero/sources/build-tools/gettext-m4-0.19.5.1
Unpacking /root/cerbero/sources/local/gettext-m4-0.19.5.1/gettext-0.19.5.1.tar.gz in /root/cerbero/sources/build-tools
[(4/12) gettext-m4 -> configure ]
[(4/12) gettext-m4 -> compile ]
[(4/12) gettext-m4 -> install ]
[(4/12) gettext-m4 -> post_install ]
[(5/12) automake -> fetch ]
-----> Fetching tarball http://ftp.gnu.org/gnu/automake/automake-1.15.tar.xz to /root/cerbero/sources/local/automake-1.15/automake-1.15.tar.xz
[(5/12) automake -> extract ]
-----> Extracting tarball to /root/cerbero/sources/build-tools/automake-1.15
Unpacking /root/cerbero/sources/local/automake-1.15/automake-1.15.tar.xz in /root/cerbero/sources/build-tools
[(5/12) automake -> configure ]
-----> copying /home/zhangbin/nuf/omx/gstreamer-sdk/cerbero/data/autotools/config.guess to /root/cerbero/sources/build-tools/automake-1.15/lib/config.guess
-----> copying /home/zhangbin/nuf/omx/gstreamer-sdk/cerbero/data/autotools/config.sub to /root/cerbero/sources/build-tools/automake-1.15/lib/config.sub
[(5/12) automake -> compile ]
[(5/12) automake -> install ]
[(5/12) automake -> post_install ]
[(6/12) libtool -> fetch ]
-----> Fetching tarball http://ftpmirror.gnu.org/libtool/libtool-2.4.6.tar.gz to /root/cerbero/sources/local/libtool-2.4.6/libtool-2.4.6.tar.gz
[(6/12) libtool -> extract ]
-----> Extracting tarball to /root/cerbero/sources/build-tools/libtool-2.4.6
Unpacking /root/cerbero/sources/local/libtool-2.4.6/libtool-2.4.6.tar.gz in /root/cerbero/sources/build-tools
[(6/12) libtool -> configure ]
-----> copying /home/zhangbin/nuf/omx/gstreamer-sdk/cerbero/data/autotools/config.guess to /root/cerbero/sources/build-tools/libtool-2.4.6/build-aux/config.guess
-----> copying /home/zhangbin/nuf/omx/gstreamer-sdk/cerbero/data/autotools/config.sub to /root/cerbero/sources/build-tools/libtool-2.4.6/build-aux/config.sub
[(6/12) libtool -> compile ]
[(6/12) libtool -> install ]
[(6/12) libtool -> post_install ]
[(7/12) pkg-config -> fetch ]
-----> Fetching tarball http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz to /root/cerbero/sources/local/pkg-config-0.28/pkg-config-0.28.tar.gz
[(7/12) pkg-config -> extract ]
-----> Extracting tarball to /root/cerbero/sources/build-tools/pkg-config-0.28
Unpacking /root/cerbero/sources/local/pkg-config-0.28/pkg-config-0.28.tar.gz in /root/cerbero/sources/build-tools
[(7/12) pkg-config -> configure ]
-----> copying /home/zhangbin/nuf/omx/gstreamer-sdk/cerbero/data/autotools/config.guess to /root/cerbero/sources/build-tools/pkg-config-0.28/config.guess
-----> copying /home/zhangbin/nuf/omx/gstreamer-sdk/cerbero/data/autotools/config.guess to /root/cerbero/sources/build-tools/pkg-config-0.28/glib/config.guess
-----> copying /home/zhangbin/nuf/omx/gstreamer-sdk/cerbero/data/autotools/config.sub to /root/cerbero/sources/build-tools/pkg-config-0.28/config.sub
-----> copying /home/zhangbin/nuf/omx/gstreamer-sdk/cerbero/data/autotools/config.sub to /root/cerbero/sources/build-tools/pkg-config-0.28/glib/config.sub
[(7/12) pkg-config -> compile ]
[(7/12) pkg-config -> install ]
[(7/12) pkg-config -> post_install ]
[(8/12) orc-tool -> fetch ]
[(8/12) orc-tool -> extract ]
[(8/12) orc-tool -> configure ]
-----> copying /home/zhangbin/nuf/omx/gstreamer-sdk/cerbero/data/autotools/config.guess to /root/cerbero/sources/build-tools/orc-tool-0.4.23/config.guess
-----> copying /home/zhangbin/nuf/omx/gstreamer-sdk/cerbero/data/autotools/config.sub to /root/cerbero/sources/build-tools/orc-tool-0.4.23/config.sub
[(8/12) orc-tool -> compile ]
[(8/12) orc-tool -> install ]
[(8/12) orc-tool -> post_install ]
[(9/12) app-image-kit -> fetch ]
[(9/12) app-image-kit -> extract ]
[(9/12) app-image-kit -> configure ]
[(9/12) app-image-kit -> compile ]
[(9/12) app-image-kit -> install ]
[(9/12) app-image-kit -> post_install ]
[(10/12) ninja -> already built ]
[(11/12) meson -> fetch ]
-----> Step done
[(11/12) meson -> extract ]
-----> Step done
[(11/12) meson -> configure ]
-----> Step done
[(11/12) meson -> compile ]
-----> Step done
[(11/12) meson -> install ]
/usr/bin/env: python3: 没有那个文件或目录
Running command './install_meson.py --prefix /root/cerbero/build-tools'

Recipe 'meson' failed at the build step 'install'
Select an action to proceed:
[0] Enter the shell
[1] Rebuild the recipe from scratch
[2] Rebuild starting from the failed step
[3] Skip recipe
[4] Abort
2
[(11/12) meson -> fetch ]
-----> Step done
[(11/12) meson -> extract ]
-----> Step done
[(11/12) meson -> configure ]
-----> Step done
[(11/12) meson -> compile ]
-----> Step done
[(11/12) meson -> install ]
[(11/12) meson -> post_install ]
[(12/12) intltool-m4 -> fetch ]
-----> Fetching tarball https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz to /root/cerbero/sources/local/intltool-m4-0.51.0/intltool-0.51.0.tar.gz
[(12/12) intltool-m4 -> extract ]
-----> Extracting tarball to /root/cerbero/sources/build-tools/intltool-m4-0.51.0
Unpacking /root/cerbero/sources/local/intltool-m4-0.51.0/intltool-0.51.0.tar.gz in /root/cerbero/sources/build-tools
[(12/12) intltool-m4 -> configure ]
[(12/12) intltool-m4 -> compile ]
[(12/12) intltool-m4 -> install ]
[(12/12) intltool-m4 -> post_install ]
[root@c7 cerbero]# 

注意,meson需要python3.

 

直接编译安装,参考 :

# Python 2.7.6:
wget http://python.org/ftp/python/2.7.6/Python-2.7.6.tar.xz
tar xf Python-2.7.6.tar.xz
cd Python-2.7.6
./configure --prefix=/usr/local --enable-unicode=ucs4 --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib"
make && make altinstall
 
# Python 3.3.5:
wget http://python.org/ftp/python/3.3.5/Python-3.3.5.tar.xz
tar xf Python-3.3.5.tar.xz
cd Python-3.3.5
./configure --prefix=/usr/local --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib"
make && make altinstall

然后,要这样才能被找到:

ln -s /usr/local/bin/python3.3 /usr/bin/python3

 

 

(2)

[root@c7 cerbero]# ./cerbero-uninstalled list-packages
WARNING: Running as root
WARNING: Using default configuration because /root/.cerbero/cerbero.cbc is missing
base-crypto - 1.7.1
base-system-1.0 - 1.7.1
gstreamer-1.0 - 1.7.1
gstreamer-1.0-capture - 1.7.1
gstreamer-1.0-codecs - 1.7.1
gstreamer-1.0-codecs-gpl - 1.7.1
gstreamer-1.0-codecs-restricted - 1.7.1
gstreamer-1.0-core - 1.7.1
gstreamer-1.0-devtools - 1.7.1
gstreamer-1.0-dvd - 1.7.1
gstreamer-1.0-editing - 1.7.1
gstreamer-1.0-effects - 1.7.1
gstreamer-1.0-encoding - 1.7.1
gstreamer-1.0-libav - 1.7.1
gstreamer-1.0-net - 1.7.1
gstreamer-1.0-net-restricted - 1.7.1
gstreamer-1.0-playback - 1.7.1
gstreamer-1.0-system - 1.7.1
gstreamer-1.0-visualizers - 1.7.1
gstreamer-1.0-vs-templates - 1.7.1
gtk-3.0 - 1.7.1
pitivi - 0.95
python3 - 3.3
vsintegration-1.0 - 1.7.1
[root@c7 cerbero]# 
[root@c7 cerbero]# ./cerbero-uninstalled list
WARNING: Running as root
WARNING: Using default configuration because /root/.cerbero/cerbero.cbc is missing
XML-Simple - 2.20
a52dec - 0.7.4
app-image-kit - 0.9.3
at-spi2-atk - 2.10.2
at-spi2-core - 2.10.2
atk - 2.16.0
autoconf - 2.69
automake - 1.15
binutils - 2.22
bison - 3.0.4
bzip2 - 1.0.6
ca-certificates - 0.1
cairo - 1.14.2
cdparanoia - 10.2
cloog - 0.18.0
clutter - 1.16.2
clutter-gst - 2.0.10
clutter-gtk - 1.4.4
cmake - 2.8.12
cogl - 1.16.2
docbook-xml - 4.3
docbook-xsl - 1.76.1
expat - 2.1.0
faad2 - 2.7
flac - 1.3.1
flex - 2.5.39
fontconfig - 2.11.1
freetype - 2.6
frei0r-plugins - 1.4
fribidi - 0.19.7
gas-preprocessor - 0.0.0
gcc - 4.7.3
gcc-core - 4.7.3
gdk-pixbuf - 2.30.8
gendef - v2.0.8
gettext - 0.19.5.1
gettext-m4 - 0.19.5.1
gettext-tools - 0.19.5.1
glib - 2.46.2
glib-networking - 2.46.1
glib-networking-static - 2.46.1
glib-tools - 2.46.2
gmp - 6.0.0a
gmp-toolchain - 5.0.5
gnome-doc-utils - 0.20.9
gnome-icon-theme - 3.10.0
gnome-icon-theme-symbolic - 3.10.1
gnutls - 3.3.18
gobject-introspection - 1.46.0
gobject-introspection-m4 - 1.44.0
gperf - 3.0.4
graphene - 1.2.6
gst-android-1.0 - 0.1
gst-editing-services-1.0 - 1.7
gst-editing-services-1.0-static - 1.7
gst-libav-1.0 - 1.7
gst-libav-1.0-static - 1.7
gst-plugins-bad-1.0 - 1.7
gst-plugins-bad-1.0-static - 1.7
gst-plugins-base-1.0 - 1.7
gst-plugins-base-1.0-static - 1.7
gst-plugins-good-1.0 - 1.7
gst-plugins-good-1.0-static - 1.7
gst-plugins-ugly-1.0 - 1.7
gst-plugins-ugly-1.0-static - 1.7
gst-python-1.0 - 1.7
gst-rtsp-server-1.0 - 1.7
gst-shell - 0.1
gst-transcoder - 1.7
gst-validate - 1.0
gstreamer-1.0 - 1.7
gstreamer-1.0-osx-framework - 0.1
gstreamer-1.0-static - 1.7
gstreamer-ios-templates - 0.1
gtk+3 - 3.18.5
gtk-doc - 1.24
gtk-doc-lite - 1.24
harfbuzz - 1.0.1
hicolor-icon-theme - 0.11
icon-naming-utils - 0.8.7
intltool - 0.51.0
intltool-m4 - 0.51.0
iso-codes - 3.57
json-glib - 1.0.4
lame - 3.99.5
libass - 0.12.3
libcroco - 0.6.8
libdca - 0.0.5
libdv - 1.0.0
libdvdnav - 4.2.1
libdvdread - 4.2.1
libepoxy - 1.2
libexif - 0.6.21
libffi - 3.2.1
libiconv - 1.14
libjpeg-turbo - 1.4.1
libkate - 0.4.1
libmad - 0.15.1b
libmms - 0.6.4
libmpeg2 - 0.5.1
libnice - 0.1.13
libnice-static - 0.1.13
libogg - 1.3.2
libpng - 1.6.18
librsvg - 2.40.10
librsvg-gtk - 2.40.6
librtmp - 2.4_p20131018
libshout - 2.3.1
libsoup - 2.52.2
libsrtp - 1.5.2
libtasn1 - 4.7
libtheora - 1.1.1
libtool - 2.4.6
libvisual - 0.4.0
libvorbis - 1.3.5
libvpx - v1.5.0
libxml2 - 2.9.2
libxslt - 1.1.28
m4 - 1.4.17
matplotlib - 1.4.3
meson - 0.28
mingw-regex - 2.5
mingw-w64 - v2.0.8
mingw-w64-headers - v2.0.8
mpc - 0.8.2
mpfr - 3.1.0
nettle - 3.1.1
ninja - 1.6
numpy - 1.8.1
opencore-amr - 0.1.3
openh264 - 1.4.0
openjpeg - 1.5.2
opus - 1.1
orc - 0.4.23
orc-tool - 0.4.23
pango - 1.38.1
pitivi - 0.95
pixman - 0.32.6
pkg-config - 0.28
py-dateutil - 2.2
py2cairo - 1.10.0
pycairo - 1.10.0
pygobject - 3.18.2
pyparsing - 2.0.3
pyxdg - 0.25
schroedinger - 1.0.11
sed - 4.2.2
setuptools - 17.1.1
shared-mime-info - 1.2
six - 1.9.0
snappy - 0.2+git
soundtouch - 1.8.0
spandsp - 0.0.6
speex - 1.2rc2
sqlite - 3080500
taglib - 1.7.2
tar - 1.28
tiff - 4.0.4
toolchain - 4.7.3
tremor - 1.2.1+r18641
vala-m4 - 0.29.3
vo-aacenc - 0.1.3
vsintegration-1.0 - 0.1
wavpack - 4.70.0
winpthreads - v2.0.8
winpthreads-runtime - 0.1
x264 - 20160121-2245
xz - 5.2.2
yasm - 1.3.0
zlib - 1.2.8
[root@c7 cerbero]# 

(4)因为同时有openwebrtc的android版本在编译,而且他们的build目录是一致的,所以暂停我这个编译。

[root@c7 cerbero]# cerbero package gstreamer-1.0
bash: cerbero: 未找到命令...
[root@c7 cerbero]# ./cerbero package gstreamer-1.0
cerbero/             cerbero-uninstalled  
[root@c7 cerbero]# ./cerbero-uninstalled  package gstreamer-1.0
WARNING: Running as root
WARNING: Using default configuration because /root/.cerbero/cerbero.cbc is missing
Building the following recipes: libffi zlib glib gtk-doc-lite gobject-introspection gstreamer-1.0 libxml2 libogg libpng pixman expat bzip2 freetype fontconfig cairo harfbuzz pango libvorbis libtheora libvisual orc cdparanoia gst-plugins-base-1.0 gst-shell libjpeg-turbo speex tiff gdk-pixbuf libsoup wavpack flac taglib libvpx libdv gst-plugins-good-1.0 fribidi libass faad2 libkate openh264 opus gmp nettle libtasn1 gnutls librtmp libsrtp schroedinger libdca libmms libdvdread libdvdnav soundtouch vo-aacenc libcroco vala-m4 gobject-introspection-m4 librsvg openjpeg graphene spandsp atk libepoxy at-spi2-core at-spi2-atk gtk+3 gst-plugins-bad-1.0 a52dec opencore-amr libmpeg2 libmad x264 lame gst-plugins-ugly-1.0 gstreamer-1.0-static gst-plugins-base-1.0-static gst-plugins-good-1.0-static gst-plugins-bad-1.0-static gst-plugins-ugly-1.0-static hicolor-icon-theme XML-Simple icon-naming-utils gnome-icon-theme gnome-icon-theme-symbolic librsvg-gtk libnice gst-rtsp-server-1.0 libnice-static gst-libav-1.0 gst-libav-1.0-static gst-validate gst-editing-services-1.0 gst-editing-services-1.0-static
[(1/93) libffi -> fetch ]
[(1/93) libffi -> extract ]
[(1/93) libffi -> configure ]
-----> copying /home/zhangbin/nuf/omx/gstreamer-sdk/cerbero/data/autotools/config.guess to /root/cerbero/sources/linux_x86_64/libffi-3.2.1/config.guess
-----> copying /home/zhangbin/nuf/omx/gstreamer-sdk/cerbero/data/autotools/config.sub to /root/cerbero/sources/linux_x86_64/libffi-3.2.1/config.sub
[(1/93) libffi -> compile ]
[(1/93) libffi -> install ]
[(1/93) libffi -> post_install ]
[(2/93) zlib -> fetch ]
-----> Fetching tarball http://zlib.net/zlib-1.2.8.tar.xz to /root/cerbero/sources/local/zlib-1.2.8/zlib-1.2.8.tar.xz
[(2/93) zlib -> extract ]
-----> Extracting tarball to /root/cerbero/sources/linux_x86_64/zlib-1.2.8
Unpacking /root/cerbero/sources/local/zlib-1.2.8/zlib-1.2.8.tar.xz in /root/cerbero/sources/linux_x86_64
[(2/93) zlib -> configure ]
[(2/93) zlib -> compile ]
^CInterrupted
[root@c7 cerbero]# ./cerbero-uninstalled -c 
cerbero/                 LICENSE.LGPL             recipe-upgrade-list.txt
cerbero-uninstalled      Makefile                 setup.py
config/                  MANIFEST.in.in           test/
data/                    packages/                tools/
.git/                    README                   
.gitignore               recipes/                 
[root@c7 cerbero]# ./cerbero-uninstalled -c config/
android.config            cross-ios-universal.cbc   mingw-w32-lin.cbc
build-tools.cbc           cross-ios-x86-64.cbc      mingw-w32-win.cbc
cross-android-arm64.cbc   cross-ios-x86.cbc         mingw-w64-lin.cbc
cross-android-armv7.cbc   cross-lin-arm.cbc         mingw-w64-win.cbc
cross-android.cbc         cross-lin-x86.cbc         osx-universal.cbc
cross-android-x86-64.cbc  cross-win32.cbc           osx-x86-64.cbc
cross-android-x86.cbc     cross-win64.cbc           win32.cbc
cross-ios-arm64.cbc       darwin.config             win64.cbc
cross-ios-arm7.cbc        ios.config                windows.config
cross-ios-arm7s.cbc       linux.config              
[root@c7 cerbero]# ./cerbero-uninstalled -c config/
android.config            cross-ios-universal.cbc   mingw-w32-lin.cbc
build-tools.cbc           cross-ios-x86-64.cbc      mingw-w32-win.cbc
cross-android-arm64.cbc   cross-ios-x86.cbc         mingw-w64-lin.cbc
cross-android-armv7.cbc   cross-lin-arm.cbc         mingw-w64-win.cbc
cross-android.cbc         cross-lin-x86.cbc         osx-universal.cbc
cross-android-x86-64.cbc  cross-win32.cbc           osx-x86-64.cbc
cross-android-x86.cbc     cross-win64.cbc           win32.cbc
cross-ios-arm64.cbc       darwin.config             win64.cbc
cross-ios-arm7.cbc        ios.config                windows.config
cross-ios-arm7s.cbc       linux.config              
[root@c7 cerbero]# ./cerbero-uninstalled -c config/cross-android-armv7.cbc package gstreamer-1.0
WARNING: Running as root
WARNING: Using default configuration because /root/.cerbero/cerbero.cbc is missing
Building the following recipes: libiconv gettext gnustl libffi zlib glib gtk-doc-lite gstreamer-1.0 libxml2 libogg libpng pixman expat bzip2 freetype fontconfig cairo harfbuzz pango libvorbis libtheora libvisual orc tremor gst-plugins-base-1.0 gst-shell libjpeg-turbo speex tiff gdk-pixbuf gmp nettle libtasn1 bionic-fixup gnutls glib-networking libsoup wavpack flac taglib libvpx libdv gst-plugins-good-1.0 fribidi libass faad2 libkate openh264 opus librtmp libsrtp schroedinger libdca libmms soundtouch vo-aacenc libcroco vala-m4 gobject-introspection-m4 librsvg openjpeg graphene spandsp gst-plugins-bad-1.0 a52dec opencore-amr libmpeg2 libmad x264 lame gst-plugins-ugly-1.0 gst-android-1.0 gstreamer-1.0-static gst-plugins-base-1.0-static gst-plugins-good-1.0-static gst-plugins-bad-1.0-static gst-plugins-ugly-1.0-static ca-certificates libnice gst-rtsp-server-1.0 glib-networking-static libnice-static gst-libav-1.0 gst-libav-1.0-static gst-validate gst-editing-services-1.0 gst-editing-services-1.0-static
[(1/87) libiconv -> fetch ]
-----> Fetching tarball http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz to /root/cerbero/sources/local/libiconv-1.14/libiconv-1.14.tar.gz
[(1/87) libiconv -> extract ]
-----> Extracting tarball to /root/cerbero/sources/android_armv7/libiconv-1.14
Unpacking /root/cerbero/sources/local/libiconv-1.14/libiconv-1.14.tar.gz in /root/cerbero/sources/android_armv7
[(1/87) libiconv -> configure ]
-----> copying /home/zhangbin/nuf/omx/gstreamer-sdk/cerbero/data/autotools/config.guess to /root/cerbero/sources/android_armv7/libiconv-1.14/libcharset/build-aux/config.guess
-----> copying /home/zhangbin/nuf/omx/gstreamer-sdk/cerbero/data/autotools/config.guess to /root/cerbero/sources/android_armv7/libiconv-1.14/build-aux/config.guess
-----> copying /home/zhangbin/nuf/omx/gstreamer-sdk/cerbero/data/autotools/config.sub to /root/cerbero/sources/android_armv7/libiconv-1.14/libcharset/build-aux/config.sub
-----> copying /home/zhangbin/nuf/omx/gstreamer-sdk/cerbero/data/autotools/config.sub to /root/cerbero/sources/android_armv7/libiconv-1.14/build-aux/config.sub
^CInterrupted
[root@c7 cerbero]# 

(3)

Linux Debian packages

Install all the Debian packages. If you used the -c config/linux.cbc during building then the install prefix will be /opt/openwebrtc-0.3. You can create an environment which uses those libraries and binaries by exporting PATH, LD_LIBRARY_PATH, PKG_CONFIG_PATH, GST_PLUGIN_PATH_1_0 and so on. Such an environment should also allow you to build against the libraries.

 

发表评论

电子邮件地址不会被公开。 必填项已用*标注