Jump to content


Photo

Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit


  • Please log in to reply
2061 replies to this topic

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #341 Seal

  • Member
  • 45 posts

+3
Neutral

Posted 17 January 2012 - 18:21

where nobody9 dissapeared? ;) no new changes :)

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #342 buyukbang

  • Senior Member
  • 185 posts

+11
Neutral

Posted 17 January 2012 - 19:07

Check his last message from his profile. Unfortunately his laptop is broken and he will be offline until he setup a new PC :(

where nobody9 dissapeared? ;) no new changes :)


It all started with a BigBang...


http://buyukbang.blogspot.com


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #343 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 17 January 2012 - 20:23

Yeah, hope to hear from him soon.

Check his last message from his profile. Unfortunately his laptop is broken and he will be offline until he setup a new PC :(


On my list are still 2 bugs:
1. XSHM driver with HD skin: OSD is visible but no video.
2. I cannot see some channels (like german channel WDR Bonn). Perhaps it has something to do with "Dynamic PMT-Channel Switch"(I don't know whether this is the official name for it).

Do you have any other bugs?
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #344 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 17 January 2012 - 21:43

1. XSHM driver with HD skin: OSD is visible but no video.


This is fixed. I thought that 0xFFFFFF meant full transparent. But with nobodys hd skin it doesn't work.
Now I only use alpha byte to determine transparency.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #345 casacristo

  • Member
  • 30 posts

0
Neutral

Posted 18 January 2012 - 16:40

Hi,
I compiled cougars enigma2pc in archlinux without problems.
Are you using all of cougars code (full set of keys, patches) ?

So If I replace cougar´s enigma2 source tree with yours, should that work?

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #346 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 18 January 2012 - 20:32

Hi Casacristo,

I don't know whether nobody9 has applied all patches from cougar. But last commit in cougars git was in July 2011. Nobody9 build his "openpliPC"
long after cougars last commit (in November 2011). So it should be everything in it.
In the README file (https://github.com/nobody9/openpliPC) you can see what keys are used.
Sorry, cannot say more to that.
Only checkout git an try it. With archlinux there might be some problems. E.g. build_libs.sh uses "apt-get". But you should have all
necessary libs (because enigma2pc is running).

Would be nice if you can report us whether is runs or not.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #347 casacristo

  • Member
  • 30 posts

0
Neutral

Posted 19 January 2012 - 11:25

Hi betacentauri,
thanks for your prompt reply. I adapte the script a bit and it compiles to a certain point but then gives an error:
 
#!/bin/bash
# where install Enigma2 tree
INSTALL_E2DIR="/usr/local/e2"
 
./configure --prefix=$INSTALL_E2DIR --with-xlib --without-debug
 
make 
Here is the error


make[2]: Entering directory `/usr/local/src/testing/openpliPC/enigma2/main'
  GEN    version-intermediate.h
make[2]: [version-intermediate.h] Error 1 (ignored)
make[2]: [version-intermediate.h] Error 1 (ignored)
make[2]: [version-intermediate.h] Error 1 (ignored)
make  all-am
make[3]: Entering directory `/usr/local/src/testing/openpliPC/enigma2/main'
  CXXLD  enigma2
/usr/bin/ld: ../lib/base/libenigma_base.a(condVar.o): undefined reference to symbol 'clock_getres@@GLIBC_2.2.5'
/usr/bin/ld: note: 'clock_getres@@GLIBC_2.2.5' is defined in DSO /lib/librt.so.1 so try adding it to the linker command line
/lib/librt.so.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[3]: *** [enigma2] Error 1
make[3]: Leaving directory `/usr/local/src/testing/openpliPC/enigma2/main'
make[2]: *** [all] Error 2
rm version-intermediate.h
make[2]: Leaving directory `/usr/local/src/testing/openpliPC/enigma2/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/testing/openpliPC/enigma2'
make: *** [all] Error 2
 

I guess the million dollar question to ask nobody9 when he is back is what extra dependencies openpliPC needs for an already existing installation of cougars enigma2pc ...

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #348 Pr2

  • PLi® Contributor
  • 6,154 posts

+261
Excellent

Posted 19 January 2012 - 13:16

Hi,

On fresh installation all the compilation process works flawlessly.
But you need first to run:

build_libs.sh

This should runs without errors, if you have errors with build_libs.sh first fix those errors, and then only run:

build_openpliPC.sh

Pr2

NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #349 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 19 January 2012 - 14:17

Hi Pr2,

Casacristo is using archlinux and no ubuntu. So there could be some problems related to this.

@Casacristo: If you google "undefined reference to symbol 'clock_getres@@GLIBC_2.2.5'" you can find some solutions.
e.g. http://comments.gman...l.library/29278
I hope it helps.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #350 casacristo

  • Member
  • 30 posts

0
Neutral

Posted 21 January 2012 - 08:50

hi betacentauri,
I found what needs to be changed to enigma2-openpli compiles in archlinux
the makefile in:
enigma2/lib/base/Makefile

has a blank LIBS = line needs
to be changed to:

LIBS = -lrt
Could you make this change in the git (it should not affect ubuntu compilation)

If you rather make it conditional here is an example:
https://github.com/b...1c3c9e0f7b1f365

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #351 casacristo

  • Member
  • 30 posts

0
Neutral

Posted 21 January 2012 - 09:15

oops, the .o compile but the error still there. i guess we need to link with rt but I am not a coder :(

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #352 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 21 January 2012 - 16:16

I'm a coder, but I hate Makefile, autoconf,... (and the last years I didn't develop in C++ or C).

Try to add "-lrt" to the LIBS line in enigma2/main/Makefile. Then it should be linked to the enigma2 binary.
You can check it with
> enigma2/openpliPC/enigma2/main$ ldd enigma2
linux-gate.so.1 =>  (0xb76f6000)
libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0xb7644000)
libfribidi.so.0 => /usr/lib/libfribidi.so.0 (0xb762e000)
libdvbsi++.so.1 => /usr/local/lib/libdvbsi++.so.1 (0xb75e8000)
libpng12.so.0 => /lib/i386-linux-gnu/libpng12.so.0 (0xb75be000)
libsigc-1.2.so.5 => /usr/lib/libsigc-1.2.so.5 (0xb75b6000)
libgif.so.4 => /usr/lib/libgif.so.4 (0xb75ad000)
libjpeg.so.62 => /usr/lib/i386-linux-gnu/libjpeg.so.62 (0xb7589000)
libxine.so.2 => /usr/lib/libxine.so.2 (0xb7512000)
libxmlccwrap-0.0.12.so => /usr/lib/libxmlccwrap-0.0.12.so (0xb7507000)
libpython2.7.so.1.0 => /usr/lib/libpython2.7.so.1.0 (0xb7243000)
libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xb710d000)
libdreamdvd.so.0 => /usr/lib/libdreamdvd.so.0 (0xb70ee000)
libnl.so.2 => /usr/lib/libnl.so.2 (0xb70d6000)
libnl-genl.so.2 => /usr/lib/libnl-genl.so.2 (0xb70d0000)
libdvbcsa.so.1 => /usr/lib/libdvbcsa.so.1 (0xb70ba000)
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb6fcf000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb6fa5000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb6f86000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb6f6b000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb6def000)
librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xb6de6000)
libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb6dd1000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb6dcb000)
libavutil.so.51 => /usr/lib/i686/cmov/libavutil.so.51 (0xb6daa000)
libxslt.so.1 => /usr/lib/libxslt.so.1 (0xb6d6e000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb6c21000)
libssl.so.1.0.0 => /lib/i386-linux-gnu/libssl.so.1.0.0 (0xb6bd4000)
libcrypto.so.1.0.0 => /lib/i386-linux-gnu/libcrypto.so.1.0.0 (0xb6a2f000)
libutil.so.1 => /lib/i386-linux-gnu/libutil.so.1 (0xb6a2b000)
libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xb6a0c000)
libdvdnav.so.4 => /usr/lib/libdvdnav.so.4 (0xb69f5000)
/lib/ld-linux.so.2 (0xb76f7000)
libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xb69f0000)
libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xb69e9000)
libdvdread.so.4 => /usr/lib/libdvdread.so.4 (0xb69c5000)

