Page 1 of 1

Compile VLC for Android on Ubuntu error!

Posted: 10 Jul 2012 19:07
by nova28
I use Ubuntu 12.04 with gcc 4.6.3 and autoreconf 2.68

I follow the instruction at http://wiki.videolan.org/AndroidCompile and in the compile step I have error:
VLC source found
Building the contribs
Guessing build system... i686-linux-gnu
Creating configuration file... config.mak
Bootstrap completed.

Run "make" to start compilation.

Other targets:
* make install same as "make"
* make prebuilt fetch and install prebuilt binaries
* make list list packages
* make fetch fetch required source tarballs
* make fetch-all fetch all source tarballs
* make distclean clean everything and undo bootstrap
* make mostlyclean clean everything except source tarballs
* make clean clean everything
* make package prepare prebuilt packages
make: Nothing to be done for `fetch'.
cd fribidi && rm -f configure && ./bootstrap
Usable autoreconf found, running
autoreconf: `configure.ac' or `configure.in' is required
make: *** [.fribidi] Error 1
It seem to me there are some error with bootstrap and/or autoreconf command at vlc/contrib/android/fribidi/
vlc-android/vlc/contrib/android/fribidi$ ./bootstrap
Usable autoreconf found, running
autoreconf: `configure.ac' or `configure.in' is required
Do you have any idea what is the problem?

Thanks in advance for your help.

Re: Compile VLC for Android on Ubuntu error!

Posted: 10 Jul 2012 20:40
by edwardw

Code: Select all

vlc_android/vlc/contrib/android/fribidi$ ./bootstrap Usable autoreconf found, running libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./config.guess' libtoolize: copying file `./config.sub' libtoolize: copying file `./install-sh' libtoolize: copying file `./ltmain.sh' libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. lib/Headers.mk:22: shell cat $(top_srcdir: non-POSIX variable name lib/Headers.mk:22: (probably a GNU make extension) doc/Makefile.am:26: `lib/Headers.mk' included from here lib/Headers.mk:22: shell cat $(top_srcdir: non-POSIX variable name lib/Headers.mk:22: (probably a GNU make extension) lib/Makefile.am:26: `lib/Headers.mk' included from here test/Makefile.am:25: `%'-style pattern rules are a GNU make extension
Works for me. Maybe try cleaning then entire /contrib/android tree and try again. You should try to follow the steps in compile.sh by hand to make sure you didn't miss any errors earlier. Be sure to run "make fetch" before you run "make" with the contribs in particular.