[1] 2 >>> MLD-5.x / Development / [5.5 x86_64] Kompilieren klappt nicht. (sispmctl-Paket für eine USB-Steckdose)
 

Offline wayne

  • Profi Member
  • ****
  • Posts: 268
    • View Profile
Hallihallo,

ich habe eine schaltbare USB-Steckdose für die man das Paket sispmctl benötigt. Beim Versuch sispmctl zu kompilieren kommt zuerst das hier:
Code: [Select]
MLD-x86> ./configure
checking build system type... admin/config.guess: line 1049: objdump: command not found
x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install...

Dann wird das mld-setup aufgerufen: siehe Anhang

Wenn man abbricht, kommt das hier:
Code: [Select]
admin/install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... admin/install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking whether make supports nested variables... no
checking whether make supports the include directive... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/temp/sispmctl-4.8':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
MLD-x86>


Fehlt nur der passende Compiler?
Oder was muss ich machen?


Danke und Grüße
wayne
« Last Edit: December 10, 2020, 19:07:57 by wayne »
VDR:
SAT>IP Kathrein EXIP 418
​streamdev-Server: MLD 5.5 testing, VM in proxmox (Hardware i5-6500T, 16GB, 256GB)
streamdev-Client 1: NUC6CAYS (Intel HD Graphics 500), MLD 5.5 testing, One For All URC 7960, ​
​streamdev-Client 2: NUC6CAYH (Intel HD Graphics 500), MLD 5.5 testing, One For All URC 7960, ​​
Media-Server: Synology DS215j
AV-Geräte: ​Hisense H65MEC5550, Dali Zensor 5 AX, Teufel S6000SW

(alt: ​streamdev-Server: ASRock J3160, MLD 5.5 testing, ​​​Mystique SaTiX-S2 V3 Dual + DuoFlex S2, 8GB, 60GB System,)

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20169
    • View Profile
    • ClausMuus.de
[5.5 x86_64] Kompilieren klappt nicht.
« Reply #1 on: December 07, 2020, 12:06:22 »
Die MLD enthält keine Entwicklungstools. Du kannst das also nicht direkt auf der MLD kompilieren.
In unserem Wiki ist beschrieben, wie Du Dir ein MLD Entwicklungs System in einem Docker Container aufsetzt. In diesem kannst Du Dir dann das benötigte Tool kompilieren.
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline wayne

  • Profi Member
  • ****
  • Posts: 268
    • View Profile
