I am trying to install ZoneMinder, and it fails during configure here:
Quote:
checking for perl module DBI... no
configure: error: zm requires DBI
==> ERROR: A failure occurred in build().
Aborting...
|
So I query perl and get this:
Quote:
$ perl -MDBI
Perl API version v5.14.0 of DBI does not match v5.16.0 at /usr/lib/perl5/core_perl/DynaLoader.pm line 213.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/DBI.pm line 266.
Compilation failed in require.
BEGIN failed--compilation aborted.
|
Perl is indeed v5.16.0 as noted by these:
Quote:
$ perl --version
This is perl 5, version 16, subversion 0 (v5.16.0) built for x86_64-linux-thread-multi
|
Quote:
$ pacman -Q perl
perl 5.16.0-2
|
And perl-dbi is the latest version as noted here:
Quote:
$ pacman -Q perl-dbi
perl-dbi 1.618-2
|
Quote:
$ sudo perl -MCPAN -e shell
Terminal does not support AddHistory.
cpan shell -- CPAN exploration and modules installation (v1.9800)
Enter 'h' for help.
cpan[1]> install DBI
Reading '/root/.cpan/Metadata'
Database was generated on Sat, 09 Jun 2012 12:39:03 GMT
DBI is up to date (1.622).
|
I have zero experience with Perl, so can anyone tell me what I'm doing wrong here? It does look like there is a difference in versions (1.622 from CPAN and 1.618-2 from pacman) but I don't know how to go about fixing it.
Thank you in advance.