Jump to content


Photo

Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit


  • Please log in to reply
2062 replies to this topic

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #481 sek1973

  • Senior Member
  • 116 posts

+3
Neutral

Posted 12 February 2012 - 17:28

Hi sek1973,

something is wrong there. Compilation(xine-lib and E2) aborts with errors. E.g.:

  CCLD   libxineutils.la
make[3]: *** [libxineutils.la] Error 1
make[3]: Leaving directory `/home/sek1973/openpliPC/xine-lib/src/xine-utils'
make[2]: *** [../../src/xine-utils/libxineutils.la] Error 2
make[2]: Leaving directory `/home/sek1973/openpliPC/xine-lib/src/xine-engine'
make[1]: *** [../src/xine-engine/libxine.la] Error 2
make[1]: Leaving directory `/home/sek1973/openpliPC/xine-lib/misc'
make: *** [all-recursive] Error 1

I cannot see the reason for the errors. Please do this:
goto openpliPC directory
make clean
make > log.txt 2>&1
The 2>&1 is important! With it all errors should be written to the log file. And please post the log file here.

Did you have installed new software or OS patches? Perhaps some libs are missing...

Regards,
Betacentauri


Thanks again. To be honest - I gave up on Friday and reinstalled the whole VBox system. Perhaps I should have told you that earlier - sorry for that. :( But it was the only chance to do a little python programming. :)
Reinstallation helped, but obviously I didn't find the reason for those problems. I tried keep the system up to date so all updates were applied regularly. I remember that when I tried to pull git and then rebuild enigma there were no changes to almost all directories although they should be there...

If I may ask one more question - what should I do to keep enigma binary up to date? Pull git, make clean enigma and xine-lib directories and run building script or something else / different?
Regards.

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

  • PLi® Contributor
  • 6,181 posts

+261
Excellent

Posted 12 February 2012 - 17:49

Hi,

First of all to have a proper running system you need to carefully check what is the result of build_libs.sh
There is no check in the script to see if command are successfull or not so you need to check the output, if some steps failded, don't try to build openpliPC itself until you get all the build_libs.sh successfull.

So you need to have: git and subversion (svn) installed and working on your system in order to have build_libs.sh to run properly.
sudo apt-get install git-core subversion mercurial build-essential

You can also check that you use bash and not dash by doing:

sudo dpkg-reconfigure dash

And reply NO when prompted.

If you still have some doubt, edit the build_libs.sh script and do manually all commands to detect which package is missing on your system, even if normally the script should install all required ones.

And last tip: use osd branch and edit the xine.conf file in the build folder to select the xshm driver to start testing, this is the one which seems the more compatible with all the graphic cards/virtual environment.

Pr2

Edited by Pr2, 12 February 2012 - 17:51.

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 #483 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 12 February 2012 - 18:18

Thanks again. To be honest - I gave up on Friday and reinstalled the whole VBox system. Perhaps I should have told you that earlier - sorry for that. :( But it was the only chance to do a little python programming. :)
Reinstallation helped, but obviously I didn't find the reason for those problems. I tried keep the system up to date so all updates were applied regularly. I remember that when I tried to pull git and then rebuild enigma there were no changes to almost all directories although they should be there...

If I may ask one more question - what should I do to keep enigma binary up to date? Pull git, make clean enigma and xine-lib directories and run building script or something else / different?
Regards.


Hi sek1973,

no problem. Good to hear that it is now running.

To your question: Yes, correct. First git pull, then make clean and then build with build_openpliPC.sh (please don't use -x and -nc parameters!!!)
I don't know what went wrong, so that you had the problems. Perhaps git pull had problems with merging. Please check always git output.

@all: The build_openpliPC.sh script isn't really nice. It doesn't stop when an error occurs. So please check output for errors. I'll try to change it in the next weeks.

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

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #484 sek1973

  • Senior Member
  • 116 posts

+3
Neutral

Posted 14 February 2012 - 12:37

@Betacentauri: it seems that everything is working now. I did an update today and can see no errors in log file. All enigma folders seem to be updated (judging by files dates). There is only one thing that bothers me - is the repo https://github.com/n...9/openpliPC.git somehow synchronised with git://openpli.git.sourceforge.net/gitroot/openpli/enigma2? As far as I can see not all python modules were updated.
Regards.

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

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 14 February 2012 - 20:43

Hi sek1973,

unfortunately it is not automatically synchronised with openpli git. Someone must do it manually.

@all: Or is it possible to merge openpli git changes into openpliPC git without problems?

The manual synchronisation with openpli git and xine-lib git is one thing I have on my todo list. But I don't have much time for it.
Everybody who wants to help is cordially invited!!

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

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #486 dream7

  • Member
  • 3 posts

0
Neutral

Posted 15 February 2012 - 23:36

i see no sign of nobody9 i fellowed all post here from start till this is page where are u man ?

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #487 Amatøren

  • Senior Member
  • 147 posts

0
Neutral

Posted 18 February 2012 - 20:52

No didn't use -x

This: make clean had to be sudo make clean to prevent a lot of errors -> correct to run as root?

This donæt run. make > log.txt 2>&1 Error on log.txt No help with sudo make > log.txt 2>&1
This is what repots:
bash: log.txt: Ikke tilgang -> bash: log.txt: no access

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #488 Amatøren

  • Senior Member
  • 147 posts

0
Neutral

Posted 18 February 2012 - 21:05

Skipped log part and then make worked but when start the e2bin

dream@Dream-server2:~/openpliPC$ sudo ./e2bin
PYTHONPATH: /usr/local/e2/lib/enigma2/python
+ (1) Background File Eraser
+ (8) graphics acceleration manager
BCM accel interface not available - Inappropriate ioctl for device
+ (9) Font Render Class
[FONT] initializing lib...
[FONT] loading fonts...
[FONT] Intializing font cache, using max. 4MB...
+ (9) gLCDDC
lcd buffer 0x91d8ec0 8448 bytes, stride 132
+ (9) gXlibDC
Display resolution 1920 1200
XINE-LIB version: 1.2.1hg
configfile /usr/local/e2/share/enigma2/xine.conf
use vo_driver: xshm
use ao_driver: auto


WARNING: current display depth is 24. For better performance
a depth of 16 bpp is recommended!

xine: found input plugin : file input plugin
ebml: invalid EBML ID size (0x0) at position 1
ebml: Invalid EBML length size (0x0) at position 2
ebml: invalid master element
ebml: invalid EBML ID size (0x0) at position 1
ebml: Invalid EBML length size (0x0) at position 2
ebml: invalid master element
demux_dts: unsupported DTS stream type, or not a DTS stream
xine: found demuxer plugin: Elementary MPEG stream demux plugin
setResolution 720 576
./e2bin: symbol lookup error: ./e2bin: undefined symbol: xine_osd_show_scaled
dream@Dream-server2:~/openpliPC$



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #489 Amatøren

  • Senior Member
  • 147 posts

0
Neutral

Posted 18 February 2012 - 21:30

Changed to:

sudo make > ~/log.txt 2>&1


My log file

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

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 19 February 2012 - 10:42

Hi Amatoren,

compile log is ok. I see no errors.
But you have installed a newer version of the xine-lib

....
XINE-LIB version: 1.2.1hg
....


The with openpliPC delivered xine-lib is not used.
Otherwise it should look like this:
XINE-LIB version: 1.2.0openpliPC-e2

Well, I see 3 workarounds:[list=1]
[*]Deinstall the newer xine-lib
[*]Rename/relink newer xine-lib (in /usr/lib) before E2 start
[*]There's a version.sh in xine-lib directory. You can try to patch the lib to a higher version. (I don't have tested it)
[/list]
Regards,
Betacentauri
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

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

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 19 February 2012 - 14:03

For me bad show channels Tricilor TV (36.0E) and Platforma DV (9.0E)
With any xine-lib on the enigma2-pc it is, but with the same xine-lib in vdr + vdr-xine (xinelibout) everything works fine.
It is possible to decode vdr is not a MPEG4 (vdpau_mpeg4.c), and by H.264 (alterh264_decode.c) decoder.
When I look plugin femon (vdr) flow, where the MPEG-4SD or MPEG4-HD decoder in my shows H.264.
Maybe see how it is implemented in the vdr and plugin vdr-xine?

Thank,
Regards, Raider05


I send you a pm regarding this issue.

Regards,
Betacentauri

Edited by betacentauri, 19 February 2012 - 14:04.

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

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

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 19 February 2012 - 17:09

Little new patch is in git. build_openpliPC.sh is improved:[list]
[*]With switch -py you can compile in parallel. E.g. for a dual core processor it is common to use "openpliPC.sh -b -r -p3"
[*]Until now make and make install was executed. That's unnecessary and takes only time. You can use switch -ni to execute only make and no make install. Without the switch make install is default and is executed.
[*]Script interrupts when an error occur (during compile).
[/list]
Regards,
Betacentauri

Edited by betacentauri, 19 February 2012 - 17:10.

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

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #493 attaros

  • Senior Member
  • 52 posts

0
Neutral

Posted 19 February 2012 - 21:19

Hi Amatoren,

compile log is ok. I see no errors.
But you have installed a newer version of the xine-lib


....
XINE-LIB version: 1.2.1hg
....


The with openpliPC delivered xine-lib is not used.
Otherwise it should look like this:
XINE-LIB version: 1.2.0openpliPC-e2

Well, I see 3 workarounds:[list=1]
[*]Deinstall the newer xine-lib
[*]Rename/relink newer xine-lib (in /usr/lib) before E2 start
[*]There's a version.sh in xine-lib directory. You can try to patch the lib to a higher version. (I don't have tested it)
[/list]
Regards,

Betacentauri


Hi,

I have the same iissue. I am using XINE-LIB version: 1.2.1hg and not the one from git.

I do not know how to do 1) or 2).

I tried to re-clean and re-install but my openpliPC is always with XINE 1.2.1gh. I am on UBUTNU 11.10.

Thanks
attaros

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #494 Reaps

  • Member
  • 24 posts

0
Neutral

Posted 19 February 2012 - 23:55

Is there a way to get the opkg installer working on this version?

If not, could you provide details on how to get mgcamd showing up in the Softcams menu? Still going through some testing on a vm..

Thanks again.

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

  • PLi® Contributor
  • 6,181 posts

+261
Excellent

Posted 20 February 2012 - 10:40

Hi,

There is no opkg server available with builded packages for this particular release.

To start an emu please read previous post, you will find some sample script to properly start OpenpliPC with OScam for example, just adapt them for your own use.
Don't forgot to build dvbsoftwareca.

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 #496 sek1973

  • Senior Member
  • 116 posts

+3
Neutral

Posted 20 February 2012 - 13:25

Hello, could someone tell me where I can find the list of mapped keys (I mean PC keyboard)? Is it editable - I need zap history keys (KEY_NEXT, KEY_PREVIOUS) - unfortunatelly they don't seem to be mapped...
By the way, what do mean flags in keymap.xml? l - long press, r - repeated?, b, m?
Thanks in advance and regards.

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #497 Raider05

  • Senior Member
  • 75 posts

+4
Neutral

Posted 20 February 2012 - 15:46

@sek1973

b (break) - action to perform once the button is pressed
m (make) - action to perform when a key is pressed

in the keyboard emulation works only m

E2PC, Ubuntu 12.04 x86, DVB-S2 card Omicom SkyStar 4, Nvidia card 9500GT 512Mb DDR2 driver 195.36.24, Satellites 9.0E, 36.0E

Git enigma2pc


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #498 sek1973

  • Senior Member
  • 116 posts

+3
Neutral

Posted 20 February 2012 - 16:53

Thanks Raider05.
Meanwhile I have found it by myself. Perhaps someone will benefit from the information (in German):
http://wiki.blue-pan...d_Fernbedienung
Generally:
"m" normal pressing of the key
"r" occurs after "m", if the key is being kept pressed and till the key is released
"l" occurs after 5 repeats ("r") but only once (if the key is being kept pressed further "r" occur)
"b" occurs when the key is released (after being pressed)
Regards.

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #499 sek1973

  • Senior Member
  • 116 posts

+3
Neutral

Posted 20 February 2012 - 17:17

And what about the way it is mapped in openpliPC with PC keyboard? Is it in any file - where? I guess it is not in keymap.xml. :)
Regards.

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #500 Raider05

  • Senior Member
  • 75 posts

+4
Neutral

Posted 20 February 2012 - 17:44

Here in this file:

enigma2/lib/driver/rcxlib.cpp

Regards, Raider05

E2PC, Ubuntu 12.04 x86, DVB-S2 card Omicom SkyStar 4, Nvidia card 9500GT 512Mb DDR2 driver 195.36.24, Satellites 9.0E, 36.0E

Git enigma2pc



10 user(s) are reading this topic

0 members, 10 guests, 0 anonymous users