15 lines above you can see librt.so
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #353 casacristo

  • Member
  • 30 posts

0
Neutral

Posted 21 January 2012 - 17:18

Thanks a lot betacentauri
That works!
I had tried the same parameter but on the enigma2/Makefile and on the enigma2/lib/base/Makefile to no avail

I will put together an archlinux package that patches the Makefile for automatic building

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #354 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 21 January 2012 - 17:35

I'm really pleased!

I'll check whether it makes problems to add this on ubuntu systems. If not, I'll change it in git.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #355 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 21 January 2012 - 19:19

@casacristo: Please test attached patch.

@all: Can somebody test it with a 64bit Ubuntu? I had no problems with it on my system (Ubuntu 11.10 32bit).

Attached Files


Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #356 casacristo

  • Member
  • 30 posts

0
Neutral

Posted 21 January 2012 - 19:52

I can try the patch if you want but I already made a simple patch that works...

--- Makefile    2012-01-21 17:15:41.000000000 +0100
+++ Makefile.new    2012-01-21 17:15:27.000000000 +0100
@@ -160,7 +160,7 @@
 LIBGIF_LIBS = -lgif
 LIBJPEG_LIBS = -ljpeg
 LIBOBJS =
-LIBS =
+LIBS = -lrt
 LIBSDL_CFLAGS =
 LIBSDL_LIBS =
 LIBTOOL = $(SHELL) $(top_builddir)/libtool

