2012-10-29, 22:10
I know this is not exactly right place to ask, but would it be possible to build working .apk for mele a2000 with android? Would hw acceleration based on empatzero code work then?
(2012-10-30, 14:35)rfreiha Wrote: i am compiling the package again but tis time i am having this error
/bin/sh: 1: ./bootstrap:permission denied
i have not seen this error before
configure: Using Python 2.7
checking for main in -lEGL... no
configure: error: Could not find a required library. Please see the README for your platform.
make: *** [configure] Error 1
/usr/lib/libpython2.7.so: file not recognized: File format not recognized
(2012-10-31, 22:15)Snippo Wrote: So, I started to write a how-to on native compiling. But it kept crashing so I decided to write one for cross-compiling instead.
Guess what? I keep getting the same error while trying to crosscompile....
config.log says this:Code:configure: Using Python 2.7
checking for main in -lEGL... no
configure: error: Could not find a required library. Please see the README for your platform.
make: *** [configure] Error 1
Code:/usr/lib/libpython2.7.so: file not recognized: File format not recognized
Tried to reinstall libpython2.7, python2.7 and some more things but nothing helped. Anyone knows how to fix this? Can't find anything useful on Google.
Edit: I think I found the problem. Will report back later.
Edit2: Guess not. Still the same problem.
sudo apt-get update
sudo apt-get build-dep xbmc
sudo apt-get install git build-essential swig default-jre cmake libgtk2.0-bin automake
sudo git clone git://github.com/empatzero/xbmca10.git
cd xbmca10/tools/a10/depends
sudo make
cd libmad
sudo make
cd ..
cd xbmc
sudo make
wget http://www.sqlite.org/sqlite-autoconf-3071401.tar.gz
tar zxfv sq*
cd sq*
sudo ./configure
sudo make
sudo make install
cd ..
wget http://downloads.sourceforge.net/project/libpng/libpng15/1.5.13/libpng-1.5.13.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Flibpng%2Ffiles%2Flibpng15%2F1.5.13%2F&ts=1351752731&use_mirror=ufpr
tar zxfv libpng*
cd libpng*
sudo cp scripts/makefile.linux Makefile
sudo make
sudo make install
cd..
wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.31.tar.gz
cd pcre*
sudo ./configure
sudo make
sudo make install
cd ..
wget http://www.mega-nerd.com/SRC/libsamplerate-0.1.8.tar.gz
tar zxfv libsample*
sudo ./configure
sudo make
sudo make install
cd ..
wget http://download.savannah.gnu.org/releases/freetype/freetype-2.3.5.tar.gz
tar zxfv free*
cd free*
sudo ./configure
sudo make
sudo make install
sudo dd if=linarodesktop.12.08.img of=/dev/mmcblk0
wget -nd http://db.tt/6QB7geWV -O u-boot.bin % http://forum.doozan.com/read.php?6,9527
wget -nd http://db.tt/vANm95EH -O sun4i-spl.bin
dd if=sun4i-spl.bin of=/dev/mmcblk0 bs=1024 seek=8
dd if=u-boot.bin of=/dev/mmcblk0 bs=1024 seek=32
Insert the SD card in you A10 device and boot. You might have to reinstall openssh-server if you want to use ssh.
sudo add-apt-repository ppa:nathan-renniewaldock/xbmc-nightly % Try xbmc-stable if it doesn't work for some reason
sudo apt-get update
sudo apt-get install nano python-software-properties bash-completion git wget swig default-jre cmake libgtk2.0-bin
sudo apt-get build-dep xbmc
sudo apt-get install --reinstall libpython2.7 python2.7 python2.7-dev libssh2* % This seemed to fix the errors I got while crosscompiling
% Try to purge and then reinstall if it still doesn't work
sudo apt-get install gcc-arm-linux-gnueabihf swig default-jre cmake libgtk2.0-bin g++-4.6-arm-linux-gnueabihf
sudo dd if=/dev/mmcblk0 of=rootfs_xbmc.img
sudo fdisk -l
sudo mount -o loop,offset=71303168 rootfs_xbmc.img /mnt/rootfs-a10
sudo ln -s /usr/bin/arm-linux-gnueabihf-g++-4.6 /usr/bin/arm-linux-gnueabihf-g++
sudo ln -s /mnt/rootfs-a10/lib/arm-linux-gnueabihf /lib/arm-linux-gnueabihf
sudo ln -s /mnt/rootfs-a10/usr/lib/arm-linux-gnueabihf /usr/lib/arm-linux-gnueabihf
sudo ln -s /mnt/rootfs-a10/usr/include/arm-linux-gnueabihf /usr/include/arm-linux-gnueabihf
sudo gdebi xbmca10.deb