Jump to content


Photo

Compile OpenPli for Enigma 1 on Ubuntu/Debian (32/64 bit)


  • Please log in to reply
3 replies to this topic

#1 Xstasy

  • Member
  • 2 posts

0
Neutral

Posted 15 August 2012 - 05:53

Hi guys!
After having some problems getting OpenPli to compile on my system I decided to make
a script for making a "good to go environment".

You can wget it from http://ubuntuone.com...7UHhJIpifN2Pyv3

#!/bin/bash
MACHINE_TYPE=`uname -m`
echo -e '\E[37;44m'"\033[1mCreating build environment for Ubuntu/Debian\033[0m"
echo -e '\E[37;44m'"\033[1mInstalling required packages\033[0m"
if [ ${MACHINE_TYPE} == 'x86_64' ]; then
sudo apt-get install -y ia32-libs
fi
sudo apt-get install -y build-essential flex bison libtool subversion autoconf libflac-dev libogg-dev gettext
echo -e '\E[37;44m'"\033[1mChecking out newest revision from openpli svn repository\033[0m"
svn co https://openpli.svn.sourceforge.net/svnroot/openpli/trunk openpli
mkdir openpli/cdk/root && mkdir openpli/cdk/root/cdkroot && mkdir openpli/cdk/root/cdkroot/lib
wget http://ubuntuone.com/1v1okW4TKb03ryNT5bxwSb -O openpli/cdk/root/cdkroot/lib/libcrypto.so.0.9.7
echo -e '\E[37;44m'"\033[1mFixing broken archive urls\033[0m"
sed -ie 's/ftp:\/\/ftp.kernel.org\/pub\/linux\/devel\/binutils/http:\/\/pkgs.fedoraproject.org\/repo\/pkgs\/binutils\/binutils-2.15.91.0.2.tar.bz2\/41983069bef07af4f1350c6d30666b2d/g' openpli/cdk/cdk/rules-archive
sed -ie 's/http:\/\/mesh.dl.sourceforge.net\/sourceforge\/libpng/http:\/\/ftp.lfs-matrix.net\/pub\/blfs\/conglomeration\/libpng/g' openpli/cdk/cdk/rules-archive
sed -ie 's/ftp:\/\/ftp.gwdg.de\/pub\/FreeBSD\/ports\/distfiles;http:\/\/surfnet.dl.sourceforge.net\/sourceforge\/libungif/http:\/\/pkgs.fedoraproject.org\/repo\/pkgs\/libungif\/libungif-4.1.3.tar.bz2\/8c198831cc0495596c78134b8849e9ad/g' openpli/cdk/cdk/rules-archive
export CONFIG_SHELL="/bin/bash"
echo -e '\E[37;44m'"\033[1mDone fixing stuff, you can make_cdk_image now.\033[0m"

Remember to chmod +x before running.
After successful run simply open openpli/cdk and run
./make_cdk_image <full cdk path> <full destination path> <boxtype>

Re: Compile OpenPli for Enigma 1 on Ubuntu/Debian (32/64 bit) #2 Xstasy

  • Member
  • 2 posts

0
Neutral

Posted 15 August 2012 - 06:05

Note: You may have to run this in openpli/cdk:
export CONFIG_SHELL="/bin/bash"


Re: Compile OpenPli for Enigma 1 on Ubuntu/Debian (32/64 bit) #3 dAF2000

  • Forum Moderator
    PLi® Core member
  • 14,136 posts

+52
Good

Posted 15 August 2012 - 15:53

Thanks and welcome on our forum.
I think we need to fix those "broken archive URLs". Can you give me the full URLs and I will fix it in our repository.
Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: Compile OpenPli for Enigma 1 on Ubuntu/Debian (32/64 bit) #4 rexus

  • Member
  • 3 posts

0
Neutral

Posted 21 June 2014 - 13:01

hi,

I hope you can help me with my probleme

i'm trying to build dm500 image and i'm facing this error

./elf.texi:13: raising the section level of @subsubsection which is too low
make[6]: *** [bfd.info] Error 1
make[6]: Leaving directory `/root/openpli/cdk/cdk/build/bfd/doc'
make[5]: *** [install-recursive] Error 1
make[5]: Leaving directory `/root/openpli/cdk/cdk/build/bfd'
make[4]: *** [install-bfd] Error 2
make[4]: Leaving directory `/root/openpli/cdk/cdk/build'
make[3]: *** [.binutils] Error 2
make[3]: Leaving directory `/root/openpli/cdk/cdk'
make[2]: *** [bootstrap_gcc] Error 2
make[2]: Leaving directory `/root/openpli/cdk/cdk'
make[1]: *** [.glibc] Error 2
make[1]: Leaving directory `/root/openpli/cdk/cdk'
make: *** [.bootstrap] Error 2

i get rid of the binutils /bfd/doc/bfd.texinfo:334: unknown command `colophon'
by adding a command to bfd.texinfo

thanks






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users