cerbero cross build errors
Mailing List SVR
lists at svrinformatica.it
Sat Nov 10 10:12:31 PST 2012
Il 10/11/2012 15:17, Andoni Morales ha scritto:
> 2012/11/10 Mailing List SVR <lists at svrinformatica.it>:
>> Hi,
>>
>> I'm trying to rebuild gstreamer for android using cerbero, I have several
>> issues:
>>
>> git clone git://anongit.freedesktop.org/gstreamer-sdk/cerbero
>> cd cerbero
>> ./cerbero-uninstalled -c config/cross-android.cbc bootstrap
>>
>> first error:
>>
>> configure: WARNING: unrecognized options: --disable-maintainer-mode
>> [(1/7) automake -> compile ]
>> Running command 'make'
>> CDPATH="${ZSH_VERSION+.}:" && cd . &&
>> perllibdir="/home/nicola/cerbero/sources/buid-tools/automake-1.12.4/lib:./lib"
>> "/home/nicola/cerbero/sources/buid-tools/automake-1.12.4/aclocal" --acdir=m4
>> -I m4
>> /bin/bash: /home/nicola/cerbero/sources/buid-tools/automake-1.12.4/aclocal:
>> No such file or directory
>> make: *** [aclocal.m4] Error 127
>> ***** Error running 'bootstrap' command:
>> Recipe 'automake' failed at the build step 'compile'
>>
>> fix:
>>
>> cd ~/cerbero/sources/build-tools/automake-1.12.4
>> sh bootstrap.sh
>>
>> ./cerbero-uninstalled -c config/cross-android.cbc bootstrap (android sdk
>> redownloaded)
>>
>> configure: WARNING: unrecognized options: --disable-maintainer-mode
>> [(3/7) autoconf -> compile ]
>> Running command 'make'
>> CDPATH="${ZSH_VERSION+.}:" && cd . && aclocal
>> -I/home/nicola/cerbero/build-tools/share/aclocal -I m4
>> sh: 1: build-aux/git-version-gen: Permission denied
>> configure.ac:31: error: AC_INIT should be called with package and version
>> arguments
>> /home/nicola/cerbero/build-tools/share/aclocal-1.12/init.m4:23:
>> AM_INIT_AUTOMAKE is expanded from...
>> configure.ac:31: the top level
>> autom4te: /usr/bin/m4 failed with exit status: 1
>> aclocal: error: autom4te failed with exit status: 1
>> make: *** [aclocal.m4] Error 1
>> ***** Error running 'bootstrap' command:
>> Recipe 'autoconf' failed at the build step 'compile'
>>
>> fix:
>>
>> find . -name 'git-version-gen' -exec chmod 755 {} \;
>>
>> ./cerbero-uninstalled -c config/cross-android.cbc bootstrap (android sdk
>> redownloaded)
>>
>> Running command 'git clone /home/nicola/cerbero/sources/local/orc -b build
>> .'
>> Cloning into '.'...
>> done.
>> [(6/7) orc -> configure ]
>> Running command 'autoreconf -f -i'
>> configure.ac:1: error: Autoconf version 2.58 or higher is required
>> configure.ac:1: the top level
>> autom4te: /home/nicola/cerbero/build-tools/bin/m4 failed with exit status:
>> 63
>> aclocal: error: /home/nicola/cerbero/build-tools/bin/autom4te failed with
>> exit status: 63
>> autoreconf: aclocal failed with exit status: 63
>> ***** Error running 'bootstrap' command:
>> Recipe 'orc' failed at the build step 'configure'
>>
>> now the problem is that autoreconf show as version "UNKNOWN-dirty"
>>
>> I can continue to fix here and there but since cerbero is used to generate
>> android buils I think I'm doing something wrong,
> Hi Nicola,
>
> The orc recipe is also missing a dependency in autotools and automake.
> This should be now fixed upstream too.
Hi Andoni,
doing a clean checkout and doing the bootstrap give now the following error:
Cloning into '.'...
done.
[(3/7) automake -> configure ]
-----> copying /home/nicola/cerbero/data/autotools/config.guess to
/home/nicola/cerbero/sources/buid-tools/automake-1.12.4/lib/config.guess
-----> copying /home/nicola/cerbero/data/autotools/config.sub to
/home/nicola/cerbero/sources/buid-tools/automake-1.12.4/lib/config.sub
Running command './configure --prefix /home/nicola/cerbero/build-tools
--libdir /home/nicola/cerbero/build-tools/lib --disable-maintainer-mode'
configure: WARNING: unrecognized options: --disable-maintainer-mode
checking whether make supports nested variables... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for perl... /usr/bin/perl
checking whether /usr/bin/perl supports ithreads... yes
checking for tex... tex
checking for yacc... yacc
checking for lex... lex
checking whether autoconf is installed... yes
checking whether autoconf works... yes
checking whether autoconf is recent enough... no
configure: error: Autoconf 2.62 or better is required.
***** Error running 'bootstrap' command:
Recipe 'automake' failed at the build step 'configure'
I'm trying this in a clean debian sid chroot, however even fixing these
errors I'm able to build gstreamer package for the running but not for arm,
can you please give some instructions to cross compile gstreamer for arm
using cerbero?
thanks
Nicola
>
> Andoni
>> any advices?
>>
>> thanks
>> Nicola
>>
>>
>>
>>
>> _______________________________________________
>> gstreamer-android mailing list
>> gstreamer-android at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
>
>
More information about the gstreamer-android
mailing list