Hi, I've recently upgraded DSM from 5.0 Beta to 5.0.
When I tried to enable Advanced Power Manager, some message shown:
Can't locate Cwd.pm in @INC (you may need to install the Cwd module) (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /usr/share/perl5/core_perl/FindBin.pm line 83.
BEGIN failed--compilation aborted at /usr/share/perl5/core_perl/FindBin.pm line 83.
Compilation failed in require at /volume1/@appstore/AdvancedPowerManager/bin/FixConfig.pl line 31.
BEGIN failed--compilation aborted at /volume1/@appstore/AdvancedPowerManager/bin/FixConfig.pl line 31.
Hope to use this great app again.
Last edit: Colton Lee 2014-03-12
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Colton,
thank you for reporting the issue. As I cannot run DSM 5.0 on my NAS, your help is greatly appreciated.
Looks like Synology removed the Cwd package from the Perl distribution, which is something really stupid.
You may workaround the issue for now by installing perl using ipkg.
Please drop me a private mail to investigate further.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Colton,
could you please give me the following;
- NAS model and hardware
- DSM release number
- Perl package version (must be installed as a dependency of AdvPowerMgr)
In a terminal, output of the given command (this lists the system packages used):
for m in Cwd FindBin File::Basename File::Path IO::Select IO::Socket LWP::UserAgent POSIX Scalar::Util Storable Symbol Time::Local ; do
perl -e "use $m;"
done
Last edit: Renaud Métrich 2014-03-12
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My NAS model: DS214 (with two 2TB HDD installed)
DSM release number: 5.0-4458
Perl package version: 5.18.1-0007 (package is provided by Synology)
The output of the given command (it keeps complaining that I need to install some module):
Can't locate Cwd.pm in @INC (you may need to install the Cwd module) (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
Can't locate Cwd.pm in @INC (you may need to install the Cwd module) (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /usr/share/perl5/core_perl/FindBin.pm line 83.
BEGIN failed--compilation aborted at /usr/share/perl5/core_perl/FindBin.pm line 83.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
Can't locate File/Path.pm in @INC (you may need to install the File::Path module) (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
Can't locate IO/Select.pm in @INC (you may need to install the IO::Select module) (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
Can't locate IO/Socket.pm in @INC (you may need to install the IO::Socket module) (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
Can't locate Time/Local.pm in @INC (you may need to install the Time::Local module) (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /usr/share/perl5/vendor_perl/HTTP/Date.pm line 11.
Compilation failed in require at /usr/share/perl5/vendor_perl/LWP/UserAgent.pm line 12.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/LWP/UserAgent.pm line 12.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
Can't locate POSIX.pm in @INC (you may need to install the POSIX module) (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
Can't locate Scalar/Util.pm in @INC (you may need to install the Scalar::Util module) (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
Can't locate Storable.pm in @INC (you may need to install the Storable module) (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
Can't locate Time/Local.pm in @INC (you may need to install the Time::Local module) (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
Although it looks like we live in different time zones, but I'll provide any help as quick as I can.
Last edit: Colton Lee 2014-03-13
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Seems like the Perl package is completely broken.
I have reports from users that it should run fine on DSM 5.0 also.
They upgraded from 4.3 to 5.0 and this conducted to Perl being updated to 5.18.1-007 on a DS214 also.
Please trying uninstalling and reinstalling Perl. Maybe you'll have to uninstall my app. You may save the config manually before removing the package (/var/package/Adv.../target/store/config).
If this doesn't help, please log a ticket to Synology about the Perl package with the output of the shell command above that shows no system package is installed.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Unfortunately on the Synology site, it seems like Perl 5.18.1-0007 is the current / only listed Perl package, I need to give it a shot and send you the logs when I get home today, but I'm posting it here for reference.
I guess I have no clue if it will work on DSM 5.0 though.
Update: got everything figured out, and everything is working as far as I can tell. The problem was pebkac - I was looking to hard for the settings and was confused with DSM 5.0.
Last edit: Keegan Jacobson 2014-03-13
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is it possible to have this working with the new DSM 5.0?
Probably, but I need help for this.
Is it working the latest 3.0.7 version on DSM 5? Is it safe to install? Is there a changelog of the version 3?
3.0.7 works perfectly on DSM 5.0 beta, so probably on DSM 5.0 also.
I cannot test since my model is not maintained anymore and it can only run DSM 4.2
I installed 3.0-7 with the latest official DSM 5 release for my DS212+, but I don't see it anywhere in the web interface to get to my settings/etc.
Could you please send me the log in private mail (/var/packages/AdvPowerMgr/target/store/log)
Hi, I've recently upgraded DSM from 5.0 Beta to 5.0.
When I tried to enable Advanced Power Manager, some message shown:
Can't locate Cwd.pm in @INC (you may need to install the Cwd module) (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /usr/share/perl5/core_perl/FindBin.pm line 83.
BEGIN failed--compilation aborted at /usr/share/perl5/core_perl/FindBin.pm line 83.
Compilation failed in require at /volume1/@appstore/AdvancedPowerManager/bin/FixConfig.pl line 31.
BEGIN failed--compilation aborted at /volume1/@appstore/AdvancedPowerManager/bin/FixConfig.pl line 31.
Hope to use this great app again.
Last edit: Colton Lee 2014-03-12
Hi Colton,
thank you for reporting the issue. As I cannot run DSM 5.0 on my NAS, your help is greatly appreciated.
Looks like Synology removed the Cwd package from the Perl distribution, which is something really stupid.
You may workaround the issue for now by installing perl using ipkg.
Please drop me a private mail to investigate further.
Hi Colton,
could you please give me the following;
- NAS model and hardware
- DSM release number
- Perl package version (must be installed as a dependency of AdvPowerMgr)
In a terminal, output of the given command (this lists the system packages used):
for m in Cwd FindBin File::Basename File::Path IO::Select IO::Socket LWP::UserAgent POSIX Scalar::Util Storable Symbol Time::Local ; do
perl -e "use $m;"
done
Last edit: Renaud Métrich 2014-03-12
Sure, glad to help.
My NAS model: DS214 (with two 2TB HDD installed)
DSM release number: 5.0-4458
Perl package version: 5.18.1-0007 (package is provided by Synology)
The output of the given command (it keeps complaining that I need to install some module):
Although it looks like we live in different time zones, but I'll provide any help as quick as I can.
Last edit: Colton Lee 2014-03-13
Seems like the Perl package is completely broken.
I have reports from users that it should run fine on DSM 5.0 also.
They upgraded from 4.3 to 5.0 and this conducted to Perl being updated to 5.18.1-007 on a DS214 also.
Please trying uninstalling and reinstalling Perl. Maybe you'll have to uninstall my app. You may save the config manually before removing the package (/var/package/Adv.../target/store/config).
If this doesn't help, please log a ticket to Synology about the Perl package with the output of the shell command above that shows no system package is installed.
Unfortunately on the Synology site, it seems like Perl 5.18.1-0007 is the current / only listed Perl package, I need to give it a shot and send you the logs when I get home today, but I'm posting it here for reference.
http://www.synology.com/en-us/support/download/DS212+#download_tabs_package
http://global.download.synology.com/download/spk/Perl/5.18.1-0007/Perl-88f628x-5.18.1-0007.spk
I looked under the downloads for the 209/209+ on the Synology website and got a link to the older Perl package - http://global.download.synology.com/download/spk/Perl/5.8.6-0003/Perl-ppc853x-5.8.6-0003.spk
I guess I have no clue if it will work on DSM 5.0 though.
Update: got everything figured out, and everything is working as far as I can tell. The problem was pebkac - I was looking to hard for the settings and was confused with DSM 5.0.
Last edit: Keegan Jacobson 2014-03-13