building gstreamer with cerbero on windows error

SKilb sebastian.kilb1 at gmail.com
Wed Feb 21 13:48:01 UTC 2018


thank you for your reply.

I deleted everything and started completely new following this guide
https://gstreamer.freedesktop.org/documentation/installing/building-from-source-using-cerbero.html

bootstrap runs without problems. However I noticed that it creates a new
mingw folder "cerbero\build\mingw\w64" is this normal?
I also found out, that with Visual Studio 2017 the environment variable
VSCOMNTOOLS150 is missing, so I set this path directly "C:/Program Files
(x86)/Microsoft Visual
Studio/2017/Professional/VC/Tools/MSVC/14.12.25827/bin/Hostx86/x86/" in the
gelib.py script and it removed the warnings I had before, while executing
bootstrap.

But package gstreamer-1.0 throws some warnings and errors.

[(2/82) gettext -> gen_library_file ]
WARNING: Some libraries weren't found while searching!
libintl
WARNING: Could not create libintl.lib, no matching DLLs found

[(3/82) libiconv-> gen_library_file ]
WARNING: Some libraries weren't found while searching!
libiconv
libcharset
WARNING: Could not create libiconv.lib, no matching DLLs found
WARNING: Could not create libcharset.lib, no matching DLLs found

and then it fails completely at [(6/82) glib -> configure ]

Running command 'sh autogen.sh --prefix /opt/gstreamer-sdk --libdir
/opt/gstreamer-sdk/lib --disable-maintainer-mode  --disable-silent-rules 
--disable-introspection  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" ac_cv_lib_bz2_BZ2_bzlibVersion="yes"
ne_cv_libsfor_socket="-lws2_32" ac_cv_func_malloc_0_nonnull="yes"
--host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32
--target=x86_64-w64-mingw32  --with-pcre=internal --disable-libmount
--enable-dtrace=no  --disable-gtk-doc  --with-libiconv=gnu '
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: 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_DIRS, '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:
/C/MinGW/msys/1.0/home/Kilb/cerbero/build/build-tools/bin/autoconf --force
autoreconf: running:
/C/MinGW/msys/1.0/home/Kilb/cerbero/build/build-tools/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:112: installing './compile'
configure.ac:66: installing './missing'
gio/Makefile.am:110: warning: source file 'gvdb/gvdb-reader.c' is in a
subdirectory,
gio/Makefile.am:110: 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:804: warning: source file 'gvdb/gvdb-builder.c' is in a
subdirectory,
gio/Makefile.am:804: but option 'subdir-objects' is disabled
gio/Makefile.am:821: warning: source file 'gvdb/gvdb-builder.c' is in a
subdirectory,
gio/Makefile.am:821: but option 'subdir-objects' is disabled
gio/Makefile.am: installing './depcomp'
gio/tests/Makefile.am:236: warning: source file
'$(top_srcdir)/gio/gdbusdaemon.c' is in a subdirectory,
gio/tests/Makefile.am:236: but option 'subdir-objects' is disabled
gio/tests/Makefile.am:234: warning: source file
'$(top_builddir)/gio/gdbus-daemon-generated.c' is in a subdirectory,
gio/tests/Makefile.am:234: but option 'subdir-objects' is disabled
glib/Makefile.am:97: warning: source file 'deprecated/gallocator.c' is in a
subdirectory,
glib/Makefile.am:97: but option 'subdir-objects' is disabled
glib/Makefile.am:97: warning: source file 'deprecated/gcache.c' is in a
subdirectory,
glib/Makefile.am:97: but option 'subdir-objects' is disabled
glib/Makefile.am:97: warning: source file 'deprecated/gcompletion.c' is in a
subdirectory,
glib/Makefile.am:97: but option 'subdir-objects' is disabled
glib/Makefile.am:97: warning: source file 'deprecated/grel.c' is in a
subdirectory,
glib/Makefile.am:97: but option 'subdir-objects' is disabled
glib/Makefile.am:97: warning: source file 'deprecated/gthread-deprecated.c'
is in a subdirectory,
glib/Makefile.am:97: 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
glib/tests/Makefile.am:235: warning: source file '../../glib/gwakeup.c' is
in a subdirectory,
glib/tests/Makefile.am:235: but option 'subdir-objects' is disabled
win32/Makefile-newvs.am:23: warning: MSVC_TOOLSET was already defined in
condition TRUE, which includes condition MSVC_NO_TOOLSET_SET ...
win32/vs15/Makefile.am:47:   'win32/Makefile-newvs.am' included from here
win32/vs15/Makefile.am:45: ... 'MSVC_TOOLSET' previously defined here
autoreconf: Leaving directory `.'
configure: WARNING: unrecognized options: --disable-introspection
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 x86_64-w64-mingw32-gcc... x86_64-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 x86_64-w64-mingw32-gcc accepts -g... yes
checking for x86_64-w64-mingw32-gcc option to accept ISO C89... none needed
checking whether x86_64-w64-mingw32-gcc understands -c and -o together...
yes
checking for style of include used by make... GNU
checking dependency style of x86_64-w64-mingw32-gcc... gcc3
checking how to run the C preprocessor... x86_64-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... x86_64-w64-mingw32
checking host system type... x86_64-w64-mingw32
checking for Win32... yes
checking for the Android... no
checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres
checking for x86_64-w64-mingw32-nm... x86_64-w64-mingw32-nm
checking for x86_64-w64-mingw32-ranlib... x86_64-w64-mingw32-ranlib
checking for x86_64-w64-mingw32-dlltool... x86_64-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 x86_64-w64-mingw32-c++... x86_64-w64-mingw32-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-w64-mingw32-g++ accepts -g... yes
checking dependency style of x86_64-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... yes
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... no
checking for perl... /usr/bin/perl
checking for a Python interpreter with version >= 2.7... python
checking for python... /c/Python27/python
checking for python version... 2.7
checking for python platform... win32
checking for python script directory... ${prefix}\Lib\site-packages
checking for python extension module directory...
${exec_prefix}\Lib\site-packages
checking for zlib... yes
checking for libffi >= 3.0.0... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... no
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking libintl.h usability... no
checking libintl.h presence... no
checking for libintl.h... no
configure: error: 
*** You must have either have gettext support in your C library, or use the
*** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html)



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list