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 #21 hemertje

  • Forum Moderator
    PLi® Core member
  • 33,503 posts

+118
Excellent

Posted 2 December 2011 - 19:09

@all,

I'm a PLi image fan and also a plugin developer. Currently I'm working on a new e2 Panel with "exclusive" features. One of them is copying EPG from a channel to another one on memory without XML files or any internet connection to rytec like servers. I'll release my panel in a month and share it with the PLi community.

But the problem was testing it for me. Since I've only one STB and I'm not the only one using it. Please note that my test require an active tuner since I'm dealing with EPG data. I think this thread will help me and I'll able to test it by using this PLi PC image.


see the third party development forum
why don't you start and share your development on github
so other users and developers can help you out

on the Glassfibre 1GB DVB-C...


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

  • Senior Member
  • 185 posts

+11
Neutral

Posted 2 December 2011 - 22:20

Ah come on ! You didn't say anything about nobody9's wonderful work and comment about my plugin ? It was just a use case scenario for PLi PC compilation. Please respect to nobody9's sharings with us :(


@all,

I'm a PLi image fan and also a plugin developer. Currently I'm working on a new e2 Panel with "exclusive" features. One of them is copying EPG from a channel to another one on memory without XML files or any internet connection to rytec like servers. I'll release my panel in a month and share it with the PLi community.

But the problem was testing it for me. Since I've only one STB and I'm not the only one using it. Please note that my test require an active tuner since I'm dealing with EPG data. I think this thread will help me and I'll able to test it by using this PLi PC image.


see the third party development forum
why don't you start and share your development on github
so other users and developers can help you out


It all started with a BigBang...


http://buyukbang.blogspot.com


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

  • Senior Member
  • 185 posts

+11
Neutral

Posted 2 December 2011 - 22:31

Thx for the post. I'll try it ! BTW is there any conclusion about the buffer technique to use ? I still think OpenGL would be the best solution since all modern graphic cards, even onboard ones, support it: Nvidia, ATI, intel and others. Even VMware supports it with the below given limitations via its 3D accerelation option in the menu ! I think this limitations are OK for E2.

http://www.vmware.co...imitations.html

But I don't have any idea about how to implement OpenGL or is it difficult or not.

Regs...


attached the new script to build enigma2 tested with the todays openpli.

changes:

