zoneminder on slackware 12.2
Posted: Fri May 28, 2010 10:41 am
i m trying to install zoneminder on slackware 12.2 bt i m facing little problems,
The steps i followed
1. ./configure --with-webdir= /var/www/html/zm --with-cgidir=/var/www/cgi-bin
2.mysql
create database zm;
mysql> exit;
mysql zm < db/zm_create.sql
3. mysql zm <db> grant select,insert,update,delete on zm.* to '<database>'@localhost identified by '<database>';
mysql> quit;
mysqladmin reload
4. make
5. make install
compiled successfully bt i m not able to find what s the problem
6. zmpkg.pl start
zmpkg.pl.start has generrated several errors below..
foverriding installed ./zm.conf file with local copy
DBI connect('database=zm;host=localhost','zmuser',...) failed: Access denied for user 'zmuser'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.10.0/ZoneMinder/Config.pm line 89
Can't call method "prepare_cached" on an undefined value at /usr/lib/perl5/site_perl/5.10.0/ZoneMinder/Config.pm line 91.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.10.0/ZoneMinder/Config.pm line 100.
Compilation failed in require at /usr/lib/perl5/site_perl/5.10.0/ZoneMinder.pm line 33.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.10.0/ZoneMinder.pm line 33.
Compilation failed in require at /usr/local/bin/zmpkg.pl line 45.
BEGIN failed--compilation aborted at /usr/local/bin/zmpkg.pl line 45.
Please help me thank u in advance.
The steps i followed
1. ./configure --with-webdir= /var/www/html/zm --with-cgidir=/var/www/cgi-bin
2.mysql
create database zm;
mysql> exit;
mysql zm < db/zm_create.sql
3. mysql zm <db> grant select,insert,update,delete on zm.* to '<database>'@localhost identified by '<database>';
mysql> quit;
mysqladmin reload
4. make
5. make install
compiled successfully bt i m not able to find what s the problem
6. zmpkg.pl start
zmpkg.pl.start has generrated several errors below..
foverriding installed ./zm.conf file with local copy
DBI connect('database=zm;host=localhost','zmuser',...) failed: Access denied for user 'zmuser'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.10.0/ZoneMinder/Config.pm line 89
Can't call method "prepare_cached" on an undefined value at /usr/lib/perl5/site_perl/5.10.0/ZoneMinder/Config.pm line 91.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.10.0/ZoneMinder/Config.pm line 100.
Compilation failed in require at /usr/lib/perl5/site_perl/5.10.0/ZoneMinder.pm line 33.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.10.0/ZoneMinder.pm line 33.
Compilation failed in require at /usr/local/bin/zmpkg.pl line 45.
BEGIN failed--compilation aborted at /usr/local/bin/zmpkg.pl line 45.
Please help me thank u in advance.