Hallo allerseits,
vielleicht hat wer eine gleiche Konstellation und kann helfen.
Ich betreibe fhem auf einem QNAP NAS mit perl Version 5.10.0 per ipkg.
Ich wollte das Modul UWZ probieren welches das Modul Text::Iconv voraussetzt.
Das Installieren des Modules mittels CPAN will mir aber partout nicht gelingen:
CPAN: Archive::Tar loaded ok (v1.38)
Text-Iconv-1.7
Text-Iconv-1.7/t
Text-Iconv-1.7/t/01_charsets.t
Text-Iconv-1.7/t/00_load.t
Text-Iconv-1.7/Iconv.xs
Text-Iconv-1.7/Changes
Text-Iconv-1.7/Iconv.pm
Text-Iconv-1.7/MANIFEST
Text-Iconv-1.7/typemap
Text-Iconv-1.7/Makefile.PL
Text-Iconv-1.7/README
Text-Iconv-1.7/META.yml
CPAN: File::Temp loaded ok (v0.18)
CPAN.pm: Going to build M/MP/MPIOTR/Text-Iconv-1.7.tar.gz
Checking for iconv ... fail
Failed to find iconv, please check your settings and re-run as:
/share/MD0_DATA/.qpkg/Optware/bin/perl5.10.0 Makefile.PL LIBS='-L/path/to/lib' INC='-I/path/to/include'
Warning: No success on command[/share/MD0_DATA/.qpkg/Optware/bin/perl5.10.0 Makefile.PL]
Warning (usually harmless): 'YAML' not installed, will not store persistent state
MPIOTR/Text-Iconv-1.7.tar.gz
/share/MD0_DATA/.qpkg/Optware/bin/perl5.10.0 Makefile.PL -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Could not read '/root/.cpan/build/Text-Iconv-1.7-tBWn2C/META.yml'. Falling back to other methods to determine prerequisites
Failed during this command:
MPIOTR/Text-Iconv-1.7.tar.gz : writemakefile NO '/share/MD0_DATA/.qpkg/Optware/bin/perl5.10.0 Makefile.PL' returned status 256
Kennt das jemand? Iconv ist eigentlich per IPKG installiert, aber alle meine Bemühungen, LIBS und INC beim Installieren anzugeben scheitern.
Hat das schon mal wer auf einem QNAP zum Laufen?
Schade, daß immer mehr Module Abhängigkeiten aufweisen, welche auf "Leightweight"- Systemen nicht so ohne weiteres vorhanden sind.
Viele Grüße,
Johannes