Problems building Subsurface for Android

Dirk Hohndel dirk at hohndel.org
Thu Feb 2 08:01:21 PST 2017


> On Feb 2, 2017, at 7:45 AM, Willem Ferguson <willemferguson at zoology.up.ac.za> wrote:
> 
> I am back at my hobby of trying to build Subsurface-desktop to run on Android. This is to test the FTDI interface.
> 
> Building subsurface/packaging/android/build.sh with
> 
> export SUBSURFACE_DESKTOP=ON
> 
> I get the folowing scripting error in build.sh:
> 
> ~/src/libdivecomputer-build-arm ~/src
> subsurface/packaging/android/build.sh: line 296: /home/willem/src/subsurface/../libdivecomputer/configure: No such file or directory

autoreconf --install
in the libdivecomputer directory should take care of that.
For odd reasons I sometimes have to run that twice
The Android build instructions assume that this is a libdivecomputer directory that has already been used for builds.
I guess we could should fix that in the Android build

> 
> originating at the line:
> 
> "$SUBSURFACE_SOURCE"/../libdivecomputer/configure --host=${BUILDCHAIN} --prefix="$PREFIX" --enable-static --disable-shared --enable-examples=no
> 
> Does any one have an idea?
> 
> Of course there is not a libdivecomputer directory in src because I started with a clean src directory.
> 
> Do I need a manual install of libdivecomputer? As fa ar I am aware this should not be necessary.

It looks like the Android build.sh doesn't do that, yet.

Goes to show you that whatever we do, we always make assumptions.

/D


More information about the subsurface mailing list