Help building android vlc source

VLC for Android and Chrome OS specific usage questions
khuchoangtuong
New Cone
New Cone
Posts: 5
Joined: 01 Apr 2011 10:40

Help building android vlc source

Postby khuchoangtuong » 30 Jan 2013 08:14

Hi everyone,
I want to follow the steps of build android vlc source from the link http://wiki.videolan.org/AndroidCompile.
All the environments are set truely, but when I use compile.sh there is always error code:

./configure: line 12866: syntax error near unexpected token `FFT,'
./configure: line 12866: ` PKG_CHECK_MODULES(FFT, fftw3f)'

I use Ubuntu 11.04, pkg-config version 0.25, autoconf 2.69, cmake 2.8.3, libtool 2.4.2, automake 1.13.1. I have googled but still not found any clues.
Moreover, there are some others errors like:

/bin/rm: cannot remove `libtoolT': No such file or directory
...
cannot remove `conftest*': No such file or directory
...
rm: cannot remove `extra-h.in': No such file or directory
...
rm: cannot remove `./lib/libgsm.a': No such file or directory
...

Anyone had this error code and fixed it? Please help me.

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: Help building android vlc source

Postby edwardw » 31 Jan 2013 14:09

Hi everyone,
I want to follow the steps of build android vlc source from the link http://wiki.videolan.org/AndroidCompile.
All the environments are set truely, but when I use compile.sh there is always error code:

./configure: line 12866: syntax error near unexpected token `FFT,'
./configure: line 12866: ` PKG_CHECK_MODULES(FFT, fftw3f)'

I use Ubuntu 11.04, pkg-config version 0.25, autoconf 2.69, cmake 2.8.3, libtool 2.4.2, automake 1.13.1. I have googled but still not found any clues.
http://lists.xiph.org/pipermail/speex-d ... 07136.html

Please read the documentation carefully and install _all_ the required dependencies; in this case you seem to be missing pkg-config.

khuchoangtuong
New Cone
New Cone
Posts: 5
Joined: 01 Apr 2011 10:40

Re: Help building android vlc source

Postby khuchoangtuong » 01 Feb 2013 09:58

Thx, I have fixed all those errors.
But now I have another error:
automake: warnings are treated as errors
configure.ac:45: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and will soon be removed.
configure.ac:45: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead,
configure.ac:45: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.
...
autoreconf: automake failed with exit status: 1
make: *** [.gnutls] Error 1
make: *** Waiting for unfinished jobs....

According to some sites, the new version of automake (>= 1.12) will not support AM_PROG_MKDIR_P macro in the future. But gettext still use that macro now. Now this is only a warning, but somewhere configure warnings as errors. So compiling process is failed. I try to fix the warn but still be not able.
I think "updating as soon as possible" is risky for newbie like me. Packages always change without carefullness, making many projects difficult to follow.
Do you have any suggest for me about this error? And what is the version of automake that compile vlc android successfully? Or somewhere to turn of warning=error flag?
This error annoys me so much >"<


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 24 guests