Trying to build gstreamer on windows...

Eric Trousset etrousset at awox.com
Thu Mar 13 02:03:11 PDT 2014


Hi,

I managed somehow to build a good part of the bootstrap, but I stuck on the gettext-tools. It seems configure fails, but I don't know why, and I can't find the path to the sources to check the config.log file.



Here is the output I get :



[(9/14) gettext-m4 -> already built ]

[(10/14) gettext-tools -> fetch ]

-----> Step done

[(10/14) gettext-tools -> extract ]

-----> Step done

[(10/14) gettext-tools -> configure ]

Running command './configure --prefix /c/source_ext/gstreamer-sdk --libdir /c/source_ext/gstreamer-sdk/lib  --disable-java --disable-csharp --disable-native-java --without-csv --enable-threads=win32 ne_cv_libsfor_gethost

byname="-lws2_32" ac_cv_c_attribute_aligned="64" ac_cv_func_realloc_0_nonnull="yes" lt_cv_deplibs_check_method="pass_all" am_cv_python_pyexecdir="/c/source_ext/gstreamer-sdk/lib/python2.7/site-packages" ac_cv_lib_bz2_BZ2

_bzlibVersion="yes" am_cv_python_version="2.7" ne_cv_libsfor_socket="-lws2_32" am_cv_python_platform="win32" am_cv_python_pythondir="/c/source_ext/gstreamer-sdk/lib/python2.7/site-packages" ac_cv_func_malloc_0_nonnull="y

es" --host=i686-w64-mingw32 --build=i686-w64-mingw32 --target=i686-w64-mingw32'

***** Error running 'bootstrap' command:

Recipe 'gettext-tools' failed at the build step 'configure'

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\cerbero\build\build.py", line 287, in configure

    MakefilesBase.configure(self)

  File "c:/source_ext/cerbero\cerbero\build\build.py", line 86, in call

    res = func(*args)

  File "c:/source_ext/cerbero\cerbero\build\build.py", line 135, in configure

    self.make_dir)

  File "c:/source_ext/cerbero\cerbero\utils\shell.py", line 103, in call

    env=os.environ.copy(), shell=shell)

  File "c:\Python27\lib\subprocess.py", line 506, in check_call

    retcode = call(*popenargs, **kwargs)

  File "c:\Python27\lib\subprocess.py", line 493, in call

    return Popen(*popenargs, **kwargs).wait()

  File "c:\Python27\lib\subprocess.py", line 679, in __init__

    errread, errwrite)

  File "c:\Python27\lib\subprocess.py", line 893, in _execute_child

    startupinfo)

WindowsError: [Error 267] The directory name is invalid



Eric T;


From: gstreamer-devel-bounces at lists.freedesktop.org [mailto:gstreamer-devel-bounces at lists.freedesktop.org] On Behalf Of Andoni Morales
Sent: mercredi 12 mars 2014 17:24
To: Discussion of the development of and with GStreamer
Subject: Re: Trying to build gstreamer on windows...



2014-03-12 16:41 GMT+01:00 Eric Trousset <etrousset at awox.com<mailto: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<ftp://ftp.gnome.org>... 130.239.18.163, 130.239.18.165, 130.239.18.173
Connecting to ftp.gnome.org<http://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<http://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> [mailto: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/cerbero which 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<http://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<mailto:gstreamer-devel at lists.freedesktop.org>

http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org<mailto: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/20140313/31d87f66/attachment-0001.html>


More information about the gstreamer-devel mailing list