- you must start enigma in the bin directory ./enigma2 or bin/enigma2.sh
- put in a dummy proc directory. You found their the file nim_sockets (proc/base/nim_sockets. enigma2 uses it to find the frontends.
- add Powerbutton to F10
- fixed the repeted keystroke (SDL fix)
- recording works when the device /dev/dvb/adapterX/dvr0 exist.
- F1 for start recordings
- added satellites.xml,terrestrial.xml
- added timezone.xml ti set the corect timezone


changes:

- split shell scripts

build_libs.sh - creates the required libs to compile and run Enigma2

build_enigma2.sh - patch and build enigma2

update_enigma2.sh - update and build enigma2


- fix some keys in keymap.xml
- fix skin select


It all started with a BigBang...


http://buyukbang.blogspot.com


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

  • Senior Member
  • 185 posts

+11
Neutral

Posted 3 December 2011 - 15:19

@nobody9
Today I setup vtuner on my VU+ as a server and on my Vmware ubuntu image as client. I got SNR and EPG on infobar with my enigma2 settings imported from VU+. But when I start recording only empty files are being cleared and then enigma2 does not response. I mounted /hdd and /media/hdd to a folder on my desktop then created a movie folder in it. May be I'm missing something?

You can find my logs here: http://www.multiupload.com/15FIU5A9R3

It all started with a BigBang...


http://buyukbang.blogspot.com


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #25 nobody9

  • Senior Member
  • 187 posts

+76
Good

Posted 3 December 2011 - 15:51

@nobody9
Today I setup vtuner on my VU+ as a server and on my Vmware ubuntu image as client. I got SNR and EPG on infobar with my enigma2 settings imported from VU+. But when I start recording only empty files are being cleared and then enigma2 does not response. I mounted /hdd and /media/hdd to a folder on my desktop then created a movie folder in it. May be I'm missing something?

You can find my logs here: http://www.multiupload.com/15FIU5A9R3

hi,

set in system-record
Recording data sync size = off
Recording demux buffer size = normal 1 MB
Try to record in a diffrent directory then /hdd/movie i use $HOME/Video

nobody9

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

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 3 December 2011 - 17:42

I try to install it on a Ubuntu 11.10.
./configure says:
configure: error: Could not find libxmlccwrap

I found that I can compile libxmlccwrap by myself. But I get the following error:
/Downloads/enigma2-i386/libxmlccwrap$ make
cd . && aclocal-1.4
aclocal: macro `_LT_DECL_SED' required but not defined
aclocal: macro `_LT_FUNC_STRIPNAME_CNF' required but not defined
make: *** [aclocal.m4] Fehler 1

What's the problem?
Can anyone please help me!
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

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

  • Senior Member
  • 185 posts

+11
Neutral

Posted 3 December 2011 - 18:07

Compiling missing packages is not needed, just install them since they are already built and ready to install on ubuntu servers. If you are new on linux/ubuntu I suggest you to use debian package search, which you can find in application search box on the left panel. Alternatively you can simply use below command:
sudo apt-get install libxmlccwrap-dev libxmlccwrap


I try to install it on a Ubuntu 11.10.
./configure says:
configure: error: Could not find libxmlccwrap

I found that I can compile libxmlccwrap by myself. But I get the following error:
/Downloads/enigma2-i386/libxmlccwrap$ make
cd . && aclocal-1.4
aclocal: macro `_LT_DECL_SED' required but not defined
aclocal: macro `_LT_FUNC_STRIPNAME_CNF' required but not defined
make: *** [aclocal.m4] Fehler 1

What's the problem?
Can anyone please help me!


Edited by buyukbang, 3 December 2011 - 18:07.

It all started with a BigBang...


http://buyukbang.blogspot.com


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #28 nobody9

  • Senior Member
  • 187 posts

+76
Good

Posted 3 December 2011 - 18:19

I try to install it on a Ubuntu 11.10.
./configure says:
configure: error: Could not find libxmlccwrap

I found that I can compile libxmlccwrap by myself. But I get the following error:
/Downloads/enigma2-i386/libxmlccwrap$ make
cd . && aclocal-1.4
aclocal: macro `_LT_DECL_SED' required but not defined
aclocal: macro `_LT_FUNC_STRIPNAME_CNF' required but not defined
make: *** [aclocal.m4] Fehler 1

What's the problem?
Can anyone please help me!


the script build_libs.sh creates the package without any problems. I has tested on Ubuntu 11.10 today.

#Build and install libxmlccwrap:
git clone git://git.opendreambox.org/git/obi/libxmlccwrap.git
cd libxmlccwrap
dpkg-buildpackage -uc -us
cd ..
sudo dpkg -i libxmlccwrap*.deb

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

  • Senior Member
  • 185 posts

+11
Neutral

Posted 3 December 2011 - 18:42

Same here. I didn't get even a single warning from the script as i said before. It builds everything in a few minutes on my ubuntu 11.10 .


I try to install it on a Ubuntu 11.10.
./configure says:
configure: error: Could not find libxmlccwrap

I found that I can compile libxmlccwrap by myself. But I get the following error:
/Downloads/enigma2-i386/libxmlccwrap$ make
cd . && aclocal-1.4
aclocal: macro `_LT_DECL_SED' required but not defined
aclocal: macro `_LT_FUNC_STRIPNAME_CNF' required but not defined
make: *** [aclocal.m4] Fehler 1

What's the problem?
Can anyone please help me!


the script build_libs.sh creates the package without any problems. I has tested on Ubuntu 11.10 today.

#Build and install libxmlccwrap:
git clone git://git.opendreambox.org/git/obi/libxmlccwrap.git
cd libxmlccwrap
dpkg-buildpackage -uc -us
cd ..
sudo dpkg -i libxmlccwrap*.deb


Edited by buyukbang, 3 December 2011 - 18:43.

It all started with a BigBang...


http://buyukbang.blogspot.com


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

  • Senior Member
  • 185 posts

+11
Neutral

Posted 3 December 2011 - 19:08

I did as you suggest but this didn't help. When I trying to stop recording enigma2 freezes, so i need to kill it. Then get empty files.


@nobody9
Today I setup vtuner on my VU+ as a server and on my Vmware ubuntu image as client. I got SNR and EPG on infobar with my enigma2 settings imported from VU+. But when I start recording only empty files are being cleared and then enigma2 does not response. I mounted /hdd and /media/hdd to a folder on my desktop then created a movie folder in it. May be I'm missing something?

You can find my logs here: http://www.multiupload.com/15FIU5A9R3

hi,

set in system-record
Recording data sync size = off
Recording demux buffer size = normal 1 MB
Try to record in a diffrent directory then /hdd/movie i use $HOME/Video

nobody9


It all started with a BigBang...


http://buyukbang.blogspot.com


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #31 nobody9

  • Senior Member
  • 187 posts

+76
Good

Posted 3 December 2011 - 19:18

I have too questions:
1- Keyboard keys are too fast on enigma2, usually cauese double clicks. Do you have a solution for this ?
2- Space button for menu is not working ??

I tested today on Ubuntu 11.10 without the keyboard problems.

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

  • Senior Member
  • 187 posts

+76
Good

Posted 3 December 2011 - 19:22

I did as you suggest but this didn't help. When I trying to stop recording enigma2 freezes, so i need to kill it. Then get empty files.



@nobody9
Today I setup vtuner on my VU+ as a server and on my Vmware ubuntu image as client. I got SNR and EPG on infobar with my enigma2 settings imported from VU+. But when I start recording only empty files are being cleared and then enigma2 does not response. I mounted /hdd and /media/hdd to a folder on my desktop then created a movie folder in it. May be I'm missing something?

You can find my logs here: http://www.multiupload.com/15FIU5A9R3

hi,

set in system-record
Recording data sync size = off
Recording demux buffer size = normal 1 MB
Try to record in a diffrent directory then /hdd/movie i use $HOME/Video

nobody9


Try it over a timer entry (i only have tested over a Timer not over an instand recording). It seems it hangs after "main thread is non-idle! display spinner!." I will try to disable the spinner.

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

  • Senior Member
  • 185 posts

+11
Neutral

Posted 3 December 2011 - 19:49

Infact I only tested timers, too. Tried all recording options on timer list with no success.


I did as you suggest but this didn't help. When I trying to stop recording enigma2 freezes, so i need to kill it. Then get empty files.



@nobody9
Today I setup vtuner on my VU+ as a server and on my Vmware ubuntu image as client. I got SNR and EPG on infobar with my enigma2 settings imported from VU+. But when I start recording only empty files are being cleared and then enigma2 does not response. I mounted /hdd and /media/hdd to a folder on my desktop then created a movie folder in it. May be I'm missing something?

You can find my logs here: http://www.multiupload.com/15FIU5A9R3

hi,

set in system-record
Recording data sync size = off
Recording demux buffer size = normal 1 MB
Try to record in a diffrent directory then /hdd/movie i use $HOME/Video

nobody9


Try it over a timer entry (i only have tested over a Timer not over an instand recording). It seems it hangs after "main thread is non-idle! display spinner!." I will try to disable the spinner.


It all started with a BigBang...


http://buyukbang.blogspot.com


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

  • Senior Member
  • 185 posts

+11
Neutral

Posted 3 December 2011 - 19:51

Interesting. I can only use the term that I started enigma2 to send keystrokes since it is the only way to do this as it should be. Using directly enigma2 windows always doubles (may be quads) keystrokes.do you use nohup or ampersand when starting enigma2 ? Am I missing something in here ?


I have too questions:
1- Keyboard keys are too fast on enigma2, usually cauese double clicks. Do you have a solution for this ?
2- Space button for menu is not working ??

I tested today on Ubuntu 11.10 without the keyboard problems.


It all started with a BigBang...


http://buyukbang.blogspot.com


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #35 nobody9

  • Senior Member
  • 187 posts

+76
Good

Posted 3 December 2011 - 20:15

i start in a terminal window ./enigma2. Which version of Vmware do you use. Have you installed the vmware tools or the openvmwaretools


Interesting. I can only use the term that I started enigma2 to send keystrokes since it is the only way to do this as it should be. Using directly enigma2 windows always doubles (may be quads) keystrokes.do you use nohup or ampersand when starting enigma2 ? Am I missing something in here ?



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

  • Senior Member
  • 185 posts

+11
Neutral

Posted 3 December 2011 - 21:18

Yes I start like that. I'm using latest version of VMWare and VMWare tools. Normally I never have such a problem on other programs on vmware, having this issue only on E2.

i start in a terminal window ./enigma2. Which version of Vmware do you use. Have you installed the vmware tools or the openvmwaretools


Interesting. I can only use the term that I started enigma2 to send keystrokes since it is the only way to do this as it should be. Using directly enigma2 windows always doubles (may be quads) keystrokes.do you use nohup or ampersand when starting enigma2 ? Am I missing something in here ?


Edited by buyukbang, 3 December 2011 - 21:18.

It all started with a BigBang...


http://buyukbang.blogspot.com


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

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 4 December 2011 - 09:55

At first thanks for your help!

But both doesn't work:
1. With build_libs.sh:
....
config.status: creating html/pics/Makefile
config.status: creating testlib/Makefile
libxmlccwrap 0.0.12
configuration:
--------------
compiler ....... : i686-linux-gnu-g++
--prefix ....... : /usr
--exec-prefix .. : ${prefix}
 
Now type 'make' to build libxmlccwrap 0.0.12.
dh_testdir
/usr/bin/make
make[1]: Betrete Verzeichnis '/home/f/Downloads/enigma2-i386/libxmlccwrap'
cd . && aclocal-1.4
aclocal: macro `_LT_DECL_SED' required but not defined
aclocal: macro `_LT_FUNC_STRIPNAME_CNF' required but not defined
make[1]: *** [aclocal.m4] Fehler 1
make[1]: Verlasse Verzeichnis '/home/f/Downloads/enigma2-i386/libxmlccwrap'
make: *** [build-stamp] Fehler 2
dpkg-buildpackage: Fehler: Fehler-Exitstatus von debian/rules build war 2
dpkg: Fehler beim Bearbeiten von libxmlccwrap*.deb (--install):
Auf das Archiv kann nicht zugegriffen werden: Datei oder Verzeichnis nicht gefunden
Fehler traten auf beim Bearbeiten von:
libxmlccwrap*.deb

2. With apt-get
/Downloads/enigma2-i386$ sudo apt-get install libxmlccwrap-dev libxmlccwrap
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut	  
Status-Informationen einlesen... Fertig
E: Paket libxmlccwrap-dev kann nicht gefunden werden
E: Paket libxmlccwrap kann nicht gefunden werde
I hope you understand german. Otherwise it means: Paket ... could not be found.
I added some package sources, but same error.

Do you both have a 32 bit system?? I use a 64bit ubuntu. Perhaps that's the problem.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #38 nobody9

  • Senior Member
  • 187 posts

+76
Good

Posted 4 December 2011 - 13:12

At first thanks for your help!

But both doesn't work:


I tried today on a Ubuntu 11.10 64bit with my scripts without any errors.

attached the compieled DEB Packages for Ubuntu 11.10 64Bit

Attached Files



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #39 ambrosa

  • Senior Member
  • 161 posts

+35
Good

Posted 4 December 2011 - 16:25

REPORT

Xubuntu 11.10 64bit , Intel Core 2 Duo E6600 , 6GB RAM , NVIDIA GT9600

1) downloaded and extracted enigma2-i386-20111202.tar.gz => OK


