'perl zmconfig.pl' gives an error

Support and queries relating to all previous versions of ZoneMinder
Locked
swat
Posts: 10
Joined: Mon Sep 29, 2003 9:40 pm

'perl zmconfig.pl' gives an error

Post 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?
laps
Posts: 6
Joined: Wed Oct 15, 2003 5:32 pm

Re: 'perl zmconfig.pl' gives an error

Post 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.
swat
Posts: 10
Joined: Mon Sep 29, 2003 9:40 pm

Re: 'perl zmconfig.pl' gives an error

Post 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)
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: 'perl zmconfig.pl' gives an error

Post 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,
Locked