But my remote mappings do not work at all (they work fine with cougat´s)

Have the keys changed?


begin
	    prog = irxevent
	    button = KEY_EXIT
	    config = Key Escape CurrentWindow
	    repeat = 0
end


begin
	    prog = irxevent
	    button = KEY_1
	    config = Key 1 CurrentWindow
	    repeat = 0
end

begin
	    prog = irxevent
	    button = KEY_2
	    config = Key 2 CurrentWindow
	    repeat = 0
end

begin
	    prog = irxevent
	    button = KEY_3
	    config = Key 3 CurrentWindow
	    repeat = 0
end

begin
	    prog = irxevent
	    button = KEY_4
	    config = Key 4 CurrentWindow
	    repeat = 0
end

begin
	    prog = irxevent
	    button = KEY_5
	    config = Key 5 CurrentWindow
	    repeat = 0
end

begin
	    prog = irxevent
	    button = KEY_6
	    config = Key 6 CurrentWindow
	    repeat = 0
end

begin
	    prog = irxevent
	    button = KEY_7
	    config = Key 7 CurrentWindow
	    repeat = 0
end

begin
	    prog = irxevent
	    button = KEY_8
	    config = Key 8 CurrentWindow
	    repeat = 0
end

begin
	    prog = irxevent
	    button = KEY_9
	    config = Key 9 CurrentWindow
	    repeat = 0
end

begin
	    prog = irxevent
	    button = KEY_0
	    config = Key 0 CurrentWindow
	    repeat = 0
end

begin
	    prog = irxevent
	    button = KEY_RECORD
	    config = Key R CurrentWindow
	    repeat = 0
end

begin
	    prog = irxevent
	    button = KEY_TV
	    config = Key T CurrentWindow
	    repeat = 0
end

begin
	    prog = irxevent
	    button = KEY_REWIND
	    config = Key Q CurrentWindow
	    repeat = 0
end

begin
	    prog = irxevent
	    button = KEY_FASTFORWARD
	    config = Key W CurrentWindow
	    repeat = 0
end

begin
	    prog = irxevent
	    button = KEY_EPG
	    config = Key I CurrentWindow
	    repeat = 0
end

begin
	    prog = irxevent
	    button = KEY_PAUSE
	    config = Key P CurrentWindow
	    repeat = 0
end

begin
	    prog = irxevent
	    button = KEY_ENTER
	    config = Key Return CurrentWindow
	    repeat = 0
end

begin
	    prog = irxevent
	    button = KEY_PREVIOUSSONG
	    config = Key G CurrentWindow
	    repeat = 0
end

begin
	    prog = irxevent
	    button = KEY_NEXTSONG
	    config = Key H CurrentWindow
	    repeat = 0
end

