Fwd: Re: Problems building Subsurface for Android

Dirk Hohndel dirk at hohndel.org
Thu Feb 2 08:41:26 PST 2017


On Thu, Feb 02, 2017 at 06:28:21PM +0200, Willem Ferguson wrote:
> On 02/02/2017 18:01, Dirk Hohndel wrote:
> > 
> > > 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
> > 
>  There is no libdivecomputer directory in src. I have such a directory in
> my backup/src directory which contains the Linux build resources.
> However, in the current src there is a directory
> libdivecomputer-build-arm. But if I remember correctly, I do not need
> the 'normal' libdivecomputer but one that has some Android-specific
> things?? The only other way to get the 'normal' directory is to download
> it from the libdivecomputer website?

For some reason the Android script assumes that you have subsurface and
libdivecomputer sources in place. The former makes sense (because you have
the script, so the source should be there), the latter I'm not so sure
about.

Simply do this

cd ~/src
ln -s ~/backup/src/libdivecomputer .

now things should work.

/D


More information about the subsurface mailing list