[Altes Modul] GoogleCast (98_GOOGLECAST.pm)

Begonnen von dominik, 10 Dezember 2015, 22:43:49

Vorheriges Thema - Nächstes Thema

ErzGabriel

Ich habe das cpanm auch nicht installiert und weiß auch nicht wie ich das Paket finde.
Wenn ich ein reload der 98_CHROMECAST.pm versuche, erhalte ich folgende Meldung.
ZitatCan't locate Inline.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/98_CHROMECAST.pm line 214.
BEGIN failed--compilation aborted at ./FHEM/98_CHROMECAST.pm line 221.

Fhem neu gestartet habe ich.

dominik

Ohne Installation wird es auch nicht funktionieren...

sudo apt-get install cpanminus
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

ErzGabriel

Komischerweise kriege ich den Befehl cpanm Inline::Python nicht ausgeführt, wird immer mit failed beendet.
Im Log File steht folgendes.
ZitatRunning Makefile.PL
ExtUtils::MakeMaker version 6.64 required--this is only version 6.57_05 at Makefile.PL line 4.
BEGIN failed--compilation aborted at Makefile.PL line 4.
-> N/A
-> FAIL Configure failed for Inline-Python-0.51. See /root/.cpanm/build.log for details.

Ich verstehe das so, das ich die falsche Version von MakeMaker drauf habe aber wo kriege ich denn jetzt die richtige Version her?

dominik

sudo apt-get install libextutils-makemaker-cpanfile-perl
mal ausprobieren.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

ErzGabriel

Trotzt sudo apt-get update, kann kein Paket gefunden werden.

dominik

Verwendest du auf wheezy oder jessie? Ich habe bereits jessie.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

ErzGabriel


dominik

Zitat von: ErzGabriel am 18 November 2016, 23:09:15
ich habe wheezy drauf.
Ich glaub da musst du nun auf jessie um weiter zu kommen.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

ErzGabriel

Habe auf jessie geupdatet aber es klappt immer noch nicht.
Nach dem Update, habe ich Python 2.7 nach installiert, weil ich diverse Fehler erhalten habe aber nichts hat sich geändert. Bricht immer noch die Konfiguration von inline-Python ab.
Erhalte diverse Fehler aus der Python 2.7 Lib, zu viele um sie hier alle aufzulisten.

dominik

Poste bitte mal den Fehler welcher bei "cpanm Inline::Python" kommt.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

mahowi

Ich habe das Modul gerade mal runtergeladen. Nach "reload 98_CHROMECAST" bekomme ich die Fehlermeldung Failed to autogenerate /opt/fhem/_Inline/config-arm-linux-gnueabihf-thread-multi-64int-5.024001.

at ./FHEM/98_CHROMECAST.pm line 214.
BEGIN failed--compilation aborted at ./FHEM/98_CHROMECAST.pm line 214.


Inline::Python und pychromecast sind installiert.
CUBe (MAX): HT, FK | CUBe (SlowRF): ESA2000WZ
JeeLink: LaCrosse | nanoCUL433: Smartwares SHS-51001-EU, EM1000GZ
ZME_UZB1: GreenWave PowerNode, Popp Thermostat | SIGNALDuino: HE877, X10 MS14A, Revolt NC-5462,  IT Steckdosen + PIR
tado° | Milight | HUE, Lightify | SmarterCoffee

ErzGabriel

Im build.log steht folgendes.

ZitatUnpacking Inline-Python-0.51.tar.gz
Entering Inline-Python-0.51
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.98)
Configuring Inline-Python-0.51
Running Makefile.PL
Found these python executables on your PATH:
1. /usr/bin/python
Using the only python executable I could find
Set the INLINE_PYTHON_EXECUTABLE environment variable to the full path to your python executable to override this selection.
Using /usr/bin/python
Could not find Python.h in include path. make will not work at Makefile.PL line 66.
-> N/A
-> FAIL Configure failed for Inline-Python-0.51. See /root/.cpanm/work/1479544974.10953/build.log for details.

dominik

@mahowi, mach mal ein "shutdown restart" und gib Bescheid ob es dann funktioniert.

@ErzGabriel, ist python-dev installiert? Zumindest erhalte ich das als Hinweis in der Google Suche beim 1. Link (http://stackoverflow.com/questions/8282231/i-have-python-on-my-ubuntu-system-but-gcc-cant-find-python-h).
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

ErzGabriel

Ist jetzt alles installiert. Fehler bleibt.

ZitatFound these python executables on your PATH:
1. /usr/bin/python
Using the only python executable I could find
Set the INLINE_PYTHON_EXECUTABLE environment variable to the full path to your python executable to override this selection.
Using /usr/bin/python
Could not find Python.h in include path. make will not work at Makefile.PL line 66.
-> N/A
-> FAIL Configure failed for Inline-Python-0.51. See /root/.cpanm/work/1479552666.25020/build.log for details.

Kai Hawaii

Zitat von: dominik am 18 November 2016, 21:46:05
@Kai Hawaii, bekommst du den gleichen Fehler nach einem shutdown restart?

Wie dev0 schon schrieb, cpanm ist eine (bessere) Alternative zu cpan. Bin davon ausgegangen, dass cpanm und pip überall installiert sind.

Hi hoh,

ich habe das Paket nochmal neu installiert:

Zitatpi@smarthome:~ $ sudo cpanm --reinstall Inline::Python
--> Working on Inline::Python
Fetching http://www.cpan.org/authors/id/N/NI/NINE/Inline-Python-0.51.tar.gz ... OK
Configuring Inline-Python-0.51 ... OK
Building and testing Inline-Python-0.51 ... OK
Successfully reinstalled Inline-Python-0.51
1 distribution installed

Der Fehler bleibt leider bestehen. Shutdown restart lief vorab.