2) launched ./build_libs.sh => OK without any problem, only some warnings during libxmlccwrap compile (anyway it compile fine)
In local dir the script above created the following DEB packages:
libdreamdvd-dev_0.0.1_amd64.deb
libdreamdvd0_0.0.1_amd64.deb
libdvbsi++-dev_0.3.5_amd64.deb
libdvbsi++1_0.3.5_amd64.deb
libxmlccwrap-dev_0.0.12-1_amd64.deb
libxmlccwrap_0.0.12-1_amd64.deb

Note1: why install "gitosis" package (row 9) ? Do you really need it ? It's better to apt-get install git package ... normal users probably have not it installed.


3) launched ./build_enigma2.sh => OK


4) launch $HOME/bin/enigma2 : it fails with errors. It cannot access to many /dev/ devices. I've added my user to correct Unix group without success.
E2 works only if launched as root user:
sudo $HOME/bin/enigma2


5) E2 window open
Posted Image

but I cannot do more: if I try to press UP or DOWN arrow key, it looks to catch TWO key press as reported before by another user
This is the log when I press DOWN arrow key on my keyboard:
timeoutCounter: 17
timeoutCounter: 16
timeoutCounter: 15
timeoutCounter: 14
timeoutCounter: 13
action ->  WizardActions down
self.selection: YPbPr
input selection moved: YPbPr
inputSelect: YPbPr
getModeList for port YPbPr
modeList: []
self.selection: YPbPr
input selection moved: YPbPr
inputSelect: YPbPr
getModeList for port YPbPr
modeList: []
self.selection: YPbPr
input selection moved: YPbPr
inputSelect: YPbPr
getModeList for port YPbPr
modeList: []
current: ('YPbPr', 'YPbPr')
input selection moved: YPbPr
inputSelect: YPbPr
getModeList for port YPbPr
modeList: []
down
SDL Key Down: key=274
km=1 enabled=1 locked=0
action ->  WizardActions down
self.selection: Scart
input selection moved: Scart
inputSelect: Scart
getModeList for port Scart
modeList: []
FLUSH
self.selection: Scart
input selection moved: Scart
inputSelect: Scart
getModeList for port Scart
modeList: []
self.selection: Scart
input selection moved: Scart
inputSelect: Scart
getModeList for port Scart
modeList: []
current: ('Scart', 'Scart')
input selection moved: Scart
inputSelect: Scart
getModeList for port Scart
modeList: []
down
FLUSH
SDL Key Up: key=274
timeoutCounter: 19
timeoutCounter: 18
timeoutCounter: 17
timeoutCounter: 16

