Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Perl API version v5.14.0 of DBI does not match v5.16.0 at /usr/local/lib/perl5/5.16/mach/DynaLoader.pm

653 views
Skip to first unread message

Thomas Kindig

unread,
Jan 18, 2015, 6:39:04 PM1/18/15
to
I have Bugzilla 4.1.1 installed on a FreeBSD 8, recently updated to 8.4. I seem to have pooched the PERL interfaces in my Bugzilla installation by updating Perl5 to 5.16.0.

I run checksettings.pl and I am prompted to install many of the modules that I once installed. All except the DBD::mysql module appear to complete ok.
However,

tickets]# /usr/local/bin/perl5 install-module.pl DBD::mysql
Checking for CPAN (v1.81) ok: found v1.98
Checking for YAML (any) ok: found v0.84
Checking for ExtUtils-MakeMaker (v6.31) ok: found v6.82
Reading '/root/.cpan/Metadata'
Database was generated on Sun, 18 Jan 2015 15:53:45 GMT
Installing DBD::mysql version 4.029...
Running install for module 'DBD::mysql'
Running make for C/CA/CAPTTOFU/DBD-mysql-4.029.tar.gz
Checksum for /root/.cpan/source/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.029.tar.gz ok

CPAN.pm: Building C/CA/CAPTTOFU/DBD-mysql-4.029.tar.gz

Perl API version v5.14.0 of DBI does not match v5.16.0 at /usr/local/lib/perl5/5.16/mach/DynaLoader.pm line 213.
BEGIN failed--compilation aborted at /usr/local/www/tickets/lib/amd64-freebsd-thread-multi/DBI.pm line 278.
Compilation failed in require at /usr/local/www/tickets/lib/amd64-freebsd-thread-multi/DBI/DBD.pm line 3285.
BEGIN failed--compilation aborted at /usr/local/www/tickets/lib/amd64-freebsd-thread-multi/DBI/DBD.pm line 3286.
Compilation failed in require at Makefile.PL line 13.
Warning: No success on command[/usr/local/bin/perl5 Makefile.PL LIB="/usr/local/www/tickets/lib" INSTALLMAN1DIR="/usr/local/www/tickets/lib/man/man1" INSTALLMAN3DIR="/usr/local/www/tickets/lib/man/man3" INSTALLBIN="/usr/local/www/tickets/lib/bin" INSTALLSCRIPT="/usr/local/www/tickets/lib/bin" INSTALLDIRS=perl]
CAPTTOFU/DBD-mysql-4.029.tar.gz
/usr/local/bin/perl5 Makefile.PL LIB="/usr/local/www/tickets/lib" INSTALLMAN1DIR="/usr/local/www/tickets/lib/man/man1" INSTALLMAN3DIR="/usr/local/www/tickets/lib/man/man3" INSTALLBIN="/usr/local/www/tickets/lib/bin" INSTALLSCRIPT="/usr/local/www/tickets/lib/bin" INSTALLDIRS=perl -- NOT OK
Skipping test because of notest pragma
Running make install
Make had some problems, won't install
Could not read metadata file. Falling back to other methods to determine prerequisites

When I subsequently run checksettings.pl, the very same list of missing modules appear. I am an occasional PERL user who does not know a lot about the configuration of Perl. Do you have a suggestion of what is wrong here and how I might fix it?

Thomas Kindig

unread,
Jan 18, 2015, 7:43:31 PM1/18/15
to
I am upgrading CPAN to see if that fixes it.

Thorsten Schöning

unread,
Jan 19, 2015, 2:57:10 AM1/19/15
to support-...@lists.mozilla.org
Guten Tag Thomas Kindig,
am Montag, 19. Januar 2015 um 00:39 schrieben Sie:

> Perl API version v5.14.0 of DBI does not match v5.16.0 at
> /usr/local/lib/perl5/5.16/mach/DynaLoader.pm line 213.
[...]
> When I subsequently run checksettings.pl, the very same list of
> missing modules appear. I am an occasional PERL user who does not
> know a lot about the configuration of Perl. Do you have a suggestion
> of what is wrong here and how I might fix it?

Did you use install-module.pl do install packages into Bugzilla's
private lib folder? If so, empty this folder and reinstall the
packages needed. And this time I would suggest to only use your
package manager to install the packages and ignore anything it doesn't
provide and you don't need because exactly of the problem you have
now: By bypassing the package manager using CPAN or install-module.pl,
which uses CPAN if I remember correctly, it can't install newer
versions of your packages compatible with newer versions of your Perl
automatically anymore.

Mit freundlichen Grüßen,

Thorsten Schöning

--
Thorsten Schöning E-Mail: Thorsten....@AM-SoFT.de
AM-SoFT IT-Systeme http://www.AM-SoFT.de/

