[mythtv] Building for Android, mariadb issue
John P Poet
jppoet at gmail.com
Tue Aug 7 01:47:31 UTC 2018
On Mon, Aug 6, 2018 at 7:19 PM David Engel <david at istwok.net> wrote:
> On Sun, Aug 05, 2018 at 05:44:01PM -0500, David Engel wrote:
> > On Sun, Aug 05, 2018 at 02:49:41PM -0600, John P Poet wrote:
> > > > > > which ndk?
> > > > > > I have validated 13b
> > > > > > 14 onwards has missing headers.
> > > > > > The other thing to check is your default environment. printenv.
> > > > > > Not sure otherwise.
> > > > >
> > > > > I vaguely remember some nl_langinfo problem, but not the solution.
> > > > > I'm searching my old emails. I'll reply if find something.
> > > >
> > > > My search didn't yield anything. As Mark said, make sure you're
> using
> > > > the currently, preferred NDK. Also, make sure you run "./makelibs.sh
> > > > all" instead of simply "./makelibs.sh". I know that tripped me up at
> > > > first.
> > > >
> > >
> > > I downloaded and linked r13b. That seems to mess up the toolchain.
> Even
> > > after re-running maketoolchain.sh, I got:
> > > *
> /home/john/android/android-ndk/my-android-toolchain64/bin/aarch64-linux-android-gcc:
> > > Command not found*
> >
> > I'll try to do a full install and build from scratch, but it won't be
> > until at least tomorrow.
>
> John,
>
> I did a full install of Android Studio/SDK/NDK and build of libs and
> mythfrontend today. I updated the Readme.md to specify NDK r13b
> instead of r15c and removed a couple of very minor things that weren't
> necessary. I also fixed a bug in makelibs.sh related to the recent
> library changes. It all built and runs fine.
>
> I think the main problem you're having is trying to use the NDK
> installed by Android Studio. Be sure to install the r13b (or r15c if
> you really want to) version manually as directed and I think you
> should be fine.
>
> We should eventually try to get builds to use the NDK installed by
> Android Studio, but that's a job for another day.
>
> David
>
Hi David,
The instructions say
"After Android Studio is installed, *use it* to install the Android SDK and
NDK."
It also says
"Install the desired SDK Tools. CMake and the *NDK* are the main ones."
It sounds like those statements needs to be changed.
The instructions also say
"For the NDK Get android-ndk-r13b-linux-x86_64.bin and install it in
~/android *too*."
That "*too*" implies that r13b also needs installed in ~/Android/Sdk/ as
nkd-bundle?
You are building it for Android version 26 (Oreo), right?
Thank you for your help with this!
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-dev/attachments/20180806/ca37d12a/attachment.html>
More information about the mythtv-dev
mailing list