GStreamerSDK Building from source using Cerbero

Andoni Morales ylatuya at gmail.com
Tue Feb 19 06:16:40 PST 2013


2013/2/19 Andoni Morales <ylatuya at gmail.com>:
> 2013/2/18 pfarmer <flacone at gmx.de>:
>> [Sorry for answering so late. The problem is anyway urgent]
>>
>> Yes, I am building on Windows 7 64 bit for windows
>
> This might be happening because cerbero is detecting your system as
> Windows 32bits, but it's a  Windows 64bits, probably because you are
> using Python 32bits. To make sure the host and target architectures
> are correctly set, edit ~/.cerbero.cbc with the following lines:
>
> from cerbero.config import Architecture
>
> prefix='c:/gstreamer-sdk/0.10/x86_64'
> arch = Architecture.X86_64
> target_arch = Architecture.X86_64
>

And in case you want to build for X86 using the following:

from cerbero.config import Architecture

prefix='c:/gstreamer-sdk/0.10/x86'
arch = Architecture.X86
target_arch = Architecture.X86

You can also create 2 config files named w32.cbc and w64.cbc

and call cerbero with:

cerbero -c w32.cbc
cerbero -c w64.cbc

> Note that I have changed the prefix to c:/gstreamer-sdk/0.10/x86_64,
> which is where the SDK is installed on windows, instead of using the
> home directory as you were using before.
>
> Cheers,
> Andoni
>
>
>> ====================================================
>> With the command "cerbero package gstreamer" i get following log:
>>
>> $ cerbero buildone gstreamer
>> WARNING: Using default configuration because
>> C:/MinGW/msys/1.0/home/xxxxxxxx/.cerbero/cerbero.cbc is missing
>> Building the following recipes: gstreamer
>> [(1/1) gstreamer -> fetch ]
>> Running command 'git remote add -f origin
>> git://anongit.freedesktop.org/gstreamer-sdk/gstreamer.git'
>> fatal: remote origin already exists.
>> Running command 'git remote add -f upstream
>> git://anongit.freedesktop.org/gstreamer/gstreamer'
>> fatal: remote upstream already exists.
>> Running command 'git tag -d 1.0.0'
>> Deleted tag '1.0.0' (was c7bbb96)
>> Running command 'git tag -d 1.0.1'
>> Deleted tag '1.0.1' (was 436268b)
>>
>> ... [900 lines]
>>
>> Configuration
>>         Version                    : 0.10.36
>>         Source code location       : .
>>         Prefix                     :
>> /C/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86
>>         Compiler                   : i686-w64-mingw32-gcc -std=gnu99
>>         Package name               : GStreamer (GStreamer SDK)
>>         Package origin             : http://www.gstreamer.com
>>
>>         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
>>         Static plugins             : no
>>         Network support            : yes
>>         Unit testing support       : no
>>
>>         Debug                      : yes
>>         Profiling                  : no
>>
>>         Building examples          : no
>>         Building test apps         : yes
>>         Building tests that fail   : no
>>
>> [(1/1) gstreamer -> compile ]
>> Running command 'make'
>> make  all-recursive
>> make[1]: Entering directory
>> `/usr/home/xxxxxxx/cerbero/sources/windows_x86/gstreamer-0.10.36'
>> Making all in pkgconfig
>> make[2]: Entering directory
>> `/usr/home/xxxxxxx/cerbero/sources/windows_x86/gstreamer-0.10.36/pkgconfig'
>>   CP     gstreamer-0.10.pc
>>   CP     gstreamer-base-0.10.pc
>>   CP     gstreamer-controller-0.10.pc
>>   CP     gstreamer-dataprotocol-0.10.pc
>>   CP     gstreamer-net-0.10.pc
>>   CP     gstreamer-0.10-uninstalled.pc
>>   CP     gstreamer-base-0.10-uninstalled.pc
>>   CP     gstreamer-controller-0.10-uninstalled.pc
>>   CP     gstreamer-dataprotocol-0.10-uninstalled.pc
>>   CP     gstreamer-net-0.10-uninstalled.pc
>> make[2]: Leaving directory
>> `/usr/home/xxxxxxx/cerbero/sources/windows_x86/gstreamer-0.10.36/pkgconfig'
>> Making all in gst
>>
>> ... [2800 lines]
>>
>> [(1/1) gstreamer -> install ]
>> Running command 'make install'
>> Making install in pkgconfig
>> make[1]: Entering directory
>> `/usr/home/xxxxxxx/cerbero/sources/windows_x86/gstreamer-0.10.36/pkgconfig'
>> make[2]: Entering directory
>> `/usr/home/xxxxxxx/cerbero/sources/windows_x86/gstreamer-0.10.36/pkgconfig'
>> make[2]: Nothing to be done for `install-exec-am'.
>>  /usr/bin/mkdir -p
>> '/C/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/lib/pkgconfig'
>>  /usr/bin/install -c -m 644 gstreamer-0.10.pc gstreamer-base-0.10.pc
>> gstreamer-controller-0.10.pc gstreamer-dataprotocol-0.10.pc
>> gstreamer-net-0.10.pc
>> '/C/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/lib/pkgconfi
>> g'
>> make[2]: Leaving directory
>> `/usr/home/xxxxxxx/cerbero/sources/windows_x86/gstreamer-0.10.36/pkgconfig'
>>
>> ... [1000 lines]
>>
>> make[2]: Entering directory
>> `/usr/home/xxxxxxx/cerbero/sources/windows_x86/gstreamer-0.10.36/tools'
>>  /usr/bin/mkdir -p
>> '/C/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/bin'
>>   /bin/sh ../libtool   --mode=install /usr/bin/install -c gst-xmllaunch.exe
>> '/C/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/bin/./i686-w64-mingw32-gst-xmllaunch.exe'
>> libtool: install: /usr/bin/install -c .libs/gst-xmllaunch.exe
>> /C/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/bin/./i686-w64-mingw32-gst-xmllaunch.exe
>>   /bin/sh ../libtool   --mode=install /usr/bin/install -c
>> gst-xmllaunch-0.10.exe
>> '/C/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/bin/./i686-w64-mingw32-gst-xmllaunch-0.10.exe'
>> libtool: install: /usr/bin/install -c .libs/gst-xmllaunch-0.10.exe
>> /C/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/bin/./i686-w64-mingw32-gst-xmllaunch-0.10.exe
>>   /bin/sh ../libtool   --mode=install /usr/bin/install -c gst-launch.exe
>> '/C/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/bin/./i686-w64-mingw32-gst-launch.exe'
>> libtool: install: /usr/bin/install -c .libs/gst-launch.exe
>> /C/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/bin/./i686-w64-mingw32-gst-launch.exe
>>   /bin/sh ../libtool   --mode=install /usr/bin/install -c
>> gst-launch-0.10.exe
>> '/C/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/bin/./i686-w64-mingw32-gst-launch-0.10.exe'
>> libtool: install: /usr/bin/install -c .libs/gst-launch-0.10.exe
>> /C/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/bin/./i686-w64-mingw32-gst-launch-0.10.exe
>>   /bin/sh ../libtool   --mode=install /usr/bin/install -c gst-feedback.exe
>> '/C/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/bin/./i686-w64-mingw32-gst-feedback.exe'
>> libtool: install: /usr/bin/install -c .libs/gst-feedback.exe
>> /C/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/bin/./i686-w64-mingw32-gst-feedback.exe
>>   /bin/sh ../libtool   --mode=install /usr/bin/install -c gst-inspect.exe
>> '/C/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/bin/./i686-w64-mingw32-gst-inspect.exe'
>> libtool: install: /usr/bin/install -c .libs/gst-inspect.exe
>> /C/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/bin/./i686-w64-mingw32-gst-inspect.exe
>>   /bin/sh ../libtool   --mode=install /usr/bin/install -c gst-typefind.exe
>> '/C/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/bin/./i686-w64-mingw32-gst-typefind.exe'
>> libtool: install: /usr/bin/install -c .libs/gst-typefind.exe
>> /C/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/bin/./i686-w64-mingw32-gst-typefind.exe
>>   /bin/sh ../libtool   --mode=install /usr/bin/install -c gst-xmlinspect.exe
>> '/C/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/bin/./i686-w64-mingw32-gst-xmlinspect.exe'
>> libtool: install: /usr/bin/install -c .libs/gst-xmlinspect.exe
>> /C/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/bin/./i686-w64-mingw32-gst-xmlinspect.exe
>>   /bin/sh ../libtool   --mode=install /usr/bin/install -c
>> gst-inspect-0.10.exe
>> '/C/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/bin/./i686-w64-mingw32-gst-inspect-0.10.exe'
>> libtool: install: /usr/bin/install -c .libs/gst-inspect-0.10.exe
>> /C/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/bin/./i686-w64-mingw32-gst-inspect-0.10.exe
>>   /bin/sh ../libtool   --mode=install /usr/bin/install -c
>> gst-typefind-0.10.exe
>> '/C/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/bin/./i686-w64-mingw32-gst-typefind-0.10.exe'
>> libtool: install: /usr/bin/install -c .libs/gst-typefind-0.10.exe
>> /C/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/bin/./i686-w64-mingw32-gst-typefind-0.10.exe
>>   /bin/sh ../libtool   --mode=install /usr/bin/install -c
>> gst-xmlinspect-0.10.exe
>> '/C/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/bin/./i686-w64-mingw32-gst-xmlinspect-0.10.exe'
>> libtool: install: /usr/bin/install -c .libs/gst-xmlinspect-0.10.exe
>> /C/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/bin/./i686-w64-mingw32-gst-xmlinspect-0.10.exe
>>
>> ... [200 lines]
>>
>> make[2]: Leaving directory
>> `/usr/home/xxxxxxx/cerbero/sources/windows_x86/gstreamer-0.10.36'
>> make[1]: Leaving directory
>> `/usr/home/xxxxxxx/cerbero/sources/windows_x86/gstreamer-0.10.36'
>> [(1/1) gstreamer -> post_install ]
>> [(1/1) gstreamer -> gen_library_file ]
>> Running command 'gendef
>> C:/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/bin/libgstbase-0.10-0.dll'
>>  *
>> [C:/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/bin/libgstbase-0.10-0.dll]
>> Found PE image
>> Running command '$DLLTOOL -d libgstbase-0.10-0.def -l gstbase-0.10.lib -D
>> libgstbase-0.10-0.dll'
>> Running command 'gendef
>> C:/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/bin/libgstcontroller-0.10-0.dll'
>>  *
>> [C:/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/bin/libgstcontroller-0.10-0.dll]
>> Found PE image
>> Running command '$DLLTOOL -d libgstcontroller-0.10-0.def -l
>> gstcontroller-0.10.lib -D libgstcontroller-0.10-0.dll'
>> Running command 'gendef
>> C:/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/bin/libgstdataprotocol-0.10-0.dll'
>>  *
>> [C:/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/bin/libgstdataprotocol-0.10-0.dll]
>> Found PE image
>> Running command '$DLLTOOL -d libgstdataprotocol-0.10-0.def -l
>> gstdataprotocol-0.10.lib -D libgstdataprotocol-0.10-0.dll'
>> Running command 'gendef
>> C:/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/bin/libgstnet-0.10-0.dll'
>>  *
>> [C:/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/bin/libgstnet-0.10-0.dll]
>> Found PE image
>> Running command '$DLLTOOL -d libgstnet-0.10-0.def -l gstnet-0.10.lib -D
>> libgstnet-0.10-0.dll'
>> Running command 'gendef
>> C:/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/bin/libgstreamer-0.10-0.dll'
>>  *
>> [C:/MinGW/msys/1.0/home/xxxxxxx/cerbero/dist/windows_x86/bin/libgstreamer-0.10-0.dll]
>> Found PE image
>> Running command '$DLLTOOL -d libgstreamer-0.10-0.def -l gstreamer-0.10.lib
>> -D libgstreamer-0.10-0.dll'
>>
>>
>>
>> ====================================================
>> With the command "cerbero package gstreamer-sdk" i get following log:
>>
>> WARNING: Using default configuration because
>> C:/MinGW/msys/1.0/home/xxxxxxx/.cerbero/cerbero.cbc is missing
>> Building the following recipes: libffi zlib gettext libiconv glib libxml2
>> gtk-doc-lite gstreamer libogg libpng pixman expat freetype bzip2 fontconfig
>> cairo libstdc++ pango libvorbis libtheora libvisual orc gst-plugins-ba
>> se gst-sdk-shell jpeg speex tiff gdk-pixbuf gmp nettle libtasn1 gnutls
>> glib-networking libsoup taglib wavpack flac libdv gst-plugins-good fribidi
>> libass faad2 libkate libvpx opus mingw schroedinger libdca jasper libmms l
>> ibdvdread libdvdnav soundtouch gst-plugins-bad a52dec opencore-amr libmpeg2
>> libmad gst-plugins-ugly gstreamer-static gst-plugins-base-static
>> gst-plugins-good-static gst-plugins-bad-static winpthreads libcroco atk gtk+
>> li
>> brsvg gst-plugins-ugly-static glib-networking-static cogl json-glib clutter
>> clutter-gst gtk-engines XML-Simple icon-naming-utils tango-icon-theme
>> pygobject gst-python py2cairo pygtk snappy gst-ffmpeg gst-ffmpeg-static db
>> us dbus-glib dbus-python insanity insanity-gst gst-playback-test
>> gst-editing-services gnonlin gnonlin-static gst-sdk-tutorials vsintegration
>> [(1/96) libffi -> already built ]
>> [(2/96) zlib -> already built ]
>> [(3/96) gettext -> already built ]
>> [(4/96) libiconv -> already built ]
>> [(5/96) glib -> already built ]
>> [(6/96) libxml2 -> already built ]
>> [(7/96) gtk-doc-lite -> already built ]
>> [(8/96) gstreamer -> already built ]
>>
>> ... [90 lines] All with [(x/96) xx -> already build ]
>>
>> [(95/96) gst-sdk-tutorials -> already built ]
>> [(96/96) vsintegration -> already built ]
>> WARNING: No specific packager available for the distro version windows_7,
>> using generic packager for distro windows
>> -----> Creating package for gstreamer-sdk
>> -----> Creating Merge Module for gstreamer-core
>> ***** Error running 'package' command:
>> The following files required by this package are missing:
>>  bin/gst-inspect-0.10.exe
>> bin/gst-launch-0.10.exe
>> libexec/gstreamer-0.10/gst-plugin-scanner.exe
>> bin/gst-typefind-0.10.exe
>>
>> =========================================================
>> I could include the logs as txt files if required.
>>
>>
>> So it seems it is building the missing executables under a different name:
>>
>> cerbero\dist\windows_x86\bini686-w64-mingw32-gst-inspect-0.10.exe
>> cerbero\dist\windows_x86\i686-w64-mingw32-gst-launch.exe
>> cerbero\dist\windows_x86\libexec\gstreamer-0.10\i686-w64-mingw32-gst-plugin-scanner.exe
>> cerbero\dist\windows_x86\bin\i686-w64-mingw32-gst-typefind-0.10.exe
>>
>> What is best to do?
>>
>>
>>
>> --
>> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/GStreamerSDK-Building-from-source-using-Cerbero-tp4658482p4658604.html
>> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
> --
> Andoni Morales Alastruey
>
> LongoMatch:The Digital Coach
> http://www.longomatch.ylatuya.es



-- 
Andoni Morales Alastruey

LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es


More information about the gstreamer-devel mailing list