Trying to build gstreamer on windows...

Andoni Morales ylatuya at gmail.com
Wed Mar 12 09:23:36 PDT 2014


2014-03-12 16:41 GMT+01:00 Eric Trousset <etrousset at awox.com>:

> Thx for pointing me to the cerbero.
>
> Now I encounter a issue when trying to build the bootstrap, which to my
> understanding will install all the needed tools and libs to builmd
> GStreamer.
>
>
>
> When call ‘cerbero bootstrap’, I get the following logs :
>
>
>
> $ cerbero bootstrap
>
> WARNING: No bootstrapper for the distro version windows_7
>
> Running command 'mingw-get install msys-wget'
>
> install: wget-1.12-1-msys-1.0.13-bin.tar.lzma
>
> mingw-get.exe: *** ERROR *** package wget-1.12-1-msys-1.0.13-bin.tar.lzma
> is already installed
>
> install: wget-1.12-1-msys-1.0.13-lang.tar.lzma
>
> mingw-get.exe: *** ERROR *** package wget-1.12-1-msys-1.0.13-lang.tar.lzma
> is already installed
>
> install: wget-1.12-1-msys-1.0.13-doc.tar.lzma
>
> mingw-get.exe: *** ERROR *** package wget-1.12-1-msys-1.0.13-doc.tar.lzma
> is already installed
>
> install: wget-1.12-1-msys-1.0.13-lic.tar.lzma
>
> mingw-get.exe: *** ERROR *** package wget-1.12-1-msys-1.0.13-lic.tar.lzma
> is already installed
>
> File
> C:/Dev/Tools/MinGW/msys/1.0/home/etrousset/cerbero/mingw/w32/mingw-w32-gcc-4.7.3-windows-x86.tar.xz
> already downloaded.
>
> Unpacking
> C:/Dev/Tools/MinGW/msys/1.0/home/etrousset/cerbero/mingw/w32/mingw-w32-gcc-4.7.3-windows-x86.tar.xz
> in C:/Dev/Tools/MinGW/msys/1.0/home/etrousset/cerbero/mingw/w32
>
> Running command 'tar -Jxf
> /C/Dev/Tools/MinGW/msys/1.0/home/etrousset/cerbero/mingw/w32/mingw-w32-gcc-4.7.3-windows-x86.tar.xz'
>
> tar: mingw: Cannot create symlink to `i686-w64-mingw32': File exists
>
> tar: Exiting with failure status due to previous errors
>
> '/home/andoni/mingw/windows/w32/lib/../lib'
>
>
>
> Running command 'rm -rf /mingw/lib'
>
> Downloading
> http://ftp.gnome.org/pub/gnome/binaries/win32/intltool/0.40/intltool_0.40.4-1_win32.zip
>
> Running command 'wget
> http://ftp.gnome.org/pub/gnome/binaries/win32/intltool/0.40/intltool_0.40.4-1_win32.zip-O c:/users/etrous~1/appdata/local/temp/tmprl2ccq/download.zip '
>
> --2014-03-12 16:33:06--
> http://ftp.gnome.org/pub/gnome/binaries/win32/intltool/0.40/intltool_0.40.4-1_win32.zip
>
> Resolving ftp.gnome.org... 130.239.18.163, 130.239.18.165, 130.239.18.173
>
> Connecting to ftp.gnome.org|130.239.18.163|:80... connected.
>
> HTTP request sent, awaiting response... 200 OK
>
> Length: 47990 (47K) [application/zip]
>
> Saving to: `c:/users/etrous~1/appdata/local/temp/tmprl2ccq/download.zip'
>
>
>
> 100%[==================================================================================================================================================================================>]
> 47,990       305K/s   in 0.2s
>
>
>
> 2014-03-12 16:33:06 (305 KB/s) -
> `c:/users/etrous~1/appdata/local/temp/tmprl2ccq/download.zip' saved
> [47990/47990]
>
>
>
> Unpacking c:/users/etrous~1/appdata/local/temp/tmprl2ccq/download.zip in
> C:/Dev/Tools/MinGW/msys/1.0/home/etrousset/cerbero/mingw/w32
>
> -----> Installing Python headers
>
> Running command 'git clone git://
> anongit.freedesktop.org/gstreamer-sdk/windows-external-sdk.git'
>
> Cloning into 'windows-external-sdk'...
>
> remote: Counting objects: 111, done.
>
> remote: Compressing objects: 100% (105/105), done.
>
> remote: Total 111 (delta 2), reused 0 (delta 0)
>
> Receiving objects: 100% (111/111), 2.34 MiB | 101.00 KiB/s, done.
>
> Resolving deltas: 100% (2/2), done.
>
> Checking connectivity... done.
>
> Running command 'mkdir -p
> /C/Dev/Tools/MinGW/msys/1.0/home/etrousset/cerbero/mingw/w32/include/Python2.7'
>
> Running command 'cp -f
> /c/users/etrous~1/appdata/local/temp/tmp7i0j_v/windows-external-sdk/python27/w32/include/*
> /C/Dev/Tools/MinGW/msys/1.0/home/etrousset/cerbero/mingw/w32/include/Python2.7'
>
> Running command 'cp -f
> /c/users/etrous~1/appdata/local/temp/tmp7i0j_v/windows-external-sdk/python27/w32/lib/*
> /C/Dev/Tools/MinGW/msys/1.0/home/etrousset/cerbero/mingw/w32/lib'
>
> Running command 'ln -s python27.dll
> C:/Dev/Tools/MinGW/msys/1.0/home/etrousset/cerbero/mingw/w32/lib/python.dll'
>
> Building the following recipes: mingw-runtime gettext libiconv autoconf
> automake libtool pkg-config orc-tool gettext-m4 gettext-tools gperf
> intltool yasm cmake
>
> [(1/14) mingw-runtime -> fetch ]
>
> -----> Step done
>
> [(1/14) mingw-runtime -> extract ]
>
> -----> Step done
>
> [(1/14) mingw-runtime -> configure ]
>
> -----> Step done
>
> [(1/14) mingw-runtime -> compile ]
>
> -----> Step done
>
> [(1/14) mingw-runtime -> install ]
>
> Running command 'rm -rf /opt/gstreamer-sdk/include/GL'
>
> ***** Error running 'bootstrap' command:
>
> Recipe 'mingw-runtime' failed at the build step 'install'
>
> Traceback (most recent call last):
>
>   File "c:/source_ext/cerbero\cerbero\build\oven.py", line 103, in
> _cook_recipe
>
>     stepfunc()
>
>   File "c:/source_ext/cerbero/recipes/mingw-runtime.recipe", line 102, in
> install
>
>     shutil.copytree(src, dest)
>
>   File "c:\Python27\lib\shutil.py", line 174, in copytree
>
>     os.makedirs(dst)
>
>   File "c:\Python27\lib\os.py", line 157, in makedirs
>
>     mkdir(name, mode)
>
> WindowsError: [Error 183] Cannot create a file when that file already
> exists: '/opt/gstreamer-sdk/include/GL'
>

Could you try removing /opt/gstreamer-sdk/include/GL manually and run the
bootstrap again? You can skip the previous steps with "cerbero bootstrap
--build-tools-only".
This path is removed one line before as the log shows "Running command 'rm
-rf /opt/gstreamer-sdk/include/GL'", but for some reason the directory
seems to be there.

Andoni



>
>
>
> etrousset at Madagascar /c/source_ext/cerbero
>
> $
>
>
>
> Am I missing some steps?
>
>
>
> Eric T.
>
>
>
> *From:* gstreamer-devel-bounces at lists.freedesktop.org [mailto:
> gstreamer-devel-bounces at lists.freedesktop.org] *On Behalf Of *Dušan Poizl
> *Sent:* mercredi 12 mars 2014 11:58
> *To:* Discussion of the development of and with GStreamer
> *Subject:* Re: Trying to build gstreamer on windows...
>
>
>
> gstreamer depend on tons of libraries. there is automatic build tool
> called cerbero
> http://docs.gstreamer.com/display/GstSDK/Building+from+source+using+Cerbero
>
> just use this repository http://cgit.freedesktop.org/gstreamer/sdk/cerberowhich contain version which build recent 1.2 version of gstreamer
>
> Dňa 12.03.2014 10:59, Eric Trousset wrote / napísal(a):
>
> Hi,
>
>
>
> I’m trying to build gstreamer on windows platform, I installed MinGW and
> MSys, with the developer packages.
>
>
>
> Got the sources from git, then run ./autogen.sh
>
>
>
> I get the following output :
>
>
>
> $ ./autogen.sh
>
> + check for build tools
>
>   checking for autoconf >= 2.68 ... found 2.68, ok.
>
>   checking for automake >= 1.11 ... found 1.11.1, ok.
>
>   checking for autopoint >= 0.17 ... found 0.18.3, ok.
>
>   checking for libtoolize >= 2.2.6 ... found 2.4, ok.
>
>   checking for pkg-config >= 0.8.0 ... found 0.28, ok.
>
> + checking for autogen.sh options
>
>   This autogen script will automatically run ./configure as:
>
>   ./configure --enable-maintainer-mode --enable-gtk-doc --enable-docbook
> --enable-failing-tests --enable-poisoning
>
>   To pass any additional options, please specify them on the ./autogen.sh
>
>   command line.
>
> + running autopoint --force...
>
> autopoint: *** Missing version: please specify in configure.ac through a
> line 'AM_GNU_GETTEXT_VERSION(x.yy.zz)' the gettext version the package is
> using
>
> autopoint: *** Stop.
>
>
>
> autopoint failed
>
>
>
>
>
> Any advice on how to fix this?
>
>
>
> Is there somewhere with a proper windows build procedure explained?
>
>
>
> Cheers,
>
> Eric T.
>
>
>
>
> _______________________________________________
>
> gstreamer-devel mailing list
>
> gstreamer-devel at lists.freedesktop.org
>
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140312/2df42bb0/attachment-0001.html>


More information about the gstreamer-devel mailing list