Installation is from source. I've managed to configure it, after installing a whole bunch of Perl modules from CPAN until the 'configure' script stopped complaining. I've also placed the ffmpeg headers in places where ZoneMinder is looking for them.
I've managed to create the corresponding database and user on MySQL.
When trying to run zmpkg.pl, I get the following:
Code: Select all
Use of uninitialized value in transliteration (tr///) at /usr/lib/perl5/site_perl/5.10.0/ZoneMinder/Config.pm line 82, <CONFIG> line 50.
Can't use an undefined value as a symbol reference at /usr/lib/perl5/site_perl/5.10.0/ZoneMinder/Config.pm line 83, <CONFIG> line 50.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.10.0/ZoneMinder/Config.pm line 100, <CONFIG> line 50.
Compilation failed in require at /usr/lib/perl5/site_perl/5.10.0/ZoneMinder.pm line 33, <CONFIG> line 50.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.10.0/ZoneMinder.pm line 33, <CONFIG> line 50.
Compilation failed in require at /usr/bin/zmpkg.pl line 45, <CONFIG> line 50.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 45, <CONFIG> line 50.
Is anything in my box incompatible, am I missing any package anywhere, or have I missed any step in the installation process by any chance?
Many thanks for any suggestions.
P.S. One more thing, in case it is significant. This is what I've used for the config command:
Code: Select all
./configure --with-webdir=/srv/www/htdocs --with-cgidir=/srv/www/cgi-bin --prefix=/usr --sysconfdir=/etc ZM_DB_PASS=zmpass ZM_DB_NAME=zm