Build Kodi for tvOS (xcode 9.2 , tvOS SDK 11.2)
#1
Hi,

I tried to build kodi/tvOS, but it fails already when build tools/depends.

My setup so far:

- XCode 9.2 + SDK tvOS 11.2 + commandline tools installed
- installed autoconf via homebrew ( because didn't found the command with vanilla xcode and it's needed for bootstrap)
- checkout memphiz xbmc git and switched to yab branch
- cd to 'tools/depends'
- executed './bootstrap'
- executed './configure --host=arm-apple-darwin --with-cpu=arm64 --with-platform=tvos'
- executed 'make -j4'

now getting this error:
[...]
-native/x86_64-osx-native/gettext-tools/gnulib-lib/./.libs/libcroco_rpl.a")
../libtool: line 1734: cd: .libs/libgettextlib.lax/libcroco_rpl.a: No such file or directory
make[6]: *** [libgettextlib.la] Error 1
make[5]: *** [all] Error 2
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [x86_64-osx-native/gettext-tools/src/.libs/libgettextsrc.a] Error 2
make[1]: *** [gettext-native] Error 2
[...]
make: *** [native/.installed-x86_64-osx-native] Error 2

Now I'm stuck already there, didn't know how to fix this error with gettext-tools.
Maybe some prerequisites are missing ?

Thanks for all hints and tips.

Regards,

Markus
Reply
#2
Same error here last night. Pulled directly from the git repo. Would love to build and deploy natively since I¡d like to add some tweaks to the package.
Reply
#3
Hi,

I finally managed to get it compiled.
It seems to had been a problem, because I got XCode 9.2beta AND 9.2final installed.
I removed 9.2beta and 9.2final and reinstall 9.2final via AppStore.
After that I was able to compile kodi by using the following instructions: Kodi tvOS Compile Instructions
(Thanks to @dmytrokoren for that)
Reply
#4
//
Reply

Logout Mark Read Team Forum Stats Members Help
Build Kodi for tvOS (xcode 9.2 , tvOS SDK 11.2)0