Can't compile libvlc
Posted: 05 Sep 2016 14:27
Dear friends:
Hope I am publishing this question at the right place.
I am trying to compile libvlc for Android but everytime I get some errors I can't solve.
I tried in a machine with Ubuntu 14 and another with Ubuntu 15
I have followed all the instructions at https://wiki.videolan.org/AndroidCompile/
I have followed these steps:
- git clone https://code.videolan.org/videolan/vlc-android.git
- cd vlc-android
- git checkout 2.0.6
./compile.sh
Then, after a while, I get these errors:
compat/Makefile.am:1: error: Libtool library used but 'LIBTOOL' is undefined
compat/Makefile.am:1: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
compat/Makefile.am:1: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
compat/Makefile.am:1: If 'LT_INIT' is in 'configure.ac', make sure
compat/Makefile.am:1: its definition is in aclocal's search path.
lib/Makefile.am:31: error: Libtool library used but 'LIBTOOL' is undefined
lib/Makefile.am:31: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
lib/Makefile.am:31: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
lib/Makefile.am:31: If 'LT_INIT' is in 'configure.ac', make sure
lib/Makefile.am:31: its definition is in aclocal's search path.
modules/Makefile.am:20: error: Libtool library used but 'LIBTOOL' is undefined
modules/Makefile.am:20: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
modules/Makefile.am:20: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
modules/Makefile.am:20: If 'LT_INIT' is in 'configure.ac', make sure
modules/Makefile.am:20: its definition is in aclocal's search path.
modules/gui/macosx/Makefile.am:18: error: Libtool library used but 'LIBTOOL' is undefined
modules/gui/macosx/Makefile.am:18: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
modules/gui/macosx/Makefile.am:18: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
modules/gui/macosx/Makefile.am:18: If 'LT_INIT' is in 'configure.ac', make sure
modules/gui/macosx/Makefile.am:18: its definition is in aclocal's search path.
modules/gui/qt/Makefile.am:33: error: Libtool library used but 'LIBTOOL' is undefined
modules/gui/qt/Makefile.am:33: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
modules/gui/qt/Makefile.am:33: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
modules/gui/qt/Makefile.am:33: If 'LT_INIT' is in 'configure.ac', make sure
modules/gui/qt/Makefile.am:33: its definition is in aclocal's search path.
modules/gui/skins2/Makefile.am:6: error: Libtool library used but 'LIBTOOL' is undefined
modules/gui/skins2/Makefile.am:6: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
modules/gui/skins2/Makefile.am:6: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
modules/gui/skins2/Makefile.am:6: If 'LT_INIT' is in 'configure.ac', make sure
modules/gui/skins2/Makefile.am:6: its definition is in aclocal's search path.
modules/hw/mmal/Makefile.am:11: error: Libtool library used but 'LIBTOOL' is undefined
modules/hw/mmal/Makefile.am:11: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
modules/hw/mmal/Makefile.am:11: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
modules/hw/mmal/Makefile.am:11: If 'LT_INIT' is in 'configure.ac', make sure
modules/hw/mmal/Makefile.am:11: its definition is in aclocal's search path.
src/Makefile.am:167: error: Libtool library used but 'LIBTOOL' is undefined
src/Makefile.am:167: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
src/Makefile.am:167: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
src/Makefile.am:167: If 'LT_INIT' is in 'configure.ac', make sure
src/Makefile.am:167: its definition is in aclocal's search path.
autoreconf: automake failed with exit status: 1
vlc: bootstrap failed
Libtools is installed.
In one machine I have updated the libtools to the latest version (I downloaded the source code, compiled and instaled it, after removed the old libtools)
Please, can anybody help me to solve this?
Thanks
Hope I am publishing this question at the right place.
I am trying to compile libvlc for Android but everytime I get some errors I can't solve.
I tried in a machine with Ubuntu 14 and another with Ubuntu 15
I have followed all the instructions at https://wiki.videolan.org/AndroidCompile/
I have followed these steps:
- git clone https://code.videolan.org/videolan/vlc-android.git
- cd vlc-android
- git checkout 2.0.6
./compile.sh
Then, after a while, I get these errors:
compat/Makefile.am:1: error: Libtool library used but 'LIBTOOL' is undefined
compat/Makefile.am:1: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
compat/Makefile.am:1: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
compat/Makefile.am:1: If 'LT_INIT' is in 'configure.ac', make sure
compat/Makefile.am:1: its definition is in aclocal's search path.
lib/Makefile.am:31: error: Libtool library used but 'LIBTOOL' is undefined
lib/Makefile.am:31: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
lib/Makefile.am:31: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
lib/Makefile.am:31: If 'LT_INIT' is in 'configure.ac', make sure
lib/Makefile.am:31: its definition is in aclocal's search path.
modules/Makefile.am:20: error: Libtool library used but 'LIBTOOL' is undefined
modules/Makefile.am:20: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
modules/Makefile.am:20: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
modules/Makefile.am:20: If 'LT_INIT' is in 'configure.ac', make sure
modules/Makefile.am:20: its definition is in aclocal's search path.
modules/gui/macosx/Makefile.am:18: error: Libtool library used but 'LIBTOOL' is undefined
modules/gui/macosx/Makefile.am:18: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
modules/gui/macosx/Makefile.am:18: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
modules/gui/macosx/Makefile.am:18: If 'LT_INIT' is in 'configure.ac', make sure
modules/gui/macosx/Makefile.am:18: its definition is in aclocal's search path.
modules/gui/qt/Makefile.am:33: error: Libtool library used but 'LIBTOOL' is undefined
modules/gui/qt/Makefile.am:33: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
modules/gui/qt/Makefile.am:33: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
modules/gui/qt/Makefile.am:33: If 'LT_INIT' is in 'configure.ac', make sure
modules/gui/qt/Makefile.am:33: its definition is in aclocal's search path.
modules/gui/skins2/Makefile.am:6: error: Libtool library used but 'LIBTOOL' is undefined
modules/gui/skins2/Makefile.am:6: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
modules/gui/skins2/Makefile.am:6: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
modules/gui/skins2/Makefile.am:6: If 'LT_INIT' is in 'configure.ac', make sure
modules/gui/skins2/Makefile.am:6: its definition is in aclocal's search path.
modules/hw/mmal/Makefile.am:11: error: Libtool library used but 'LIBTOOL' is undefined
modules/hw/mmal/Makefile.am:11: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
modules/hw/mmal/Makefile.am:11: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
modules/hw/mmal/Makefile.am:11: If 'LT_INIT' is in 'configure.ac', make sure
modules/hw/mmal/Makefile.am:11: its definition is in aclocal's search path.
src/Makefile.am:167: error: Libtool library used but 'LIBTOOL' is undefined
src/Makefile.am:167: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
src/Makefile.am:167: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
src/Makefile.am:167: If 'LT_INIT' is in 'configure.ac', make sure
src/Makefile.am:167: its definition is in aclocal's search path.
autoreconf: automake failed with exit status: 1
vlc: bootstrap failed
Libtools is installed.
In one machine I have updated the libtools to the latest version (I downloaded the source code, compiled and instaled it, after removed the old libtools)
Please, can anybody help me to solve this?
Thanks