2014-01-11, 00:09
Hey everyone!
I wanted to make a few small changes to the xbmc PIVOS source code and compile it myself...
Source is here: https://github.com/Pivosgroup/xbmc/
I am following the Readme (https://github.com/Pivosgroup/xbmc/blob/...ME.android) to the best of my ability...
I am using Ubuntu 13.10
Here is what I did:
sudo apt-get install build-essential default-jdk git curl autoconf unzip zip zlib1g-dev gawk gperf cmake
# Install SDK packages (downloaded the latest sdk on the android dev site)
# Install toolchain
# Set debug Key
# Clone repo
# Build Dependancies
(At this point I do not get the dependencies built message at the end )
which end with this error:
Thanks for any help debugging this issue. I would really like to setup a build environment for XBMC android...
I wanted to make a few small changes to the xbmc PIVOS source code and compile it myself...
Source is here: https://github.com/Pivosgroup/xbmc/
I am following the Readme (https://github.com/Pivosgroup/xbmc/blob/...ME.android) to the best of my ability...
I am using Ubuntu 13.10
Here is what I did:
sudo apt-get install build-essential default-jdk git curl autoconf unzip zip zlib1g-dev gawk gperf cmake
# Install SDK packages (downloaded the latest sdk on the android dev site)
Code:
cd $HOME/xbmc-build/android-sdk-linux/tools
./android update sdk -u -t platform,platform-tool
# Install toolchain
Code:
mkdir $HOME/xbmc-build/android-toolchain
cd $HOME/xbmc-build/android-ndk-r7-crystax-5.beta3/build/tools
./make-standalone-toolchain.sh --ndk-dir=../../ --install-dir=$HOME/xbmc-build/android-toolchain/android-9 --platform=android-9
# Set debug Key
Code:
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
# Clone repo
Code:
cd $HOME/xbmc-build
git clone ssh://[email protected]/myrepo/xbmc.git xbmc-git
cd xbmc-git
git remote add -f upstream https://github.com/Pivosgroup/xbmc.git
git submodule update --init addons/skin.touched
# Build Dependancies
Code:
mkdir $HOME/xbmc-build/xbmc-tarballs
cd $HOME/xbmc-build/xbmc-git/tools/android/depends
./bootstrap
export XBMC_ANDROID_NDK=$HOME/xbmc-build/android-ndk-r7-crystax-5.beta3
export XBMC_ANDROID_SDK=$HOME/xbmc-build/android-sdk-linux
export XBMC_ANDROID_TARBALLS=$HOME/xbmc-build/xbmc-tarballs
./configure --with-toolchain=$HOME/xbmc-build/android-toolchain/android-9
make -j20
(At this point I do not get the dependencies built message at the end )
Code:
cd $HOME/xbmc-build/xbmc-git/tools/android/depends/xbmc
make -j8
which end with this error:
Quote:Makefile.am: installing `./INSTALL'
autoreconf: Leaving directory `lib/libdvd/libdvdnav'
make[1]: Leaving directory `/home/oj/xbmc-build/xbmc-git'
make[1]: Entering directory `/home/oj/xbmc-build/xbmc-git'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
Warning: No doxygen installed. The Api will not have any docstrings.
mkdir -p xbmc/interfaces/python/generated/doxygenxml
Swig not found, it will be used if found after configure.
This is not necessarily an error.
make[1]: *** [swig-not-found] Error 1
make[1]: Leaving directory `/home/oj/xbmc-build/xbmc-git'
make: *** [../../../..//libxbmc.so] Error 2
Thanks for any help debugging this issue. I would really like to setup a build environment for XBMC android...