如何从源代码编译macOS上的Kodi

时间:2017-07-15 20:38:54

标签: android macos-sierra xbmc kodi

TL; DR

据我所知,环境足以在macOS上编译Kodi,因为我按照文档跟踪文档并且所有内容都已正确配置和安装,我使用区分大小写的文件系统来执行此操作,{ {1}}顺利,但./configure在编译了很多模块之后,以下列错误结束,而构建取决于

make

看起来它试图创建一个文件并且触摸被某种方式拒绝了,但这些文件没有问题地被触及:

touch .installed-arm-linux-androideabi-android-24-debug
make: *** [target/.installed-arm-linux-androideabi-android-24-debug] Error 2

以下是最后的日志行:

./target/bzip2/.installed-arm-linux-androideabi-android-24-debug
./target/dummy-libxbmc/.installed-arm-linux-androideabi-android-24-debug
./target/expat/.installed-arm-linux-androideabi-android-24-debug
./target/freetype2/.installed-arm-linux-androideabi-android-24-debug
./target/fribidi/.installed-arm-linux-androideabi-android-24-debug
./target/gettext/.installed-arm-linux-androideabi-android-24-debug
./target/gmp/.installed-arm-linux-androideabi-android-24-debug
./target/libandroidjni/.installed-arm-linux-androideabi-android-24-debug
./target/libbluray/.installed-arm-linux-androideabi-android-24-debug
./target/libcdio-gplv3/.installed-arm-linux-androideabi-android-24-debug
./target/libdvdcss/.installed-arm-linux-androideabi-android-24-debug
./target/libffi/.installed-arm-linux-androideabi-android-24-debug
./target/libfmt/.installed-arm-linux-androideabi-android-24-debug
./target/libgpg-error/.installed-arm-linux-androideabi-android-24-debug
./target/libiconv/.installed-arm-linux-androideabi-android-24-debug
./target/libjpeg-turbo/.installed-arm-linux-androideabi-android-24-debug
./target/liblzo2/.installed-arm-linux-androideabi-android-24-debug
./target/libnfs/.installed-arm-linux-androideabi-android-24-debug
./target/libplist/.installed-arm-linux-androideabi-android-24-debug
./target/libpng/.installed-arm-linux-androideabi-android-24-debug
./target/libshairplay/.installed-arm-linux-androideabi-android-24-debug
./target/libuuid/.installed-arm-linux-androideabi-android-24-debug
./target/libxml2/.installed-arm-linux-androideabi-android-24-debug
./target/libxml2/arm-linux-androideabi-android-24-debug/libxml-2.0-uninstalled.pc
./target/libxml2/arm-linux-androideabi-android-24-debug/libxml-2.0-uninstalled.pc.in
./target/mdnsresponder/.installed-arm-linux-androideabi-android-24-debug
./target/mysql/.installed-arm-linux-androideabi-android-24-debug
./target/openssl/.installed-arm-linux-androideabi-android-24-debug
./target/openssl/arm-linux-androideabi-android-24-debug/shlib/sco5-shared-installed
./target/openssl/arm-linux-androideabi-android-24-debug/shlib/svr5-shared-installed
./target/p8-platform/.installed-arm-linux-androideabi-android-24-debug
./target/pcre/.installed-arm-linux-androideabi-android-24-debug
./target/rapidjson/.installed-arm-linux-androideabi-android-24-debug
./target/sqlite3/.installed-arm-linux-androideabi-android-24-debug
./target/taglib/.installed-arm-linux-androideabi-android-24-debug
./target/tinyxml/.installed-arm-linux-androideabi-android-24-debug
./target/zlib/.installed-arm-linux-androideabi-android-24-debug

长版本

我正在关注此文件README.android。所以我采取了这些步骤:

1)安装了Java 1.8

2)创建了一个区分大小写的可写dmg

3)安装并复制/下载我需要的所有内容:

4)下载了NDK,TOOLCHAIN,SDK和Kodi来源

安装脚本

构建取决于我使用我自己构建的以下脚本(步骤)来简化重试过程:

make[7]: Nothing to be done for `install-data-am'.
Making install in src
make[5]: Nothing to be done for `install-data-am'.
 ../../build-aux/install-sh -c -d '/Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/bin'
 ../../build-aux/install-sh -c -d '/Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/bin'
 /usr/bin/install -c gettext.sh '/Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/bin'
  /bin/sh ../libtool   --mode=install /usr/bin/install -c gettext ngettext envsubst '/Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/bin'
