cerbero bootstrap for iOS failure @ glib-tools

Armando Di Cianno armando at dicianno.org
Tue Nov 12 11:56:45 PST 2013


I’ve checked out cerbero from
git://anongit.freedesktop.org/gstreamer/sdk/cerbero (instead of the
other location), and I made some great progress. However, I’m stuck.
The bootstrap process just gives up because it seemingly can’t find
libintl / gettext, even though it’s the very first thing it compiles.

Thanks for any info.

$ cat ~/.cerbero/cerbero.cbc
import os
from cerbero.config import Platform, Architecture, Distro, DistroVersion

packages_prefix = 'gstreamer-sdk'
packager = ’foo <foo at foo.org>'
prefix = "/Users/greymouser/Projects/gstreamer/ios-sdk"
git_root = "git://anongit.freedesktop.org/gstreamer-sdk"
# Uncomment to allow parallel builds
# allow_parallel_build = True
# Uncomment this to allow cross-building for another architecture
# target_arch = Architecture.X86_64
target_platform=Platform.IOS
target_arch=Architecture.UNIVERSAL
target_distro=Distro.IOS
target_distro_version=DistroVersion.IOS_7_0
universal_archs=[Architecture.ARMv7, Architecture.X86]

$ cerbero bootstrap
[(17/20) glib-tools -> fetch ]
-----> Step done
[(17/20) glib-tools -> extract ]
-----> Step done
[(17/20) glib-tools -> configure ]
-----> copying /Users/greymouser/Projects/gstreamer/cerbero/data/autotools/config.guess
to /Users/greymouser/cerbero/sources/ios_universal/x86/glib-tools-2.34.2/config.guess
-----> copying /Users/greymouser/Projects/gstreamer/cerbero/data/autotools/config.sub
to /Users/greymouser/cerbero/sources/ios_universal/x86/glib-tools-2.34.2/config.sub
Running command './configure --prefix
/Users/greymouser/Projects/gstreamer/ios-sdk --libdir
/Users/greymouser/Projects/gstreamer/ios-sdk/lib  --disable-gtk-doc
--disable-maintainer-mode  --disable-silent-rules
--host=i386-apple-darwin10'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for i386-apple-darwin10-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... 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... yes
checking for i386-apple-darwin10-gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
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 clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of clang... gcc3
checking how to run the C preprocessor... clang -E
checking build system type... x86_64-apple-darwin13.0.0
checking host system type... i386-apple-darwin10
checking for the BeOS... no
checking for Win32... no
checking for Mac OS X Carbon support... no
checking for Mac OS X Cocoa support... no
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether we are using the GNU C Library 2.1 or newer... no
checking whether to enable garbage collector friendliness... no
checking whether to disable memory pools... no
readlink: illegal option -- f
usage: readlink [-n] [file ...]
checking for i386-apple-darwin10-c++... clang++
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking dependency style of clang++... gcc3
checking for i386-apple-darwin10-gcc... (cached) clang
checking whether we are using the GNU C compiler... (cached) yes
checking whether clang accepts -g... (cached) yes
checking for clang option to accept ISO C89... (cached) none needed
checking dependency style of clang... (cached) gcc3
checking whether clang and cc understand -c and -o together... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for i386-apple-darwin10-pkg-config... no
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for gawk... (cached) awk
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... /usr/bin/python
checking for python version... 2.7
checking for python platform... darwin
checking for python script directory... ${prefix}/lib/python2.7/site-packages
checking for python extension module directory...
${exec_prefix}/lib/python2.7/site-packages
checking for iconv_open... no
checking for libiconv_open in -liconv... yes
checking whether to cache iconv descriptors... yes
checking for ZLIB... yes
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 for LIBFFI... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
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

***** Error running 'bootstrap' command:
Recipe 'glib-tools' failed at the build step ‘configure'


$ find ios-sdk -name "*libintl*"
ios-sdk/armv7/include/libintl.h
ios-sdk/armv7/lib/libintl.8.dylib
ios-sdk/armv7/lib/libintl.a
ios-sdk/armv7/lib/libintl.dylib
ios-sdk/armv7/lib/libintl.la
ios-sdk/armv7/share/gettext/intl/libintl.rc
ios-sdk/x86/include/libintl.h
ios-sdk/x86/lib/libintl.8.dylib
ios-sdk/x86/lib/libintl.a
ios-sdk/x86/lib/libintl.dylib
ios-sdk/x86/lib/libintl.la
ios-sdk/x86/share/gettext/intl/libintl.rc


More information about the gstreamer-devel mailing list