DBD::mysql::dr::imp_data_size unexpectedly at C:/Perl/lib/DBI.pm

Posted by raghujyoti on 2009-01-28 00:43
Forums: PPM | OS: Windows Vista

Hi all,

while i am installing Bugzilla in windows i am encountered following error while running checksetup.pl

i have followed as per instructions
https://wiki.mozilla.org/Bugzilla:Win32Install

i have installed manually dbd-mysql perl module and I am getting below Errorl please give me the right solultion

Had to create DBD::mysql::dr::imp_data_size unexpectedly at C:/Perl/lib/DBI.pm line 1190.
Use of uninitialized value in subroutine entry at C:/Perl/lib/DBI.pm line 1190.
Had to create DBD::mysql::db::imp_data_size unexpectedly at C:/Perl/lib/DBI.pm line 1190.
Use of uninitialized value in subroutine entry at C:/Perl/lib/DBI.pm line 1190.
Undefined subroutine &DBD::mysql::db::_login called at C:/Perl/lib/DBD/mysql.pm line 142.

complete list while i run checksetup.pl

C:\Bugzilla>checksetup.pl
* This is Bugzilla 3.2 on perl 5.8.8
* Running on WinVista Build 6001 (Service Pack 1)
Checking perl modules...
Checking for CGI.pm (v3.21) ok: found v3.42
Checking for TimeDate (v2.21) ok: found v2.22
Checking for PathTools (v0.84) ok: found v3.12
Checking for DBI (v1.41) ok: found v1.52
Checking for Template-Toolkit (v2.15) ok: found v2.20
Checking for Email-Send (v2.16) ok: found v2.194
Checking for Email-MIME (v1.861) ok: found v1.861
Checking for Email-MIME-Modifier (v1.442) ok: found v1.442
Checking available perl DBD modules...
Checking for DBD-Pg (v1.45) not found
Checking for DBD-mysql (v4.00) ok: found v4.010
Checking for DBD-Oracle (v1.19) not found
The following Perl modules are optional:
Checking for GD (v1.20) not found
Checking for Chart (v1.0) not found
Checking for Template-GD (any) not found
Checking for GDTextUtil (any) not found
Checking for GDGraph (any) not found
Checking for XML-Twig (any) not found
Checking for MIME-tools (v5.406) not found
Checking for libwww-perl (any) ok: found v2.033
Checking for PatchReader (v0.9.4) not found
Checking for PerlMagick (any) not found
Checking for perl-ldap (any) not found
Checking for Authen-SASL (any) not found
Checking for RadiusPerl (any) not found
Checking for SOAP-Lite (any) ok: found v0.55
Checking for HTML-Parser (v3.40) ok: found v3.56
Checking for HTML-Scrubber (any) not found
Checking for Email-MIME-Attachment-Stripper (any) not found
Checking for Email-Reply (any) not found
Checking for mod_perl (v1.999022) not found
Checking for CGI.pm (v3.11) ok: found v3.42
* NOTE: You must run any commands listed below as Administrator.
***********************************************************************
* Note For Windows Users *
***********************************************************************
* In order to install the modules listed below, you first have to run *
* the following command as an Administrator: *
* *
* ppm repo add theory58S http://theoryx5.uwinnipeg.ca/ppms
* *
***********************************************************************
**********************************************************************
* OPTIONAL MODULES *
**********************************************************************
* Certain Perl modules are not required by Bugzilla, but by *
* installing the latest version you gain access to additional *
* features. *
* *
* The optional modules you do not have installed are listed below, *
* with the name of the feature they enable. If you want to install *
* one of these modules, just run the appropriate command in the *
* "COMMANDS TO INSTALL" section. *
**********************************************************************
***********************************************************************
* MODULE NAME * ENABLES FEATURE(S) *
***********************************************************************
* GD * Graphical Reports, New Charts, Old Charts *
* Chart * New Charts, Old Charts *
* Template-GD * Graphical Reports *
* GDTextUtil * Graphical Reports *
* GDGraph * Graphical Reports *
* XML-Twig * Move Bugs Between Installations *
* MIME-tools * Move Bugs Between Installations *
* PatchReader * Patch Viewer *
* PerlMagick * Optionally Convert BMP Attachments to PNGs *
* perl-ldap * LDAP Authentication *
* Authen-SASL * SMTP Authentication *
* RadiusPerl * RADIUS Authentication *
* HTML-Scrubber * More HTML in Product/Group Descriptions *
* Email-MIME-Attachment-Stripper * Inbound Email *
* Email-Reply * Inbound Email *
* mod_perl * mod_perl *
***********************************************************************
COMMANDS TO INSTALL:
GD: ppm install GD
Chart: ppm install Chart
Template-GD: ppm install Template-GD
GDTextUtil: ppm install GDTextUtil
GDGraph: ppm install GDGraph
XML-Twig: ppm install XML-Twig
MIME-tools: ppm install MIME-tools
PatchReader: ppm install PatchReader
PerlMagick: ppm install PerlMagick
perl-ldap: ppm install perl-ldap
Authen-SASL: ppm install Authen-SASL
RadiusPerl: ppm install RadiusPerl
HTML-Scrubber: ppm install HTML-Scrubber
Email-MIME-Attachment-Stripper: ppm install Email-MIME-Attachment-Stripper
Email-Reply: ppm install Email-Reply
mod_perl: ppm install mod_perl
Reading ./localconfig...
OPTIONAL NOTE: If you want to be able to use the 'difference between two
patches' feature of Bugzilla (which requires the PatchReader Perl module
as well), you should install patchutils from:
http://cyberelk.net/tim/patchutils/
Checking for DBD-mysql (v4.00) ok: found v4.010
Had to create DBD::mysql::dr::imp_data_size unexpectedly at C:/Perl/lib/DBI.pm line 1190.
Use of uninitialized value in subroutine entry at C:/Perl/lib/DBI.pm line 1190.
Had to create DBD::mysql::db::imp_data_size unexpectedly at C:/Perl/lib/DBI.pm line 1190.
Use of uninitialized value in subroutine entry at C:/Perl/lib/DBI.pm line 1190.
Undefined subroutine &DBD::mysql::db::_login called at C:/Perl/lib/DBD/mysql.pm line 142.

Thanks
Raghavendra

KevinADC | Wed, 2009-01-28 13:45

Looks like you need to install a bunch of other modules. I would also use PPM to install DBD::mysql, not sure what you mean you installed it "manually".

grahams
ActiveState Staff
Wed, 2009-02-18 09:39

Bugzilla has a whole set of modules which it needs or recommends. A manual installation may have missed cross-dependencies. You also need to be aware that there are linkages between Bugzilla versions and specific versions of the modules. Bugzilla's website has information on this, but it may not be entirely up to date. Their support forums are probably your best option.