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?
'perl zmconfig.pl' gives an error
Re: 'perl zmconfig.pl' gives an error
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
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)
I'll get back to it in a week or so (I'm going on vacation)
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Re: 'perl zmconfig.pl' gives an error
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,
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,