Upgrading from 1.22.3

Forum for questions and support relating to the 1.24.x releases only.
Locked
ricks03

Upgrading from 1.22.3

Post by ricks03 »

Currently running 1.22.3 on CentOS 5.1

If I download 1.24.1 (or for that matter 1.23.3) and run configure, make, make install, when I start the service (under CentOS) it fails with the error:
Starting ZoneMinder: Bareword "ZM_USE_DEEP_STORAGE" not allowed while "strict subs" in use at /usr/lib/perl5/site_perl/5.8.8/ZoneMinder/General.pm line 95.
BEGIN not safe after errors--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/ZoneMinder/General.pm line 113.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/ZoneMinder.pm line 35.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/ZoneMinder.pm line 35.
Compilation failed in require at /usr/local/bin/zmpkg.pl line 45.
BEGIN failed--compilation aborted at /usr/local/bin/zmpkg.pl line 45.


If I go back and reinstall 1.22.3 it works fine.

My ./configure line is:
./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zmuser ZM_DB_PASS=zmpass --with-mysql=/usr/lib64/mysql -with-extralibs="-L/usr/lib64 -L/usr/lib64/mysql"


Googling for ZM_USE_DEEP_STORAGE turns up only two posts which don't appear to resolve my problem.

Anyone?
ricks03

Post by ricks03 »

I still don't know what's broken, but I did finally work around it. the problem appears to be something within the 1.22.3 database (probably the value of ZM_USE_DEEP_STORAGE somewhere).

I finally backed up the database, (screen captured all the config data as well), deleted the database, installed 1.24.1 from scratch, and reentered all the config data.

that at least gets service zm start to start the service.
Locked