Perl Modul LWP:Useragent

Begonnen von Praktiker, 20 Februar 2016, 15:00:55

Vorheriges Thema - Nächstes Thema

Praktiker

Da ich mit Fhem auf meinem WHS2011 Server nicht glücklich werde wollte ich es unter Ubuntu 11 probieren in einer Virtual box.
Das sieht auch alles ganz gut aus.
Nachdem ich auch das Problem lösen konnte das fhem immer mit perl 5.10 statt dem 5.22.1 startet habe ich ein neues.
Die Module Enigma2 und Pushnotifier wollen noch nicht:

2016.02.20 14:37:43 1: reload: Error:Modul 70_ENIGMA2 deactivated:
Can't locate XML/Simple.pm in @INC (you may need to install the XML::Simple module) (@INC contains: /home/ubuntu/perl5/perlbrew/perls/perl-5.22.1/lib/site_perl/5.22.1/i686-linux /home/ubuntu/perl5/perlbrew/perls/perl-5.22.1/lib/site_perl/5.22.1 /home/ubuntu/perl5/perlbrew/perls/perl-5.22.1/lib/5.22.1/i686-linux /home/ubuntu/perl5/perlbrew/perls/perl-5.22.1/lib/5.22.1 . ./FHEM) at ./FHEM/70_ENIGMA2.pm line 34, <$fh> line 526.
BEGIN failed--compilation aborted at ./FHEM/70_ENIGMA2.pm line 34, <$fh> line 526.


2016.02.20 14:37:43 1: reload: Error:Modul 70_PushNotifier deactivated:
Can't locate LWP/UserAgent.pm in @INC (you may need to install the LWP::UserAgent module) (@INC contains: /home/ubuntu/perl5/perlbrew/perls/perl-5.22.1/lib/site_perl/5.22.1/i686-linux /home/ubuntu/perl5/perlbrew/perls/perl-5.22.1/lib/site_perl/5.22.1 /home/ubuntu/perl5/perlbrew/perls/perl-5.22.1/lib/5.22.1/i686-linux /home/ubuntu/perl5/perlbrew/perls/perl-5.22.1/lib/5.22.1 . ./FHEM) at ./FHEM/70_PushNotifier.pm line 29, <$fh> line 666.
BEGIN failed--compilation aborted at ./FHEM/70_PushNotifier.pm line 29, <$fh> line 666.

Die fehlenden Module habe ich aber mit

sudo perl -MCPAN -e 'install LWP::UserAgent::Cached'
sudo perl -MCPAN -e 'install Bundle::LWP'

installiert.
Leider weiss ich nun nicht weiter....
Kann mir hier jemand weiterhelden?
Viele Grüsse
Praktiker

Wernieman

1. unter Ubuntu:
Versuche die Ubuntu-perl-Module zu intallieren und NICHT per cpan.

Vorteil Ubuntu-Module: Bei einem Ubdate von perl in Ubuntu werden gleich die Module upgedatet. Bei cpan eben nicht
Nachteil:Man muß die Modulnamen suchen ...

2. wegen deines Problemes
apt-get install libxml-simple-perl libparse-http-useragent-perl liblwp-protocol-https-perl
- Bitte um Input für Output
- When there is a Shell, there is a Way
- Wann war Dein letztes Backup?

Wie man Fragen stellt: https://tty1.net/smart-questions_de.html