Development environment for Azbox Me with Enigma2
Given the complexity and library dependencies that we are going to discuss, I recommend that the installation be carried out on a virtual machine, in this case we will use Ubuntu Server 12.04 LTS .
1. Preparing in environment
Once we have created the virtual machine (allocate about 100 GB of space, not all of them will be used, but it is better to have plenty of space), we proceed to install the libraries we need:
sudo apt-get install -y autoconf automake bison bzip2 cvs diffstat flex g++ gawk gcc gettext git-core gzip help2man ncurses-bin ncurses-dev libc6-dev libtool make texinfo patch perl pkg-config subversion tar texi2html wget zlib1g-dev chrpath libxml2-utils xsltproc libglib2.0-dev python-setuptools genromfs
And make sure that the shell interpreter we are using is the correct one, in our case bash:
ls -l /bin/sh
We have to obtain something like:
lrwxrwxrwx 1 root root 4 Sep 27 2011 /bin/sh -> bash
If not, we can change it by
sudo dpkg-reconfigure bash
or manually
sudo rm /bin/sh sudo ln -s /bin/bash /bin/sh
During the compilation process, it will download packages from different URLs. For the tuxbox-common package, we will have to have previously given permission to accept the SSH keys, so we will execute and confirm the following command:
2. Compiling OpenPLi
OpenPLi is a community-oriented project developing software for open source receivers for Linux DVB. To configure it, we enter the virtual machine that we have created as our user and proceed with the compilation:
mkdir openpli cd openpli wget http://image.openazbox.info/Makefile-2.1 make -f Makefile-2.1 image
Now take advantage and go have a coffee, a beer or even play sports, because they expect about 4 or 6 hours of compilation, depending on the machine you have.
Once finished, you have everything ready to start working, and an image ready to be installed.