构建libreoffice时出现错误,我不知道如何解决

时间:2019-08-27 14:48:49

标签: android makefile build libreoffice

构建输出为:

... very long output of compiled files is omitted...

[MAK] CustomTarget/android/source/done
creating liboSettings.gradle
[build PY ] native-code.cxx
/bin/sh: 1: /home/bart/Projects/libreoffice/solenv/bin/native-code.py: not found
Makefile:15: recipe for target 'native-code.cxx' failed
make[2]: *** [native-code.cxx] Error 127
/home/bart/Projects/libreoffice/android/CustomTarget_lo_android.mk:17: recipe for target '/home/bart/Projects/libreoffice/workdir/CustomTarget/android/source/done' failed
make[1]: *** [/home/bart/Projects/libreoffice/workdir/CustomTarget/android/source/done] Error 2
Makefile:282: recipe for target 'build' failed
make: *** [build] Error 2

我正在使用Ubuntu 18.04.2 LTS。

我的 autogen.input 是:

--with-distro=LibreOfficeAndroid
--with-android-sdk=/home/bart/Android/Sdk
--with-android-ndk=/home/bart/Android/android-ndk-r20
--with-jdk-home=/usr/lib/jvm/java-8-openjdk-amd64

我已将this page用作手册。

此外,我注意到libreoffice / android / source中的native-code.cxx文件为空

1 个答案:

答案 0 :(得分:0)

好,知道了。我的系统上没有安装python2(但是安装了python3)。可以配置检查吗?