After that I must close E2 window.

Edited by ambrosa, 4 December 2011 - 16:26.

STB: Clarke Tech ET9100
Mass storage: internal SATA-II HDD 1TB WD10EACS GreenPower 5400rpm
Mass storage: external USB pen drive 2GB
Firmware: OpenPLi kernel 3.x.x
Tuner A: AVL2108 (DVB-S2) HotBird 13E
Tuner B: AVL2108 (DVB-S2) HotBird 13E
Tuner C: AverMedia A867 (DVB-T HD) (AF9035 + MXL5007T)
TV: plasma PANASONIC GT30 fullHD
Audio: PCM through HDMI (no Dolby decoder)

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #40 ambrosa

  • Senior Member
  • 161 posts

+35
Good

Posted 4 December 2011 - 16:30

Dear nobody9, as I said before and as other users suggest you, I repeat: please open a GitHub account and push your script there.
It will be very easy for people follow and update your nice work.

Regards
STB: Clarke Tech ET9100
Mass storage: internal SATA-II HDD 1TB WD10EACS GreenPower 5400rpm
Mass storage: external USB pen drive 2GB
Firmware: OpenPLi kernel 3.x.x
Tuner A: AVL2108 (DVB-S2) HotBird 13E
Tuner B: AVL2108 (DVB-S2) HotBird 13E
Tuner C: AverMedia A867 (DVB-T HD) (AF9035 + MXL5007T)
TV: plasma PANASONIC GT30 fullHD
Audio: PCM through HDMI (no Dolby decoder)


7 user(s) are reading this topic

0 members, 7 guests, 0 anonymous users