mfechner / heizung

MIT License
4 stars 4 forks source link

Error on WPgetAllValues #2

Closed nikolauskrismer closed 10 years ago

nikolauskrismer commented 10 years ago

After installation I get the follownig error message:

Can't locate Config/General.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ./WPgetAllValues.pl line 10.
BEGIN failed--compilation aborted at ./WPgetAllValues.pl line 10.

However, a call to WPgetValue does work (and results in the following code):

./WPgetVal.pl OutdoorTemp
./readModbus -f3 -a433 -s2 -t1
T outdoor = 14.924319°C

Am I missing a library or something here? I already double-checked libmodbus installation...

mfechner commented 10 years ago

You need to install the perl module Config::General.

nikolauskrismer commented 10 years ago

Thanks... worked :-) Maybe this should be added to the installation instructions ;-)