Android ubuntu complie android kodi error
#1
hi, i am riley, I am using Ubuntu 12.04 64-bit

Please can anyone tell me step by step compilation process of XBMC-ANDROID

I did all the procedure whatever told at https://github.com/xbmc/xbmc/blob/master...ME.android

I complie it like this:
1、sudo apt-get install build-essential default-jdk git curl autoconf \
unzip zip zlib1g-dev gawk gperf cmake
2、sudo apt-get install ia32-libs
3、JDK: openjdk-6-jdk (java version "1.6.0_27")
JRE: openjre-6-jre (java version "1.6.0_27")
4、download SDK NDK and put them
/opt/android-ndk-r10d
/opt/android-sdk-linux
5、./android update sdk -u -t platform,platform-tool
6、./android update sdk -u -t build-tools-20.0.0
7、./make-standalone-toolchain.sh --ndk-dir=../../ \
--install-dir=x86-linux-4.8-vanilla/android-17 --platform=android-17 \
--toolchain=x86-4.8 --arch=x86 --system=linux-x86_64
8、keytool -genkey -keystore ~/.android/debug.keystore -v -alias \
androiddebugkey -dname "CN=Android Debug,O=Android,C=US" -keypass \
android -storepass android -keyalg RSA -keysize 2048 -validity 10000
9、git clone git://github.com/xbmc/xbmc.git kodi-android
10、git submodule update --init addons/skin.re-touched
11、./bootstrap
12、./configure --with-tarballs=/opt/xbmc-tarballs --host=i686-linux-android --with-sdk-path=/opt/android-sdk-linux --with-ndk=/opt/android-ndk-r10d --with-toolchain=/opt/x86-linux-4.8-vanilla/android-17 --prefix=/opt/xbmc-depends
13、make -j20 it show error this step
the error is this:
make[3]: warning: -jN forced in submake: disabling jobserver mode.
This is not dpkg install-info anymore, but GNU install-info
See the man page for ginstall-info for command line arguments
/usr/bin/install: cannot stat `/opt/xbmc-depends/x86_64-linux-gnu-native/lib/libgnuintl.so': No such file or directory
/usr/bin/install: cannot stat `../../gettext-runtime/intl/COPYING.LIB-2.0': No such file or directory
/usr/bin/install: cannot stat `../../gettext-runtime/intl/COPYING.LIB-2.1': No such file or directory
CMake Error at CMakeLists.txt:283 (message):
CMAKE_USE_SYSTEM_CURL is ON but a curl is not found!
Call Stack (most recent call first):
CMakeLists.txt:515 (CMAKE_BUILD_UTILITIES)


make[2]: *** [x86_64-linux-native] Error 11
make[1]: *** [cmake-native] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [native/.installed-x86_64-linux-native] Error 2

hope you can help me thank you
Reply
#2
Hi,

The important message is this one: CMAKE_USE_SYSTEM_CURL is ON but a curl is not found!
Your Ubuntu machine is missing the development files for Curl.
Do the following:
$> sudo apt-cache search curl

[...]

libcurl3 - easy-to-use client-side URL transfer library (OpenSSL flavour)
libcurl3-dbg - debugging symbols for libcurl (OpenSSL, GnuTLS and NSS flavours)
libcurl3-gnutls - easy-to-use client-side URL transfer library (GnuTLS flavour)
libcurl3-nss - easy-to-use client-side URL transfer library (NSS flavour)
libcurl4-doc - documentation for libcurl
libcurl4-gnutls-dev - development files and documentation for libcurl (GnuTLS flavour)
libcurl4-nss-dev - development files and documentation for libcurl (NSS flavour)
libcurl4-openssl-dev - development files and documentation for libcurl (OpenSSL flavour)

[...]

$> sudo apt-get install libcurl4-openssl-dev

Don't know which flavour (GnuTLS or OpenSSL) you want, but OpenSSL could be fine.

Hope that helps.
Reply

Logout Mark Read Team Forum Stats Members Help
ubuntu complie android kodi error0