zm and perl 5.10
Posted: Tue Mar 18, 2008 5:34 pm
Looks like some things do not work well with perl 5.10
[root@cctv ~]# zmupdate.pl -v 1.23.1
Bareword found in conditional at /usr/bin/zmupdate.pl line 152.
Bareword "ZM_DYN_DB_VERSION" not allowed while "strict subs" in use at /usr/bin/zmupdate.pl line 354.
BEGIN not safe after errors--compilation aborted at /usr/bin/zmupdate.pl line 536.
[root@cctv ~]# perl --version
This is perl, v5.10.0 built for i686-pld-linux-thread-multi
Even more:
Bareword found in conditional at /usr/bin/zmupdate.pl line 152.
Bareword "ZM_CHECK_FOR_UPDATES" not allowed while "strict subs" in use at /usr/bin/zmupdate.pl line 117.
Bareword "ZM_DYN_CURR_VERSION" not allowed while "strict subs" in use at /usr/bin/zmupdate.pl line 121.
Bareword "ZM_DYN_LAST_VERSION" not allowed while "strict subs" in use at /usr/bin/zmupdate.pl line 122.
Bareword "ZM_DYN_LAST_CHECK" not allowed while "strict subs" in use at /usr/bin/zmupdate.pl line 123.
Bareword "ZM_EMAIL_TEXT" not allowed while "strict subs" in use at /usr/bin/zmupdate.pl line 617.
Bareword "ZM_MESSAGE_TEXT" not allowed while "strict subs" in use at /usr/bin/zmupdate.pl line 627.
Execution of /usr/bin/zmupdate.pl aborted due to compilation errors.
or
Bareword "ZM_SHM_KEY" not allowed while "strict subs" in use at /usr/share/perl5/vendor_perl/ZoneMinder/SharedMem.pm line 225.
Compilation failed in require at /usr/share/perl5/vendor_perl/ZoneMinder.pm line 37.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/ZoneMinder.pm line 37.
Compilation failed in require at /usr/bin/zmpkg.pl line 45.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 45.
or
Bareword "ZM_MAX_RESTART_DELAY" not allowed while "strict subs" in use at /usr/bin/zmdc.pl line 577.
Bareword "ZM_MAX_RESTART_DELAY" not allowed while "strict subs" in use at /usr/bin/zmdc.pl line 579.
[root@cctv ~]# zmupdate.pl -v 1.23.1
Bareword found in conditional at /usr/bin/zmupdate.pl line 152.
Bareword "ZM_DYN_DB_VERSION" not allowed while "strict subs" in use at /usr/bin/zmupdate.pl line 354.
BEGIN not safe after errors--compilation aborted at /usr/bin/zmupdate.pl line 536.
[root@cctv ~]# perl --version
This is perl, v5.10.0 built for i686-pld-linux-thread-multi
Even more:
Bareword found in conditional at /usr/bin/zmupdate.pl line 152.
Bareword "ZM_CHECK_FOR_UPDATES" not allowed while "strict subs" in use at /usr/bin/zmupdate.pl line 117.
Bareword "ZM_DYN_CURR_VERSION" not allowed while "strict subs" in use at /usr/bin/zmupdate.pl line 121.
Bareword "ZM_DYN_LAST_VERSION" not allowed while "strict subs" in use at /usr/bin/zmupdate.pl line 122.
Bareword "ZM_DYN_LAST_CHECK" not allowed while "strict subs" in use at /usr/bin/zmupdate.pl line 123.
Bareword "ZM_EMAIL_TEXT" not allowed while "strict subs" in use at /usr/bin/zmupdate.pl line 617.
Bareword "ZM_MESSAGE_TEXT" not allowed while "strict subs" in use at /usr/bin/zmupdate.pl line 627.
Execution of /usr/bin/zmupdate.pl aborted due to compilation errors.
or
Bareword "ZM_SHM_KEY" not allowed while "strict subs" in use at /usr/share/perl5/vendor_perl/ZoneMinder/SharedMem.pm line 225.
Compilation failed in require at /usr/share/perl5/vendor_perl/ZoneMinder.pm line 37.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/ZoneMinder.pm line 37.
Compilation failed in require at /usr/bin/zmpkg.pl line 45.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 45.
or
Bareword "ZM_MAX_RESTART_DELAY" not allowed while "strict subs" in use at /usr/bin/zmdc.pl line 577.
Bareword "ZM_MAX_RESTART_DELAY" not allowed while "strict subs" in use at /usr/bin/zmdc.pl line 579.