[mythtv-users] building Android mythfrontend from source
James Abernathy
jfabernathy at gmail.com
Fri Aug 12 13:07:15 UTC 2022
On Thu, Aug 11, 2022 at 2:24 PM James Abernathy <jfabernathy at gmail.com>
wrote:
> I'm trying parallel ways of solving this. Previously it's been about the
> Docker way of building the tools. Now I'm also going to try the more
> traditional way of building stuff, but it fails really quickly there so I
> must be missing a dependency somewhere. I'm following the readme on:
>
> https://github.com/MythTV/packaging/tree/master/android
>
> below is my first log which is short and an immediate error:
> ./makelibs.sh --arm --sdk 21 all
> Using discovered tools version 33.0.0
> Thu 11 Aug 2022 02:14:33 PM EDT
> makelibs.sh
> ANDROID_NATIVE_API_LEVEL [SDK]: 21
> ARM64: 0
> ~/workdir/packaging/android/libs ~/workdir/packaging/android
>
> **** taglib-1.11.1 ****
> ~/workdir/packaging/android/libs/taglib-1.11.1
> ~/workdir/packaging/android/libs ~/workdir/packaging/android
> ~/workdir/packaging/android/libs/taglib-1.11.1/taglib
> ~/workdir/packaging/android/libs/taglib-1.11.1
> ~/workdir/packaging/android/libs ~/workdir/packaging/android
> patching file CMakeLists.txt
> Hunk #1 succeeded at 357 (offset 43 lines).
> ~/workdir/packaging/android/libs/taglib-1.11.1
> ~/workdir/packaging/android/libs ~/workdir/packaging/android
> ~/workdir/packaging/android/libs/taglib-1.11.1/build
> ~/workdir/packaging/android/libs/taglib-1.11.1
> ~/workdir/packaging/android/libs ~/workdir/packaging/android
> CMake Error at /usr/share/cmake-3.16/Modules/CMakeDetermineSystem.cmake:99
> (message):
> Could not find toolchain file:
> /home/jim/Android/android-ndk/build/cmake/android.toolchain.cmake
> Call Stack (most recent call first):
> CMakeLists.txt:3 (project)
>
>
> CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
> CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
> -- Configuring incomplete, errors occurred!
> ~/workdir/packaging/android/libs/taglib-1.11.1
> ~/workdir/packaging/android/libs ~/workdir/packaging/android
> ~/workdir/packaging/android/libs ~/workdir/packaging/android
> make: *** [Makefile:33: libs] Error 1
>
> It appears to be a tool chain issue.
>
> Jim A
>
I have made some progress on building using the more normal method, i.e.
not Docker method.
I'd like to suggest that some documentation improvements might be in order.
I'll take a stab at this once I can document to my satisfaction what work.
There are 2 key missing dependencies:
libtool
autopoint
Also what versions of NDK, build-tools, etc. are very critical. I was
using some newer stuff and was not getting very far.
Anyway I was able to
build mythfrontend-20220812-arm-v32.0-59-gcf553e438c.apk and it runs on my
FIreTV 4K Max device. Still not as good as Leanfront, but it's useful for
all the stuff you use mythfrontend for besides playing a recording.
Jim A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20220812/6f36a468/attachment.htm>
More information about the mythtv-users
mailing list