Jump to content


starbuck

Member Since 26 Apr 2015
Offline Last Active Yesterday, 17:22
-----

Posts I've Made

In Topic: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit

29 September 2024 - 20:12

I had an error compiling the newer build.
 

      |                                                          int
  CXX      dvb/eit.o
  CXX      dvb/epgcache.o
  CXX      dvb/epgchanneldata.o
  CXX      dvb/epgtransponderdatareader.o
  CXX      dvb/esection.o
  CXX      dvb/fastscan.o
  CXX      dvb/filepush.o
  CXX      dvb/frontend.o
  CXX      dvb/frontendparms.o
  CXX      dvb/metaparser.o
dvb/frontend.cpp: In member function ‘std::string eDVBFrontend::getCapabilities()’:
dvb/frontend.cpp:3243:22: error: ‘SYS_DVBC2’ was not declared in this scope; did you mean ‘SYS_DVBT2’?
 3243 |                 case SYS_DVBC2:         ss << " DVBC2"; break;
      |                      ^~~~~~~~~
      |                      SYS_DVBT2
make[3]: *** [Makefile:1957: dvb/frontend.o] Fehler 1
make[3]: *** Es wird auf noch nicht beendete Prozesse gewartet....
make[3]: Verzeichnis „/usr/src/OpenPLi-PC_Python3/enigma2/lib“ wird verlassen
make[2]: *** [Makefile:3036: install-recursive] Fehler 1
make[2]: Verzeichnis „/usr/src/OpenPLi-PC_Python3/enigma2/lib“ wird verlassen
make[1]: *** [Makefile:3195: install] Fehler 2
make[1]: Verzeichnis „/usr/src/OpenPLi-PC_Python3/enigma2/lib“ wird verlassen
make: *** [Makefile:553: install-recursive] Fehler 1

*****************************************************************
AN ERROR OCCURED WHILE BUILDING OpenPliPC - SECTION MAKE INSTALL!

It's related to this patch "patch-69a69f4b-to-PC.patch".

 

What about this code change?
 

@@ -3240,6 +3240,7 @@
         case SYS_DVBT2:        ss << " DVBT2"; break;
         case SYS_TURBO:        ss << " TURBO"; break;
         case SYS_DTMB:        ss << " DTMB"; break;
+        case SYS_DVBC2:        ss << " DVBC2"; break;
         }
     }

As the error says "SYS_DVBC2" is nowhere declared. Is there some extra code missing? Implementation of the DVB-C2 Standard???

 

I have commented it out and compilation works as expected.


In Topic: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit

11 September 2024 - 17:36

Glad I could help. You're welcome.


In Topic: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit

9 September 2024 - 20:04

I tinkered around on weekend and I got it working. So I think I will answer myself and to everyone who is interested.

"Can I use it when I have no DVB-C Hardware in the Proxmox Host?"

Yes. It works without a DVB Adapter. For the Proxmox /QEMU Guest we can use the OpenGL Driver with XINE-LIB version: 1.2.13-hg


Segmentation fault.

Root cause: Wrong graphics driver selected.
 

5_build_openpliPC.sh compilation error and libtuxtxt32bpp.* not created

When executing the shell script "5_build_openpliPC.sh" I got a compilation error.

/usr/bin/ld: -ltuxtxt32bpp kann nicht gefunden werden: Datei oder Verzeichnis nicht gefunden
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:801: enigma2] Fehler 1

Little error in the shell-script "3_build_own_libs.sh" in line 166

 
166 mkdir $INSTALL_E2DIR/lib/enigma2/python/Plugins/Extensions/$DIR

directories won't get created!!!

mkdir -p $INSTALL_E2DIR/lib/enigma2/python/Plugins/Extensions/$DIR

The -p parameter is needed for creating the whole (sub)directories.

 

Fixing this tuxtxt builds and installs correctly! (libtuxtxt32bpp.* will be created and linked correctly)

 

 

Enigma2-OpenPLi9-PC compiles and is working as shown in the attachments.


In Topic: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit

7 September 2024 - 15:56

I am also missing the libtuxtxt32bpp library. It is not compiled and not present in /usr/lib directory.

 

I only see

libtuxtxt.la
libtuxtxt.so           
libtuxtxt.so.0
libtuxtxt.so.0.0.0 

libtuxtxt32bpp is missing.
 

