DBD::mysql exists, but not seen by checksetup.pl




Installation & Upgrading
8 years ago
8 years ago


(Reporter: Ray Kiddy, Unassigned)


Mac OS X




8 years ago
On the one had, I try to install DBD::mysql and cpan say that it is already there. But checksetup.pl does not see it. Why not?

- ray

labs:~ admin$ sudo sh 
sh-3.2# cpan
Terminal does not support AddHistory.

cpan shell -- CPAN exploration and modules installation (v1.9301)
ReadLine support available (maybe install Bundle::CPAN or Bundle::CPANxxl?)
cpan[1]> install DBD::mysql
DBD::mysql is up to date (4.013).

cpan[2]> quit
Terminal does not support GetHistory.
Lockfile removed.

sh-3.2# cd bugzilla-3.4.5
sh-3.2# ./checksetup.pl 
* This is Bugzilla 3.4.5 on perl 5.10.0
* Running on Darwin 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov  3 10:35:19 PST 2009; root:xnu-1486.2.11~1/RELEASE_X86_64

Checking perl modules...
Checking for              CGI.pm (v3.33)   ok: found v3.49 
Checking for          Digest-SHA (any)     ok: found v5.48 
Checking for            TimeDate (v2.21)   ok: found v2.24 
Checking for            DateTime (v0.28)   ok: found v0.53 
Checking for   DateTime-TimeZone (v0.71)   ok: found v1.10 
Checking for                 DBI (v1.41)   ok: found v1.609 
Checking for    Template-Toolkit (v2.22)   ok: found v2.22 
Checking for          Email-Send (v2.00)   ok: found v2.198 
Checking for          Email-MIME (v1.861)  ok: found v1.903 
Checking for Email-MIME-Encodings (v1.313)  ok: found v1.313 
Checking for Email-MIME-Modifier (v1.442)  ok: found v1.903 
Checking for                 URI (any)     ok: found v1.37 

Checking available perl DBD modules...
Checking for              DBD-Pg (v1.45)    not found 
Checking for           DBD-mysql (v4.00)    not found 
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)  ok: found v5.427 
Checking for         libwww-perl (any)     ok: found v5.813 
Checking for         PatchReader (v0.9.4)   not found 
Checking for          PerlMagick (any)      not found 
Checking for           perl-ldap (any)     ok: found v0.36 
Checking for         Authen-SASL (any)     ok: found v2.12 
Checking for          RadiusPerl (any)      not found 
Checking for           SOAP-Lite (v0.710.06)  not found 
Checking for         HTML-Parser (v3.40)   ok: found v3.59 
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         TheSchwartz (any)      not found 
Checking for      Daemon-Generic (any)      not found 
Checking for            mod_perl (v1.999022) ok: found v2.000004 
* DATABASE ACCESS                                                     *
* In order to access your database, Bugzilla requires that the        *
* correct "DBD" module be installed for the database that you are     *
* running. See below for the correct command to run to install the    *
* appropriate module for your database.                               *
* 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. Below that table are the  *
* commands to install each module.                                    *
*                    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    *
*                    PatchReader * Patch Viewer                       *
*                     PerlMagick * Optionally Convert BMP Attachments to PNGs *
*                     RadiusPerl * RADIUS Authentication              *
*                      SOAP-Lite * XML-RPC Interface                  *
*                  HTML-Scrubber * More HTML in Product/Group Descriptions *
* Email-MIME-Attachment-Stripper * Inbound Email                      *
*                    Email-Reply * Inbound Email                      *
*                    TheSchwartz * Mail Queueing                      *
*                 Daemon-Generic * Mail Queueing                      *

             GD: /usr/bin/perl install-module.pl GD
          Chart: /usr/bin/perl install-module.pl Chart::Base
    Template-GD: /usr/bin/perl install-module.pl Template::Plugin::GD::Image
     GDTextUtil: /usr/bin/perl install-module.pl GD::Text
        GDGraph: /usr/bin/perl install-module.pl GD::Graph
       XML-Twig: /usr/bin/perl install-module.pl XML::Twig
    PatchReader: /usr/bin/perl install-module.pl PatchReader
     PerlMagick: /usr/bin/perl install-module.pl Image::Magick
     RadiusPerl: /usr/bin/perl install-module.pl Authen::Radius
      SOAP-Lite: /usr/bin/perl install-module.pl SOAP::Lite
  HTML-Scrubber: /usr/bin/perl install-module.pl HTML::Scrubber
Email-MIME-Attachment-Stripper: /usr/bin/perl install-module.pl Email::MIME::Attachment::Stripper
    Email-Reply: /usr/bin/perl install-module.pl Email::Reply
    TheSchwartz: /usr/bin/perl install-module.pl TheSchwartz
 Daemon-Generic: /usr/bin/perl install-module.pl Daemon::Generic

YOU MUST RUN ONE OF THE FOLLOWING COMMANDS (depending on which database
you use):

PostgreSQL: /usr/bin/perl install-module.pl DBD::Pg
     MySQL: /usr/bin/perl install-module.pl DBD::mysql
    Oracle: /usr/bin/perl install-module.pl DBD::Oracle

To attempt an automatic install of every required and optional module
with one command, do:

  /usr/bin/perl install-module.pl --all


Comment 1

8 years ago
OS is Mac OS X Server, 10.6.2.

Comment 2

8 years ago
  Hey Ray. This is a support question, instead of actually a bug in Bugzilla. For help with your issue, try using the support resources described at:

Last Resolved: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.