[5.5 x86_64] Kompilieren klappt nicht.
« Reply #2 on: December 07, 2020, 12:30:58 »
Ohje, das wird für mich eine Herausforderung.
Hoffe, alle haben ein wenig Geduld mit einem Anfänger.  ::) :-[

1. Problem: MLD5.5 sagt Debian 8 = Jessie:
Code: [Select]
MLD-x86> cat /proc/version
Linux version 5.9.12.202.91 (unstable@MLD-5.5) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1 SMP Fr                                             i Dec 4 02:03:55 CET 2020


Im Wiki steht für MLD5.4: Stretch = Debian 9

Welche Vorgabe muss nun ins Dockerfile?



 
VDR:
SAT>IP Kathrein EXIP 418
​streamdev-Server: MLD 5.5 testing, VM in proxmox (Hardware i5-6500T, 16GB, 256GB)
streamdev-Client 1: NUC6CAYS (Intel HD Graphics 500), MLD 5.5 testing, One For All URC 7960, ​
​streamdev-Client 2: NUC6CAYH (Intel HD Graphics 500), MLD 5.5 testing, One For All URC 7960, ​​
Media-Server: Synology DS215j
AV-Geräte: ​Hisense H65MEC5550, Dali Zensor 5 AX, Teufel S6000SW

(alt: ​streamdev-Server: ASRock J3160, MLD 5.5 testing, ​​​Mystique SaTiX-S2 V3 Dual + DuoFlex S2, 8GB, 60GB System,)

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20169
    • View Profile
    • ClausMuus.de
[5.5 x86_64] Kompilieren klappt nicht.
« Reply #3 on: December 08, 2020, 00:35:36 »
Hm, Debian 8 verstehe ich jetzt nicht, denn im Dockerfile in der ersten Zeile steht "Stretch". Da Du für MLD-5.5 bauen möchtest, musst Du die erste Zeile anpassen und dort "debian:buster" eintragen. Das hatte ich vergessen zu erwähnen. Danach musst Du das Docker Image und den Docker Container leider neu erstellen. Den alten Container kannst Du mit "docker rm MLD" löschen.
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline wayne

  • Profi Member
  • ****
  • Posts: 268
    • View Profile
[5.5 x86_64] Kompilieren klappt nicht.
« Reply #4 on: December 08, 2020, 08:29:04 »
Guten Morgen Claus,
bei MLD5.5 hätte ich mit Buster (Debian 10) gerechnet und das hätte ich dann schon ins Dockerfile eingetragen.

Zur Kontrolle habe ich dann mal ein "cat /proc/version" bei MLD5.5 gemacht:
Geliefert wurde aber: Debian 8.3.0 (also Jessie). Warum Debian 8?

Mit "cat /proc/version" bei MLD5.5 hätte ich eben etwas mit "Debian 10." erwartet...
« Last Edit: December 08, 2020, 08:32:57 by wayne »
VDR:
SAT>IP Kathrein EXIP 418
​streamdev-Server: MLD 5.5 testing, VM in proxmox (Hardware i5-6500T, 16GB, 256GB)
streamdev-Client 1: NUC6CAYS (Intel HD Graphics 500), MLD 5.5 testing, One For All URC 7960, ​
​streamdev-Client 2: NUC6CAYH (Intel HD Graphics 500), MLD 5.5 testing, One For All URC 7960, ​​
Media-Server: Synology DS215j
AV-Geräte: ​Hisense H65MEC5550, Dali Zensor 5 AX, Teufel S6000SW

(alt: ​streamdev-Server: ASRock J3160, MLD 5.5 testing, ​​​Mystique SaTiX-S2 V3 Dual + DuoFlex S2, 8GB, 60GB System,)

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20169
    • View Profile
    • ClausMuus.de
[5.5 x86_64] Kompilieren klappt nicht.
« Reply #5 on: December 08, 2020, 11:20:08 »
Hi, keine Ahnung wie das zustande kommt. Bei meinem Dev Server steht da Debian 6 obwohl es Buster ist.
Mit "cat /etc/os-release" bekommst Du die korrekte Version angezeigt.
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline mafe68

  • MLD-Tester
  • Expert Member
  • ******
  • Posts: 2389
  • Immer auf der Suche nach was neuem!
    • View Profile
    • Mediastreambox
[5.5 x86_64] Kompilieren klappt nicht.
« Reply #6 on: December 08, 2020, 11:59:00 »
Was hast du da für schaltbare Steckdose! Ist die per WLAN, Zigbee oder 433Mhz ?
Gruß Mario
Meine Hardware (show / hide)

Offline wayne

  • Profi Member
  • ****
  • Posts: 268
    • View Profile
[5.5 x86_64] Kompilieren klappt nicht.
« Reply #7 on: December 08, 2020, 12:02:07 »
ich habe eine schaltbare USB-Steckdose für die man das Paket sispmctl benötigt.
Es ist eine Gembird mSIS-PM.

Beim Einschalten des VDR wird geprüft, ob ein Timer den VDR geweckt hat. Wenn ja, wird die USB-Steckdose (mit TV-Gerät) nicht eingeschalten.

« Last Edit: December 08, 2020, 12:04:42 by wayne »
VDR:
SAT>IP Kathrein EXIP 418
​streamdev-Server: MLD 5.5 testing, VM in proxmox (Hardware i5-6500T, 16GB, 256GB)
streamdev-Client 1: NUC6CAYS (Intel HD Graphics 500), MLD 5.5 testing, One For All URC 7960, ​
​streamdev-Client 2: NUC6CAYH (Intel HD Graphics 500), MLD 5.5 testing, One For All URC 7960, ​​
Media-Server: Synology DS215j
AV-Geräte: ​Hisense H65MEC5550, Dali Zensor 5 AX, Teufel S6000SW

(alt: ​streamdev-Server: ASRock J3160, MLD 5.5 testing, ​​​Mystique SaTiX-S2 V3 Dual + DuoFlex S2, 8GB, 60GB System,)

Offline mafe68

  • MLD-Tester
  • Expert Member
  • ******
  • Posts: 2389
  • Immer auf der Suche nach was neuem!
    • View Profile
    • Mediastreambox
[5.5 x86_64] Kompilieren klappt nicht.
« Reply #8 on: December 08, 2020, 12:08:40 »
Wie haben Fhem bei den Paketen zum installieren dabei, mit Fhem müsst man die schalten können. Schaue mal hier https://wiki.fhem.de/wiki/EGPM2LAN
Gruß Mario
Meine Hardware (show / hide)

Offline wayne

  • Profi Member
  • ****
  • Posts: 268
    • View Profile
[5.5 x86_64] Kompilieren klappt nicht.
« Reply #9 on: December 08, 2020, 12:23:49 »
Wie haben Fhem bei den Paketen zum installieren dabei, mit Fhem müsst man die schalten können. Schaue mal hier https://wiki.fhem.de/wiki/EGPM2LAN

Das geht wohl nicht. Die EGPM2LAN ist eine LAN Steckdose und der USB-Anschluss ist nur zu Konfiguration, oder?
Aber gut zu wissen, dass es noch eine Alternative gibt...
VDR:
SAT>IP Kathrein EXIP 418
​streamdev-Server: MLD 5.5 testing, VM in proxmox (Hardware i5-6500T, 16GB, 256GB)
streamdev-Client 1: NUC6CAYS (Intel HD Graphics 500), MLD 5.5 testing, One For All URC 7960, ​
​streamdev-Client 2: NUC6CAYH (Intel HD Graphics 500), MLD 5.5 testing, One For All URC 7960, ​​
Media-Server: Synology DS215j
AV-Geräte: ​Hisense H65MEC5550, Dali Zensor 5 AX, Teufel S6000SW

(alt: ​streamdev-Server: ASRock J3160, MLD 5.5 testing, ​​​Mystique SaTiX-S2 V3 Dual + DuoFlex S2, 8GB, 60GB System,)

Offline mafe68

  • MLD-Tester
  • Expert Member
  • ******
  • Posts: 2389
  • Immer auf der Suche nach was neuem!
    • View Profile
    • Mediastreambox
[5.5 x86_64] Kompilieren klappt nicht.
« Reply #10 on: December 08, 2020, 12:28:59 »
Schaue mal im Net da gibt es sicher noch andere Möglichkeiten das du sie ganz einfach schalten kannst. Sonst habe wir auch Docker dabei wo es dann jede menge an Möglichkeiten gibt unter anderen auch die MLD Devel aufbauen zu können.
Gruß Mario
Meine Hardware (show / hide)

Offline rfehr

  • MLD-Developer
  • Expert Member
  • ******
  • Posts: 1464
    • View Profile
[5.5 x86_64] Kompilieren klappt nicht.
« Reply #11 on: December 08, 2020, 13:25:13 »
Hi Zusammen,

vermutlich gibt  "cat /proc/version"  die Version des Hostes aus, und nicht vom Docker.

Gruß,
  Roland
1x OctopusNet 4x DVB-C
1x Zotac ITX-A Atom 330
1x RPI2 als Client
1x BananaPi
1x Wetekplay
1x MCC 100
2x RPI3
2x RPi4
1x https://www.zotac.com/at/product/mini_pcs/pi335

Offline wayne

  • Profi Member
  • ****
  • Posts: 268
    • View Profile
[5.5 x86_64] Kompilieren klappt nicht.
« Reply #12 on: December 08, 2020, 13:26:13 »
Sorry, da hatte ich aber noch kein Docker installiert...
VDR:
SAT>IP Kathrein EXIP 418
​streamdev-Server: MLD 5.5 testing, VM in proxmox (Hardware i5-6500T, 16GB, 256GB)
streamdev-Client 1: NUC6CAYS (Intel HD Graphics 500), MLD 5.5 testing, One For All URC 7960, ​
​streamdev-Client 2: NUC6CAYH (Intel HD Graphics 500), MLD 5.5 testing, One For All URC 7960, ​​
Media-Server: Synology DS215j
AV-Geräte: ​Hisense H65MEC5550, Dali Zensor 5 AX, Teufel S6000SW

(alt: ​streamdev-Server: ASRock J3160, MLD 5.5 testing, ​​​Mystique SaTiX-S2 V3 Dual + DuoFlex S2, 8GB, 60GB System,)

Offline wayne

  • Profi Member
  • ****
  • Posts: 268
    • View Profile
[5.5 x86_64] Kompilieren klappt nicht.
« Reply #13 on: December 08, 2020, 13:58:58 »
Schaue mal im Net da gibt es sicher noch andere Möglichkeiten das du sie ganz einfach schalten kannst.

sispmctl gibt auch als deb-Paket..
Allerdings kommt dann:
Code: [Select]
MLD-x86> dpkg -i sispmctl_3.1-1+b2_amd64.deb
Create a snapshot of '/mnt/root/@root' in '/mnt/root/2020-12-08 13:49'
Delete subvolume (no-commit): '/mnt/root/2020-12-08 13:48'
Selecting previously unselected package sispmctl.
(Reading database ... 24744 files and directories currently installed.)
Preparing to unpack sispmctl_3.1-1+b2_amd64.deb ...
Unpacking sispmctl (3.1-1+b2) ...
dpkg: dependency problems prevent configuration of sispmctl:
 sispmctl depends on libusb-0.1-4 (>= 2:0.1.12); however:
  Version of libusb-0.1-4 on system is 0.1.12-~1.

dpkg: error processing package sispmctl (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
VDR:
SAT>IP Kathrein EXIP 418
​streamdev-Server: MLD 5.5 testing, VM in proxmox (Hardware i5-6500T, 16GB, 256GB)
streamdev-Client 1: NUC6CAYS (Intel HD Graphics 500), MLD 5.5 testing, One For All URC 7960, ​
​streamdev-Client 2: NUC6CAYH (Intel HD Graphics 500), MLD 5.5 testing, One For All URC 7960, ​​
Media-Server: Synology DS215j
AV-Geräte: ​Hisense H65MEC5550, Dali Zensor 5 AX, Teufel S6000SW

(alt: ​streamdev-Server: ASRock J3160, MLD 5.5 testing, ​​​Mystique SaTiX-S2 V3 Dual + DuoFlex S2, 8GB, 60GB System,)

Offline wayne

  • Profi Member
  • ****
  • Posts: 268
    • View Profile
[5.5 x86_64] Kompilieren klappt nicht.
« Reply #14 on: December 08, 2020, 14:43:40 »
Denke, dass das Kompilieren von sispmctl funktioniert hat. Es kamen keine Fehler und...
Code: [Select]
root@41810064e7e1:/temp/sispmctl-4.8# sispmctl -s
No GEMBIRD SiS-PM found. Check USB connections, please!

Aber ich habe noch nicht ganz verstanden was im Wiki steht.  :-[
Muss ich nun das Paket auschecken? Liegt dann im Ordner .packages ein deb-Paket?
Beim Auschecken:
Code: [Select]
root@41810064e7e1:/temp/sispmctl-4.8# make checkout name=sispmclt
make: *** No rule to make target 'checkout'.  Stop.
VDR:
SAT>IP Kathrein EXIP 418
​streamdev-Server: MLD 5.5 testing, VM in proxmox (Hardware i5-6500T, 16GB, 256GB)
streamdev-Client 1: NUC6CAYS (Intel HD Graphics 500), MLD 5.5 testing, One For All URC 7960, ​
​streamdev-Client 2: NUC6CAYH (Intel HD Graphics 500), MLD 5.5 testing, One For All URC 7960, ​​
Media-Server: Synology DS215j
AV-Geräte: ​Hisense H65MEC5550, Dali Zensor 5 AX, Teufel S6000SW

(alt: ​streamdev-Server: ASRock J3160, MLD 5.5 testing, ​​​Mystique SaTiX-S2 V3 Dual + DuoFlex S2, 8GB, 60GB System,)

[1] 2 >>> MLD-5.x / Development / [5.5 x86_64] Kompilieren klappt nicht. (sispmctl-Paket für eine USB-Steckdose)
 



Users Online Users Online

0 Members and 1 Guest are viewing this topic.