When executing the shell script "5_build_openpliPC.sh" I got a compilation error.

/usr/bin/ld: -ltuxtxt32bpp kann nicht gefunden werden: Datei oder Verzeichnis nicht gefunden
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:801: enigma2] Fehler 1

The files are listed in the TREE.EN file in repository but nowhere else.... ???

/usr/include/tuxtxt_def.h
/usr/lib/enigma2 -> /usr/local/e2/include/enigma2
/usr/lib/libtuxtxt32bpp.la
/usr/lib/libtuxtxt32bpp.so -> libtuxtxt32bpp.so.0.0.0
/usr/lib/libtuxtxt32bpp.so.0 -> libtuxtxt32bpp.so.0.0.0
/usr/lib/libtuxtxt32bpp.so.0.0.0
 

What's wrong here? :(


In Topic: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit

7 September 2024 - 12:02

Hello,

I have installed OpenPLi-PC_Python3 (https://github.com/a...nPLi-PC_Python3) on an Proxmox Host in a VM.
In this box there is no DVB-C adapter card. I don't need Live-TV at the moment.
I want to use Enigma2PC for plugin development and debugging (Plugin with Webaccess/Streaming).

Can I use it when I have no DVB-C Hardware in the Proxmox Host? I have a DVB-C Card in my "normal" Linux PC but I don't want to mess up the system

with the Openpli-PC build environment :)

 

I have successfully compiled the libs and enigma2 with the scripts from 1455.

 

But when I start enigma2 I get a segmentation fault.

PYTHONPATH: /usr/local/e2/lib/enigma2/python
DVB_API_VERSION 5 DVB_API_VERSION_MINOR 12
ENIGMA_DEBUG_LVL=4
[Avahi] avahi_timeout_new
[Avahi] avahi_watch_new(3 0x1)
[Avahi] avahi_timeout_update
[Avahi] avahi_timeout_new
[Avahi] avahi_timeout_free
[Avahi] avahi_timeout_new
[Avahi] avahi_timeout_free
[Avahi] avahi_timeout_new
[Avahi] avahi_timeout_free
[Avahi] avahi_timeout_new
[Avahi] avahi_timeout_free
[Avahi] avahi_timeout_new
[Avahi] avahi_timeout_free
[Avahi] avahi_timeout_new
[Avahi] avahi_timeout_free
[Avahi] client state: 2
[Avahi] avahi_timeout_new
[Avahi] avahi_timeout_free
[eInit] + (1) Background File Eraser
[eInit] + (5) Tuxtxt
[eInit] + (8) graphics acceleration manager
[bcm] /dev/fb0 Permission denied
[eInit] + (9) Font Render Class
[Font] Initializing lib.
[Font] Loading fonts.
[Font] Intializing font cache, using max. 4MB.
[eInit] + (9) gLCD
[eFbLCD] /dev/fb1: No such file or directory
[eFbLCD] framebuffer /dev/fb1 not available
[eDboxLCD] No oled0 or lcd0 device found!
[gLCDDC] resolution: -1x-1x0 stride=0
[eInit] + (9) gXlibDC
Display resolution 1280 800
XINE-LIB version: 1.2.13-hg
XINE-LIB configfile: /usr/local/e2/share/enigma2/xine.conf
Available post plugins:  boxblur denoise3d enigma enigma_audio enigma_video eq eq2 expand fftgraph fftscope fill goom
invert mosaico noise oscope pp stretch switch tdaudioanalyzer tvtime unsharp upmix upmix_mono vdr vdr_audio vdr_video
volnorm
Segmentation fault.

 

How can I debug this further to find the error?

 

Just another question. How can I use the "INSTALL_ALL.sh" script correctly?

The "2_build_environment.sh" script makes an reboot of the system at the end.

The system now reboots and I need to login again. When I execute the "INSTALL_ALL.sh"  script again

it begins from start and ends with an reboot again. I need to execute the "3_build_own_libs.sh" script manually so the build process continues.

(I think the script has to be altered before reboot. Save the status of the operation in a variable which will be evaluated on the next script run

and the script then continues with the next step "3_build_own_libs.sh".

 

Note: An addition in the READme would be helpful to clone the repository to /usr/src!
Otherwise the prefix2 path prefix2="/usr/src/OpenPLi-PC_Python3/libs" is not found

because I cloned mine to /home/user/ the first time.

 

Thanks for the great work!!! :)