Telefon...........05151- 9468- 55
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow

Thomas Kindig

unread,
Jan 20, 2015, 5:59:36 PM1/20/15
to
Danke Thorsten,
Your suggestion is very welcome. I upgraded perl this morning while troubleshooting and now I am on

* This is Bugzilla 4.4.1 on perl 5.18.4
* Running on FreeBSD 8.4-RELEASE-p19 FreeBSD 8.4-RELEASE-p19 #0: Mon Nov 3 17:12:38 UTC 2014

I will work out which is the private directory and clear it out. As for the rest of the packages, can you tell me the best reference for how these are named in my ports collection?

Kindest regards,
Thomas

Thomas Kindig

unread,
Jan 20, 2015, 6:11:47 PM1/20/15
to
On Tuesday, January 20, 2015 at 3:59:36 PM UTC-7, Thomas Kindig wrote:
> As for the rest of the packages, can you tell me the best reference for how these are named in my ports collection?

I learned how to do this, thanks!

Thomas Kindig

unread,
Jan 22, 2015, 11:38:24 AM1/22/15
to
I managed to upgrade-reinstall all of perl5 and p5- ports. No errors now. I am running checksetup.pl again and it shows the same warnings as before.

* This is Bugzilla 4.4.1 on perl 5.18.4
* Running on FreeBSD 8.4-RELEASE-p19 FreeBSD 8.4-RELEASE-p19 #0: Mon Nov 3 17:12:38 UTC 2014

Checking perl modules...
Checking for CGI.pm (v3.51) ok: found v3.63
Checking for Digest-SHA (any) ok: found v5.95
Checking for TimeDate (v2.23) ok: found v2.24
Checking for DateTime (v0.28) ok: found v1.18
Checking for DateTime-TimeZone (v0.71) ok: found v1.83
Checking for DBI (v1.614) ok: found v1.633
Checking for Template-Toolkit (v2.22) not found
Checking for Email-Send (v2.04) ok: found v2.199
Checking for Email-MIME (v1.904) ok: found v1.928
Checking for URI (v1.37) ok: found v1.65
Checking for List-MoreUtils (v0.32) ok: found v0.402
Checking for Math-Random-ISAAC (v1.0.1) ok: found v1.004

Checking available perl DBD modules...
Checking for DBD-mysql (v4.001) ok: found v4.029
Checking for DBD-Pg (v2.7.0) not found
Checking for DBD-Oracle (v1.19) not found
Checking for DBD-SQLite (v1.29) not found

The following Perl modules are optional:
Checking for GD (v1.20) ok: found v2.56
Checking for Chart (v2.1) ok: found v2.4.8
Checking for Template-GD (any) not found
Checking for GDTextUtil (any) ok: found v0.86
Checking for GDGraph (any) ok: found v1.48
Checking for MIME-tools (v5.406) not found
Checking for libwww-perl (any) not found
Checking for XML-Twig (any) not found
Checking for PatchReader (v0.9.6) ok: found v0.9.6
Checking for perl-ldap (any) not found
Checking for Authen-SASL (any) ok: found v2.16
Checking for Net-SMTP-SSL (v1.01) not found
Checking for RadiusPerl (any) not found
Checking for SOAP-Lite (v0.712) not found
Checking for XMLRPC-Lite (v0.712) not found
Checking for JSON-RPC (any) not found
Checking for JSON-XS (v2.0) not found
Checking for Test-Taint (any) not found
Checking for HTML-Parser (v3.67) ok: found v3.71
Checking for HTML-Scrubber (any) ok: found v0.11
Checking for Encode (v2.21) ok: found v2.67
Checking for Encode-Detect (any) ok: found v1.01
Checking for Email-Reply (any) not found
Checking for HTML-FormatText-WithLinks (v0.13) not found
Checking for TheSchwartz (v1.07) not found
Checking for Daemon-Generic (any) not found
Checking for mod_perl (v1.999022) not found
Checking for Apache-SizeLimit (v0.96) not found
Checking for File-MimeInfo (any) not found
Checking for IO-stringy (any) not found

So, following the prompt to install everything?

Thorsten Schöning

unread,
Jan 22, 2015, 11:53:59 AM1/22/15
to support-...@lists.mozilla.org
Guten Tag Thomas Kindig,
am Donnerstag, 22. Januar 2015 um 17:38 schrieben Sie:

> So, following the prompt to install everything?

You only seem to NEED Template-Toolkit, everything else may be
something you WANT. So I would start with what you need using your
package manager or do you already know it doesn't provide the "not
found"-packages?

If you use install-module.pl now you will run into the same problem as
now if you upgrade your Perl in the future again. So you should at
least remember the solution of emptying the "lib" folder.
0 new messages