begin
	    prog = irxevent
	    button = KEY_CHANNELDOWN
	    config = Key Z CurrentWindow
	    repeat = 0
end

begin
	    prog = irxevent
	    button = KEY_CHANNELUP
	    config = Key X CurrentWindow
	    repeat = 0
end

begin
	    prog = irxevent
	    button = KEY_VIDEO
	    config = Key V CurrentWindow
	    repeat = 0
end

begin
	    prog = irxevent
	    button = KEY_UP
	    config = Key Up CurrentWindow
	    repeat = 2
end

begin
	    prog = irxevent
	    button = KEY_LEFT
	    config = Key Left CurrentWindow
	    repeat = 2
end

begin
	    prog = irxevent
	    button = KEY_RIGHT
	    config = Key Right CurrentWindow
	    repeat = 2
end


begin
	    prog = irxevent
	    button = KEY_DOWN
	    config = Key Down CurrentWindow
	    repeat = 2
end

begin
	    prog = irxevent
	    button = KEY_MUTE
	    config = Key M CurrentWindow
	    repeat = 0
end

begin
	    prog = irxevent
	    button = KEY_MENU
	    config = Key space CurrentWindow
	    repeat = 0
end

begin
	    prog = irxevent
	    button = KEY_RED
	    config = Key F1 CurrentWindow
	    repeat = 0
end

begin
	    prog = irxevent
	    button = KEY_GREEN
	    config = Key F2 CurrentWindow
	    repeat = 0
end

begin
	    prog = irxevent
	    button = KEY_YELLOW
	    config = Key F3 CurrentWindow
	    repeat = 0
end

begin
	    prog = irxevent
	    button = KEY_BLUE
	    config = Key F4 CurrentWindow
	    repeat = 0
end

begin
	    prog = irxevent
	    button = KEY_VOLUMEDOWN
	    config = Key - CurrentWindow
	    repeat = 0
end

begin
	    prog = irxevent
	    button = KEY_VOLUMEUP
	    config = Key + CurrentWindow
	    repeat = 0
end


begin
	    prog = irxevent
	    button = KEY_STOP
	    config = Key S CurrentWindow
	    repeat = 0
end

begin
	    prog = irxevent
	    button = KEY_PLAY
	    config = Key D CurrentWindow
	    repeat = 0
end

begin
	    prog = irxevent
	    button = KEY_RADIO
	    config = Key V CurrentWindow
	    repeat = 0
end


begin
	    prog = irxevent
	    button = KEY_TEXT
	    config = Key A CurrentWindow
	    repeat = 0
end


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #357 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 21 January 2012 - 20:27

I can try the patch if you want but I already made a simple patch that works...

--- Makefile	2012-01-21 17:15:41.000000000 +0100
+++ Makefile.new	2012-01-21 17:15:27.000000000 +0100
@@ -160,7 +160,7 @@
LIBGIF_LIBS = -lgif
LIBJPEG_LIBS = -ljpeg
LIBOBJS =
-LIBS =
+LIBS = -lrt
LIBSDL_CFLAGS =
LIBSDL_LIBS =
LIBTOOL = $(SHELL) $(top_builddir)/libtool

But my remote mappings do not work at all (they work fine with cougat´s)


You'll have to apply your patch after every configure (because configure will generate new Makefiles).
With my patch, you don't have to (I hope so...).

To the key mapping: See README for key mapping. But 1,2,3 should work...
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #358 casacristo

  • Member
  • 30 posts

0
Neutral

Posted 21 January 2012 - 20:32

hi betacentauri,

Your patch works fine on archlinux 64bits

Archlinux users please refer here: https://aur.archlinu...es.php?ID=55988

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #359 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 21 January 2012 - 20:37

Fine! If the other users have no problems with the patch, I'll change it in git, too.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #360 casacristo

  • Member
  • 30 posts

0
Neutral

Posted 21 January 2012 - 22:30

I noticed a bug in enigma2-openpli (present also in cougat´s)
I tune to euronews (dvb-s) and press the audio button which allows me to select the audio track (English, Spanish, French, German, etc)
I can select whatever language I want, but the audio stays in German. This happens with all the channels with multiple audio channels that I have tried. For me it is a show stopper.
Is this a known bug?


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users