Ubuntu 18.04 Python 3 Buildozer not compiling

744 views
Skip to first unread message

Vasco Almeida

unread,
Jul 5, 2019, 10:47:57 AM7/5/19
to Kivy users support
I followed the instructions meted out on lesson 3 of the Kivy Crash Course, using venv, but 'buildozer android debug deploy' terminates abruptly with following message to STDOUT: "/home/vasco/Py/Kivy/.buildozer/android/platform/build/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi/autogen.sh: 2: exec: autoreconf: not found".

How can I overcome this problem? Thks for help.

Robert Flatt

unread,
Jul 5, 2019, 7:50:33 PM7/5/19
to Kivy users support
autoreconf: not found".

Install autoconf

sudo apt-get install autoconf


Vasco Almeida

unread,
Jul 8, 2019, 7:05:37 AM7/8/19
to Kivy users support
Thanks, Robert.

After installing "autoconf" as per your instruction, I now get the following error:

 STDOUT:
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
configure.ac:41: error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1"

Additionally, at the beginning I also get a warning for "libtoolize" not installed, which did not crop up before, if I remember correctly.

Thks again for your help.

Robert Flatt

unread,
Jul 8, 2019, 9:34:29 PM7/8/19
to Kivy users support
For questions about installing Ubuntu packages you'll get a much faster response from Google ;)

Ask my friend Google about libtoolize and she will say :

sudo apt-get install libtool

More generally I wonder why you see these missing tool issues (there may be more to come). But I can only guess......

I have no idea about the instructions you are following, perhaps the issue is related to the virtual env?
Or perhaps the OS is Ubuntu SERVER not Ubuntu DESKTOP? Servers dont by default have the build tools.

If build tools are not on the system, this get most (all?) of them (and lots you probably won't need):

sudo apt-get install build-essential

Vasco Almeida

unread,
Jul 9, 2019, 5:01:06 AM7/9/19
to Kivy users support
Hi again, Robert:

The only reason I availed myself of the virtual environment is because there is some issue with the python3-kivy repositories in Ubuntu 18.04, and that was the only way I could start learning Kivy. I am going to work on the Kivy basics and going to change my base software. Otherwise I shall be wasting my time and other people's too. But thks for your support all the same.
Reply all
Reply to author
Forward
0 new messages