Failed--compilation aborted at ./FHEM/70_PHTV.pm

Begonnen von Zaleo, 23 Dezember 2014, 00:23:38

Vorheriges Thema - Nächstes Thema

Zaleo

Dear all,

See below my fhem logging, it will not lote the PHTV module.

I installed JSON;

$  sudo apt-get install libjson0

Any surgestions?

2014.12.23 00:19:37 1: Including fhem.cfg
2014.12.23 00:19:37 3: telnetPort: port 7072 opened
2014.12.23 00:19:40 3: WEB: port 8083 opened
2014.12.23 00:19:41 3: Opening CCD device /dev/ttyAMA0
2014.12.23 00:19:41 3: Setting CCD baudrate to 38400
2014.12.23 00:19:41 3: CCD device opened
2014.12.23 00:19:41 3: CCD: Possible commands: mbCFiAZGMRTVWXefltux
2014.12.23 00:19:43 1: reload: Error:Modul 70_PHTV deactivated:
Can't locate JSON.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl . ./FHEM) at ./FHEM/70_PHTV.pm line 50, <$fh> line 206.
BEGIN failed--compilation aborted at ./FHEM/70_PHTV.pm line 50, <$fh> line 206.

2014.12.23 00:19:43 0: Can't locate JSON.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl . ./FHEM) at ./FHEM/70_PHTV.pm line 50, <$fh> line 206.
BEGIN failed--compilation aborted at ./FHEM/70_PHTV.pm line 50, <$fh> line 206.

2014.12.23 00:19:43 3: Floorplan - added global userattr fp_Remote
2014.12.23 00:19:43 1: Including ./log/fhem.save
2014.12.23 00:19:43 1: configfile: Cannot load module PHTV

2014.12.23 00:19:43 1: usb create starting
2014.12.23 00:19:45 1: usb create end
2014.12.23 00:19:45 2: Error messages while initializing FHEM: configfile: Cannot load module PHTV
2014.12.23 00:19:45 0: Server started with 36 defined entities (version $Id: fhem.pl 7124 2014-12-05 07:10:20Z rudolfkoenig $, os linux, user fhem, pid 2209)


rudolfkoenig

Packages containing perl libraries have usually the word perl in their package name.

Zaleo

$ sudo apt-get install libjson-perl

Solved the problem.