Page 1 of 1

'perl zmconfig.pl' gives an error

Posted: Wed Oct 15, 2003 2:27 pm
by swat
I finally came to a point where I installed all needed files (including devMySQL and devJPEG etc.) then I finally could compile/install zoneminder.
I configured it with: "./configure --with-mysql=/usr/local/mysql-standard-4.1.0-alpha-pc-linux-i686/ --with-webdir=/var/www/html --with-cgidir=/var/www/cgi-bin"

Then I wanted to configure it with "perl zmconfig.pl" but it gave this error:
"Can't locate DBI.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.1/i686-linux /usr/local/lib/perl5/5.8.1 /usr/local/lib/perl5/site_perl/5.8.1/i686-linux /usr/local/lib/perl5/site_perl/5.8.1 /usr/local/lib/perl5/site_perl .) at zmconfig.pl line 31.
BEGIN failed--compilation aborted at zmconfig.pl line 31."

HELP?

Re: 'perl zmconfig.pl' gives an error

Posted: Wed Oct 15, 2003 5:38 pm
by laps
Maybe you need the mysql perl library. I Installed mine from the RH9 cd #2 , it was called perl-DBD-Mysql-????????.rpm . I hope this helps.

Re: 'perl zmconfig.pl' gives an error

Posted: Thu Oct 16, 2003 7:56 am
by swat
Hmm... I'll try it (I'll download it from mysql.com)
I'll get back to it in a week or so (I'm going on vacation)

Re: 'perl zmconfig.pl' gives an error

Posted: Thu Oct 23, 2003 11:09 am
by zoneminder
Hi Sebastian,

I would recommend using the perl CPAN module to install perl modules. This is described in the README (search for CPAN). The modules you should try and install are DBI and DBD::mysql

Cheers,

Phil,