Trying to build gstreamer on windows...

Eric Trousset etrousset at awox.com
Mon Mar 17 02:13:47 PDT 2014


Hi, 
I managed to go further in the process of building gstreamer, now, building glib fails. The configure seems not to be able to find the zlib.

Here is the output for this one : 


etrousset at Madagascar ~
$ ./cerbero-git/cerbero-uninstalled build glib
Building the following recipes: mingw-runtime gettext libiconv libffi zlib glib
[(1/6) mingw-runtime -> already built ]
[(2/6) gettext -> already built ]
[(3/6) libiconv -> already built ]
[(4/6) libffi -> already built ]
[(5/6) zlib -> already built ]
[(6/6) glib -> fetch ]
-----> Step done
[(6/6) glib -> extract ]
-----> Step done
[(6/6) glib -> configure ]
You don't have gtk-doc installed, and thus won't be able to generate the documentation.
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I/home/etrousset/gstreamer-sdk/share/aclocal -IC:/Dev/Tools/MinGW/msys/1.0/home/etrousset/cerbero/build-tools/share/aclocal --force -I m4macros ${ACLOCAL_FLAGS}
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4macros'.
libtoolize: copying file `m4macros/libtool.m4'
libtoolize: copying file `m4macros/ltoptions.m4'
libtoolize: copying file `m4macros/ltsugar.m4'
libtoolize: copying file `m4macros/ltversion.m4'
libtoolize: copying file `m4macros/lt~obsolete.m4'
autoreconf: running: /home/etrousset/gstreamer-sdk/bin/autoconf --force
autoreconf: running: /home/etrousset/gstreamer-sdk/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
gio/Makefile.am:108: warning: source file 'gvdb/gvdb-reader.c' is in a subdirectory,
gio/Makefile.am:108: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding output
automake: object file(s) will be placed in the top-level directory.  However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
gio/Makefile.am:678: warning: source file 'gvdb/gvdb-builder.c' is in a subdirectory,
gio/Makefile.am:678: but option 'subdir-objects' is disabled
gio/Makefile.am:696: warning: source file 'gvdb/gvdb-builder.c' is in a subdirectory,
gio/Makefile.am:696: but option 'subdir-objects' is disabled
gio/tests/Makefile.am:205: warning: source file '$(top_srcdir)/gio/gdbusdaemon.c' is in a subdirectory,
gio/tests/Makefile.am:205: but option 'subdir-objects' is disabled
gio/tests/Makefile.am:203: warning: source file '$(top_builddir)/gio/gdbus-daemon-generated.c' is in a subdirectory,
gio/tests/Makefile.am:203: but option 'subdir-objects' is disabled
glib/Makefile.am:95: warning: source file 'deprecated/gallocator.c' is in a subdirectory,
glib/Makefile.am:95: but option 'subdir-objects' is disabled
glib/Makefile.am:95: warning: source file 'deprecated/gcache.c' is in a subdirectory,
glib/Makefile.am:95: but option 'subdir-objects' is disabled
glib/Makefile.am:95: warning: source file 'deprecated/gcompletion.c' is in a subdirectory,
glib/Makefile.am:95: but option 'subdir-objects' is disabled
glib/Makefile.am:95: warning: source file 'deprecated/grel.c' is in a subdirectory,
glib/Makefile.am:95: but option 'subdir-objects' is disabled
glib/Makefile.am:95: warning: source file 'deprecated/gthread-deprecated.c' is in a subdirectory,
glib/Makefile.am:95: but option 'subdir-objects' is disabled
glib/tests/Makefile.am:166: warning: source file '../../glib/gwakeup.c' is in a subdirectory,
glib/tests/Makefile.am:166: but option 'subdir-objects' is disabled
glib/tests/Makefile.am:195: warning: source file '../../glib/gwakeup.c' is in a subdirectory,
glib/tests/Makefile.am:195: but option 'subdir-objects' is disabled
autoreconf: Leaving directory `.'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '500' is supported by ustar format... yes
checking whether GID '544' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... (cached) yes
checking for i686-w64-mingw32-gcc... i686-w64-mingw32-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-w64-mingw32-gcc accepts -g... yes
checking for i686-w64-mingw32-gcc option to accept ISO C89... none needed
checking whether i686-w64-mingw32-gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of i686-w64-mingw32-gcc... gcc3
checking how to run the C preprocessor... i686-w64-mingw32-cpp
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking build system type... i686-w64-mingw32
checking host system type... i686-w64-mingw32
checking for the BeOS... no
checking for Win32... yes
checking for the Android... no
checking for i686-w64-mingw32-windres... i686-w64-mingw32-windres
checking for i686-w64-mingw32-nm... i686-w64-mingw32-nm
checking for i686-w64-mingw32-ranlib... i686-w64-mingw32-ranlib
checking for i686-w64-mingw32-dlltool... i686-w64-mingw32-dlltool
checking for lib.exe... no
yes
checking for Mac OS X Carbon support... no
yes
checking for Mac OS X Carbon support... no
checking whether to enable garbage collector friendliness... no
checking whether to disable memory pools... no
checking for i686-w64-mingw32-c++... i686-w64-mingw32-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i686-w64-mingw32-g++ accepts -g... yes
checking dependency style of i686-w64-mingw32-g++... gcc3
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking pkg-config is at least version 0.16... ./configure: line 6974: C:/Dev/Tools/MinGW/msys/1.0/home/etrousset/cerbero/build-tools/bin/pkg-config: No such file or directory
no
checking how to get MSVC-compatible struct packing... -mms-bitfields
checking for gawk... (cached) gawk
checking for perl5... no
checking for perl... perl
checking for indent... indent
checking for perl... /usr/bin/perl
checking for a Python interpreter with version >= 2.5... python
checking for python... /c/Python27//python
checking for python version... (cached) 2.7
checking for python platform... (cached) win32
checking for python script directory... (cached) /home/etrousset/gstreamer-sdk/lib/python2.7/site-packages
checking for python extension module directory... (cached) /home/etrousset/gstreamer-sdk/lib/python2.7/site-packages
checking for ZLIB... no
checking for inflate in -lz... yes
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no
configure: error: *** Working zlib library and headers not found ***
Running command 'sh autogen.sh --prefix /home/etrousset/gstreamer-sdk --libdir /home/etrousset/gstreamer-sdk/lib  --disable-gtk-doc --with-libiconv=gnu --disable-maintainer-mode  --disable-silent-rules  am_cv_python_plat
form="win32" ne_cv_libsfor_gethostbyname="-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="/home/etrousset/gstreamer-sdk/lib/python
2.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_pythondir="/home/etrousset/gstreamer-sdk/lib/python2.7/site-packages" ac_cv_func_malloc_0_no
nnull="yes" --host=i686-w64-mingw32 --build=i686-w64-mingw32 --target=i686-w64-mingw32'

