Today I tried to upgrade my current setup from 1.26.4 to 1.26.5.
The compilation runs ok without any error's but at the moment I want to upgrade the database to the latest version or the start it generates several errors:
zmupdate.pl --user=USER_NAME--pass=MYSQL_PASSWORD
Code: Select all
Use of uninitialized value in transliteration (tr///) at /usr/local/lib64/perl5/ZoneMinder/Config.pm line 82, <CONFIG> line 51.
Can't use an undefined value as a symbol reference at /usr/local/lib64/perl5/ZoneMinder/Config.pm line 83, <CONFIG> line 51.
BEGIN failed--compilation aborted at /usr/local/lib64/perl5/ZoneMinder/Config.pm line 100, <CONFIG> line 51.
Compilation failed in require at /usr/local/bin/zmupdate.pl line 47, <CONFIG> line 51.
BEGIN failed--compilation aborted at /usr/local/bin/zmupdate.pl line 47, <CONFIG> line 51.
The error output then indicates this:
Code: Select all
Bareword "ZM_VERSION" not allowed while "strict subs" in use at /usr/local/bin/zmupdate.pl line 134.
Bareword "ZM_VERSION" not allowed while "strict subs" in use at /usr/local/bin/zmupdate.pl line 150.
Bareword "ZM_VERSION" not allowed while "strict subs" in use at /usr/local/bin/zmupdate.pl line 360.
Bareword "ZM_VERSION" not allowed while "strict subs" in use at /usr/local/bin/zmupdate.pl line 366.
Bareword "ZM_VERSION" not allowed while "strict subs" in use at /usr/local/bin/zmupdate.pl line 475.
Bareword "ZM_VERSION" not allowed while "strict subs" in use at /usr/local/bin/zmupdate.pl line 1036.
Bareword "ZM_VERSION" not allowed while "strict subs" in use at /usr/local/bin/zmupdate.pl line 1047.
Execution of /usr/local/bin/zmupdate.pl aborted due to compilation errors.