libtool: install: /usr/bin/install -c gettext /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/bin/gettext
libtool: install: /usr/bin/install -c ngettext /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/bin/ngettext
libtool: install: /usr/bin/install -c envsubst /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/bin/envsubst
Making install in po
installing be.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/be/LC_MESSAGES/gettext-runtime.mo
installing bg.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/bg/LC_MESSAGES/gettext-runtime.mo
installing ca.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/ca/LC_MESSAGES/gettext-runtime.mo
installing cs.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/cs/LC_MESSAGES/gettext-runtime.mo
installing da.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/da/LC_MESSAGES/gettext-runtime.mo
installing de.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/de/LC_MESSAGES/gettext-runtime.mo
installing el.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/el/LC_MESSAGES/gettext-runtime.mo
installing en@quot.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/en@quot/LC_MESSAGES/gettext-runtime.mo
installing en@boldquot.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/en@boldquot/LC_MESSAGES/gettext-runtime.mo
installing eo.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/eo/LC_MESSAGES/gettext-runtime.mo
installing es.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/es/LC_MESSAGES/gettext-runtime.mo
installing et.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/et/LC_MESSAGES/gettext-runtime.mo
installing fi.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/fi/LC_MESSAGES/gettext-runtime.mo
installing fr.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/fr/LC_MESSAGES/gettext-runtime.mo
installing ga.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/ga/LC_MESSAGES/gettext-runtime.mo
installing gl.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/gl/LC_MESSAGES/gettext-runtime.mo
installing hr.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/hr/LC_MESSAGES/gettext-runtime.mo
installing hu.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/hu/LC_MESSAGES/gettext-runtime.mo
installing id.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/id/LC_MESSAGES/gettext-runtime.mo
installing it.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/it/LC_MESSAGES/gettext-runtime.mo
installing ja.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/ja/LC_MESSAGES/gettext-runtime.mo
installing ko.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/ko/LC_MESSAGES/gettext-runtime.mo
installing nb.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/nb/LC_MESSAGES/gettext-runtime.mo
installing nl.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/nl/LC_MESSAGES/gettext-runtime.mo
installing nn.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/nn/LC_MESSAGES/gettext-runtime.mo
installing pl.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/pl/LC_MESSAGES/gettext-runtime.mo
installing pt.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/pt/LC_MESSAGES/gettext-runtime.mo
installing pt_BR.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/pt_BR/LC_MESSAGES/gettext-runtime.mo
installing ro.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/ro/LC_MESSAGES/gettext-runtime.mo
installing ru.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/ru/LC_MESSAGES/gettext-runtime.mo
installing sk.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/sk/LC_MESSAGES/gettext-runtime.mo
installing sl.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/sl/LC_MESSAGES/gettext-runtime.mo
installing sr.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/sr/LC_MESSAGES/gettext-runtime.mo
installing sv.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/sv/LC_MESSAGES/gettext-runtime.mo
installing tr.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/tr/LC_MESSAGES/gettext-runtime.mo
installing uk.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/uk/LC_MESSAGES/gettext-runtime.mo
installing vi.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/vi/LC_MESSAGES/gettext-runtime.mo
installing zh_CN.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/zh_CN/LC_MESSAGES/gettext-runtime.mo
installing zh_HK.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/zh_HK/LC_MESSAGES/gettext-runtime.mo
installing zh_TW.gmo as /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/locale/zh_TW/LC_MESSAGES/gettext-runtime.mo
if test "gettext-runtime" = "gettext-tools"; then \
      ../../build-aux/install-sh -c -d /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/gettext/po; \
      for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot   Makevars.template; do \
        /usr/bin/install -c -m 644 ./$file \
                /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/gettext/po/$file; \
      done; \
      for file in Makevars; do \
        rm -f /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/gettext/po/$file; \
      done; \
    else \
      : ; \
    fi
Making install in man
make[5]: Nothing to be done for `install-exec-am'.
../../build-aux/install-sh -c -d /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/doc/gettext
 ../../build-aux/install-sh -c -d '/Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/man/man1'
for file in gettext.1.html ngettext.1.html envsubst.1.html gettext.3.html ngettext.3.html textdomain.3.html bindtextdomain.3.html bind_textdomain_codeset.3.html; do \
      if test -f $file; then dir=.; else dir=.; fi; \
      /usr/bin/install -c -m 644 $dir/$file /Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/doc/gettext/$file; \
    done
 ../../build-aux/install-sh -c -d '/Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/man/man1'
 /usr/bin/install -c -m 644 gettext.1 ngettext.1 envsubst.1 '/Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/man/man1'
 ../../build-aux/install-sh -c -d '/Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/man/man3'
 /usr/bin/install -c -m 644 gettext.3 ngettext.3 textdomain.3 bindtextdomain.3 bind_textdomain_codeset.3 dgettext.3 dcgettext.3 dngettext.3 dcngettext.3 '/Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/man/man3'
 ../../build-aux/install-sh -c -d '/Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/man/man3'
Making install in m4
make[5]: Nothing to be done for `install-exec-am'.
make[5]: Nothing to be done for `install-data-am'.
Making install in tests
make[5]: Nothing to be done for `install-exec-am'.
make[5]: Nothing to be done for `install-data-am'.
make[5]: Nothing to be done for `install-exec-am'.
 ../build-aux/install-sh -c -d '/Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/gettext'
 /usr/bin/install -c -m 644 ABOUT-NLS '/Volumes/android-dev/android/xbmc-depends/arm-linux-androideabi-android-24-debug/share/gettext'
touch .installed-arm-linux-androideabi-android-24-debug
make: *** [target/.installed-arm-linux-androideabi-android-24-debug] Error 2

完整日志文件

./ configure结果位于configure.log

使结果位于make.log

1 个答案:

答案 0 :(得分:0)

请阅读此链接Kodi for android environment