Recipe 'glib' failed at the build step 'configure'
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
4
***** Error running 'build' command:


Also I don't have a /home/etrousset/cerbero/build-tools folder.

Regards,
Eric T.


> -----Original Message-----
> From: gstreamer-devel-bounces at lists.freedesktop.org [mailto:gstreamer-
> devel-bounces at lists.freedesktop.org] On Behalf Of Eric Trousset
> Sent: vendredi 14 mars 2014 17:29
> To: Discussion of the development of and with GStreamer
> Subject: RE: Trying to build gstreamer on windows...
> 
> From my analysis of the problem, it looks like somehow, the mingw path
> "/home/.../" is interpreted by python like a standard window path, and thus
> don't find it, and can't create it.
> 
> It looks like I may have python not well configured inside MinGw.
> Any advice on that?
> 
> Cheers,
> Eric T
> 
> > -----Original Message-----
> > From: gstreamer-devel-bounces at lists.freedesktop.org [mailto:gstreamer-
> > devel-bounces at lists.freedesktop.org] On Behalf Of Eric Trousset
> > Sent: vendredi 14 mars 2014 17:07
> > To: Discussion of the development of and with GStreamer
> > Subject: RE: Trying to build gstreamer on windows...
> >
> > Hi,
> > I managed to successfully build all the bootstrap recipes except the first
> one.
> > I still get the following error :
> > Running command 'rm -rf /home/etrousset/gstreamer-sdk/include/GL'
> >
> > ***** Error running 'bootstrap' command:
> > Recipe 'mingw-runtime' failed at the build step 'install'
> > Traceback (most recent call last):
> >   File "./cerbero-git\cerbero\build\oven.py", line 143, in _cook_recipe
> >     stepfunc()
> >   File "C:/Dev/Tools/MinGW/msys/1.0/home/etrousset/cerbero-
> > git/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:
> > '/home/etrousset/gstreamer-sdk/include/GL'
> >
> >
> > Actually the '/home/etrousset/gstreamer-sdk/include/GL' directory does
> > not exist.
> >
> > Is there a way to have a more precise error context? Is there a way to
> > fix this?
> > The recipe that fails is :  Recipe 'mingw-runtime' failed at the build
> > step 'install'
> >
> > Regards,
> > Eric T.
> >
> >
> > > -----Original Message-----
> > > From: gstreamer-devel-bounces at lists.freedesktop.org
> > > [mailto:gstreamer- devel-bounces at lists.freedesktop.org] On Behalf Of
> > > jlemmetti
> > > Sent: vendredi 14 mars 2014 11:15
> > > To: gstreamer-devel at lists.freedesktop.org
> > > Subject: RE: Trying to build gstreamer on windows...
> > >
> > > Hello,
> > >
> > > I stumbled on exactly the same error message while bootstrapping. I
> > > had also used previously different prefix, and also I had changed
> > > the
> > architecture.
> > > As a result, a I got a lot of different strange errors while bootstrapping.
> > >
> > > My solution was to
> > > 1) Remove the mingw installation and re-install mingw-msys from
> > > scratch (remembering to backup e.g. cerbero.cbc)
> > > 2) Remove the cerbero directory, and re-installing from git
> > >
> > > After these, I was able to make progress the bootstrap process.
> > > However, the 'cerbero-uninstalled bootstrap' failed at cmake. When I
> > > ran the './cerbero-uninstalled -c config/build-tools.cbc buildone
> > > cmake', first it complained that dll 'libgcc_s_sjlj-1.dll' was
> > > missing. I copied it from ~/cerbero/mingw/w64/lib to ../bin. After
> > > that I got the same error message than at the first time:
> > >
> > > [ 99%] Built target pseudonl_purify
> > > [100%] Built target pseudonl_valgrind Install the project...
> > > make: cmake: Command not found
> > > make: *** [install] Error 127
> > > ***** Error running 'buildone' command:
> > > Recipe 'cmake' failed at the build step 'install'
> > >
> > >
> > >
> > >
> > > --
> > > View this message in context: http://gstreamer-
> > > devel.966125.n4.nabble.com/Trying-to-build-gstreamer-on-windows-
> > > tp4665917p4665953.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
> > _______________________________________________
> > 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


More information about the gstreamer-devel mailing list