checksetup fails on DBD::mysql

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

checksetup fails on DBD::mysql

chaos_5
Hi all, I'm trying to install bugzilla 2.18.1 and having what seems to
be a popular problem - an error related to DBD::mysql.  I don't want to
ask a question already answered and I've found this question on this
list a few times, but I haven't been able to find the answer.  Really
hoping for some help!  I'm running the check setup module and getting
an error on DBD::mysql.

my system...
OS Fedora Core 2
perl v 5.8.3
mysql Ver 12.22 Distrib 4.0.21, for pc-linux (i686)
apache http server 2.0

1.  I run ./checksetup.pl and get

...
Checking for      DBD::mysql (v2.1010)  not found
...
Bugzilla requires some Perl modules which are either missing from your
system, or the version on your system is too old.
They can be installed by running (as root) the following:
   /usr/bin/perl -MCPAN -e 'install "DBD::mysql"'
   Minimum version required: 2.1010


2.  So then I run /usr/bin/perl -MCPAN -e 'install "DBD::mysql"'
 and get

...
Cannot find the file 'mysql_config'! Your execution PATH doesn't seem
not contain the path to mysql_config. Resorting to guessed values!
...


I have no mysql.h that I can see and that seems to be a problem.

I'm getting deeper into linux admin than my little brain can handle.
Ahhh!  Someone help me before my head goes - err, um, pop!

oh, and a full print of the commands output is below

many thx
Eric



********************************************************
./checksetup.pl

Checking perl modules ...
Checking for       AppConfig (v1.52)   ok: found v1.56
Checking for             CGI (v2.93)   ok: found v3.10
Checking for    Data::Dumper (any)     ok: found v2.121
Checking for    Date::Format (v2.21)   ok: found v2.22
Checking for             DBI (v1.36)   ok: found v1.48
*** Checking for      DBD::mysql (v2.1010)  not found ***
Checking for      File::Spec (v0.82)   ok: found v3.08
Checking for      File::Temp (any)     ok: found v0.16
Checking for        Template (v2.08)   ok: found v2.14
Checking for      Text::Wrap (v2001.0131) ok: found v2001.09291


The following Perl modules are optional:
Checking for              GD (v1.20)    not found
Checking for     Chart::Base (v1.0)     not found
Checking for     XML::Parser (any)     ok: found v2.34
Checking for       GD::Graph (any)      not found
Checking for GD::Text::Align (any)      not found
Checking for     PatchReader (v0.9.4)  ok: found v0.9.5


If you you want to see graphical bug charts (plotting historical data
over
time), you should install libgd and the following Perl modules:


GD:          /usr/bin/perl -MCPAN -e 'install "GD"'
Chart:       /usr/bin/perl -MCPAN -e 'install "Chart::Base"'


If you you want to see graphical bug reports (bar, pie and line charts
of
current data), you should install libgd and the following Perl modules:


GD:              /usr/bin/perl -MCPAN -e 'install "GD"'
GD::Graph:       /usr/bin/perl -MCPAN -e 'install "GD::Graph"'
GD::Text::Align: /usr/bin/perl -MCPAN -e 'install "GD::Text::Align"'






Bugzilla requires some Perl modules which are either missing from your
system, or the version on your system is too old.
They can be installed by running (as root) the following:
   /usr/bin/perl -MCPAN -e 'install "DBD::mysql"'
   Minimum version required: 2.1010




**********************************************************************
/usr/bin/perl -MCPAN -e 'install "DBD::mysql"'

DBD-mysql-2.9008/t/40bindparam.t
DBD-mysql-2.9008/t/mysql.t
DBD-mysql-2.9008/t/40blobs.t
DBD-mysql-2.9008/t/akmisc.t
DBD-mysql-2.9008/t/50chopblanks.t
DBD-mysql-2.9008/t/ak-dbd.t
DBD-mysql-2.9008/t/mysql2.t
DBD-mysql-2.9008/lib/
DBD-mysql-2.9008/lib/DBD/
DBD-mysql-2.9008/lib/DBD/mysql/
DBD-mysql-2.9008/lib/DBD/mysql/GetInfo.pm
DBD-mysql-2.9008/lib/DBD/mysql/INSTALL.pod
DBD-mysql-2.9008/lib/DBD/mysql.pm
DBD-mysql-2.9008/lib/Bundle/
DBD-mysql-2.9008/lib/Bundle/DBD/
DBD-mysql-2.9008/lib/Bundle/DBD/mysql.pm
DBD-mysql-2.9008/lib/Mysql/
DBD-mysql-2.9008/lib/Mysql/Statement.pm
DBD-mysql-2.9008/lib/Mysql.pm
DBD-mysql-2.9008/TODO
DBD-mysql-2.9008/myld
DBD-mysql-2.9008/constants.h
DBD-mysql-2.9008/dbdimp.c
DBD-mysql-2.9008/dbdimp.h
DBD-mysql-2.9008/README
DBD-mysql-2.9008/MANIFEST.SKIP
DBD-mysql-2.9008/Makefile.PL
DBD-mysql-2.9008/META.yml
DBD-mysql-2.9008/INSTALL.html
DBD-mysql-2.9008/ChangeLog
DBD-mysql-2.9008/MANIFEST
DBD-mysql-2.9008/mysql.xs
Removing previously used /root/.cpan/build/DBD-mysql-2.9008


  CPAN.pm: Going to build R/RU/RUDY/DBD-mysql-2.9008.tar.gz




Cannot find the file 'mysql_config'! Your execution PATH doesn't seem
not contain the path to mysql_config. Resorting to guessed values!
Running make test
  Make had some problems, maybe interrupted? Won't test
Running make install
  Make had some problems, maybe interrupted? Won't install

_______________________________________________
mozilla-webtools mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-webtools
Reply | Threaded
Open this post in threaded view
|

RE: checksetup fails on DBD::mysql

hobbitmage
Do you have your mysql database up and running?

Have you set the variable for linked libraries and such?

mj

<br><br><br>&gt;From: &quot;chaos05&quot;
&lt;[hidden email]&gt;<br>&gt;To:
[hidden email]<br>&gt;Subject: checksetup fails on
DBD::mysql<br>&gt;Date: 13 Jun 2005 18:35:34 -0700<br>&gt;<br>&gt;Hi all,
I'm trying to install bugzilla 2.18.1 and having what seems to<br>&gt;be a
popular problem - an error related to DBD::mysql.  I don't want
to<br>&gt;ask a question already answered and I've found this question on
this<br>&gt;list a few times, but I haven't been able to find the answer.  
Really<br>&gt;hoping for some help!  I'm running the check setup module and
getting<br>&gt;an error on DBD::mysql.<br>&gt;<br>&gt;my system...<br>&gt;OS
Fedora Core 2<br>&gt;perl v 5.8.3<br>&gt;mysql Ver 12.22 Distrib 4.0.21, for
pc-linux (i686)<br>&gt;apache http server 2.0<br>&gt;<br>&gt;1.  I run
./checksetup.pl and get<br>&gt;<br>&gt;...<br>&gt;Checking for      
DBD::mysql (v2.1010)  not found<br>&gt;...<br>&gt;Bugzilla requires some
Perl modules which are either missing from your<br>&gt;system, or the
version on your system is too old.<br>&gt;They can be installed by running
(as root) the following:<br>&gt;    /usr/bin/perl -MCPAN -e 'install
&quot;DBD::mysql&quot;'<br>&gt;    Minimum version required:
2.1010<br>&gt;<br>&gt;<br>&gt;2.  So then I run /usr/bin/perl -MCPAN -e
'install &quot;DBD::mysql&quot;'<br>&gt;  and
get<br>&gt;<br>&gt;...<br>&gt;Cannot find the file 'mysql_config'! Your
execution PATH doesn't seem<br>&gt;not contain the path to mysql_config.
Resorting to guessed values!<br>&gt;...<br>&gt;<br>&gt;<br>&gt;I have no
mysql.h that I can see and that seems to be a problem.<br>&gt;<br>&gt;I'm
getting deeper into linux admin than my little brain can
handle.<br>&gt;Ahhh!  Someone help me before my head goes - err, um,
pop!<br>&gt;<br>&gt;oh, and a full print of the commands output is
below<br>&gt;<br>&gt;many
thx<br>&gt;Eric<br>&gt;<br>&gt;<br>&gt;<br>&gt;********************************************************<br>&gt;./checksetup.pl<br>&gt;<br>&gt;Checking
perl modules ...<br>&gt;Checking for       AppConfig (v1.52)   ok: found
v1.56<br>&gt;Checking for             CGI (v2.93)   ok: found
v3.10<br>&gt;Checking for    Data::Dumper (any)     ok: found
v2.121<br>&gt;Checking for    Date::Format (v2.21)   ok: found
v2.22<br>&gt;Checking for             DBI (v1.36)   ok: found
v1.48<br>&gt;*** Checking for      DBD::mysql (v2.1010)  not found
***<br>&gt;Checking for      File::Spec (v0.82)   ok: found
v3.08<br>&gt;Checking for      File::Temp (any)     ok: found
v0.16<br>&gt;Checking for        Template (v2.08)   ok: found
v2.14<br>&gt;Checking for      Text::Wrap (v2001.0131) ok: found
v2001.09291<br>&gt;<br>&gt;<br>&gt;The following Perl modules are
optional:<br>&gt;Checking for              GD (v1.20)    not
found<br>&gt;Checking for     Chart::Base (v1.0)     not
found<br>&gt;Checking for     XML::Parser (any)     ok: found
v2.34<br>&gt;Checking for       GD::Graph (any)      not
found<br>&gt;Checking for GD::Text::Align (any)      not
found<br>&gt;Checking for     PatchReader (v0.9.4)  ok: found
v0.9.5<br>&gt;<br>&gt;<br>&gt;If you you want to see graphical bug charts
(plotting historical data<br>&gt;over<br>&gt;time), you should install libgd
and the following Perl modules:<br>&gt;<br>&gt;<br>&gt;GD:          
/usr/bin/perl -MCPAN -e 'install &quot;GD&quot;'<br>&gt;Chart:      
/usr/bin/perl -MCPAN -e 'install
&quot;Chart::Base&quot;'<br>&gt;<br>&gt;<br>&gt;If you you want to see
graphical bug reports (bar, pie and line charts<br>&gt;of<br>&gt;current
data), you should install libgd and the following Perl
modules:<br>&gt;<br>&gt;<br>&gt;GD:              /usr/bin/perl -MCPAN -e
'install &quot;GD&quot;'<br>&gt;GD::Graph:       /usr/bin/perl -MCPAN -e
'install &quot;GD::Graph&quot;'<br>&gt;GD::Text::Align: /usr/bin/perl -MCPAN
-e 'install
&quot;GD::Text::Align&quot;'<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;Bugzilla
requires some Perl modules which are either missing from your<br>&gt;system,
or the version on your system is too old.<br>&gt;They can be installed by
running (as root) the following:<br>&gt;    /usr/bin/perl -MCPAN -e 'install
&quot;DBD::mysql&quot;'<br>&gt;    Minimum version required:
2.1010<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;**********************************************************************<br>&gt;/usr/bin/perl
-MCPAN -e 'install
&quot;DBD::mysql&quot;'<br>&gt;<br>&gt;DBD-mysql-2.9008/t/40bindparam.t<br>&gt;DBD-mysql-2.9008/t/mysql.t<br>&gt;DBD-mysql-2.9008/t/40blobs.t<br>&gt;DBD-mysql-2.9008/t/akmisc.t<br>&gt;DBD-mysql-2.9008/t/50chopblanks.t<br>&gt;DBD-mysql-2.9008/t/ak-dbd.t<br>&gt;DBD-mysql-2.9008/t/mysql2.t<br>&gt;DBD-mysql-2.9008/lib/<br>&gt;DBD-mysql-2.9008/lib/DBD/<br>&gt;DBD-mysql-2.9008/lib/DBD/mysql/<br>&gt;DBD-mysql-2.9008/lib/DBD/mysql/GetInfo.pm<br>&gt;DBD-mysql-2.9008/lib/DBD/mysql/INSTALL.pod<br>&gt;DBD-mysql-2.9008/lib/DBD/mysql.pm<br>&gt;DBD-mysql-2.9008/lib/Bundle/<br>&gt;DBD-mysql-2.9008/lib/Bundle/DBD/<br>&gt;DBD-mysql-2.9008/lib/Bundle/DBD/mysql.pm<br>&gt;DBD-mysql-2.9008/lib/Mysql/<br>&gt;DBD-mysql-2.9008/lib/Mysql/Statement.pm<br>&gt;DBD-mysql-2.9008/lib/Mysql.pm<br>&gt;DBD-mysql-2.9008/TODO<br>&gt;DBD-mysql-2.9008/myld<br>&gt;DBD-mysql-2.9008/constants.h<br>&gt;DBD-mysql-2.9008/dbdimp.c<b
r>&gt;DBD-mysql-2.9008/dbdimp.h<br>&gt;DBD-mysql-2.9008/README<br>&gt;DBD-mysql-2.9008/MANIFEST.SKIP<br>&gt;DBD-mysql-2.9008/Makefile.PL<br>&gt;DBD-mysql-2.9008/META.yml<br>&gt;DBD-mysql-2.9008/INSTALL.html<br>&gt;DBD-mysql-2.9008/ChangeLog<br>&gt;DBD-mysql-2.9008/MANIFEST<br>&gt;DBD-mysql-2.9008/mysql.xs<br>&gt;Removing
previously used /root/.cpan/build/DBD-mysql-2.9008<br>&gt;<br>&gt;<br>&gt;  
CPAN.pm: Going to build
R/RU/RUDY/DBD-mysql-2.9008.tar.gz<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;Cannot
find the file 'mysql_config'! Your execution PATH doesn't seem<br>&gt;not
contain the path to mysql_config. Resorting to guessed
values!<br>&gt;Running make test<br>&gt;   Make had some problems, maybe
interrupted? Won't test<br>&gt;Running make install<br>&gt;   Make had some
problems, maybe interrupted? Won't
install<br>&gt;<br>&gt;_______________________________________________<br>&gt;mozilla-webtools
mailing
list<br>&gt;[hidden email]<br>&gt;http://mail.mozilla.org/listinfo/mozilla-webtools<br>


_______________________________________________
mozilla-webtools mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-webtools
Reply | Threaded
Open this post in threaded view
|

Re: checksetup fails on DBD::mysql

chaos_5
In reply to this post by chaos_5
the mysql db is up and running.

variable for linked libraries?  Hopefully you can excuse my ignorance
on that one.  How can I check for that?

Eric


marc jackson wrote:

> Do you have your mysql database up and running?
>
> Have you set the variable for linked libraries and such?
>
> mj
>
> <br><br><br>&gt;From: &quot;chaos05&quot;
> &lt;[hidden email]&gt;<br>&gt;To:
> [hidden email]<br>&gt;Subject: checksetup fails on
> DBD::mysql<br>&gt;Date: 13 Jun 2005 18:35:34 -0700<br>&gt;<br>&gt;Hi all,
> I'm trying to install bugzilla 2.18.1 and having what seems to<br>&gt;be a
> popular problem - an error related to DBD::mysql.  I don't want
> to<br>&gt;ask a question already answered and I've found this question on
> this<br>&gt;list a few times, but I haven't been able to find the answer.
> Really<br>&gt;hoping for some help!  I'm running the check setup module and
> getting<br>&gt;an error on DBD::mysql.<br>&gt;<br>&gt;my system...<br>&gt;OS
> Fedora Core 2<br>&gt;perl v 5.8.3<br>&gt;mysql Ver 12.22 Distrib 4.0.21, for
> pc-linux (i686)<br>&gt;apache http server 2.0<br>&gt;<br>&gt;1.  I run
> ./checksetup.pl and get<br>&gt;<br>&gt;...<br>&gt;Checking for
> DBD::mysql (v2.1010)  not found<br>&gt;...<br>&gt;Bugzilla requires some
> Perl modules which are either missing from your<br>&gt;system, or the
> version on your system is too old.<br>&gt;They can be installed by running
> (as root) the following:<br>&gt;    /usr/bin/perl -MCPAN -e 'install
> &quot;DBD::mysql&quot;'<br>&gt;    Minimum version required:
> 2.1010<br>&gt;<br>&gt;<br>&gt;2.  So then I run /usr/bin/perl -MCPAN -e
> 'install &quot;DBD::mysql&quot;'<br>&gt;  and
> get<br>&gt;<br>&gt;...<br>&gt;Cannot find the file 'mysql_config'! Your
> execution PATH doesn't seem<br>&gt;not contain the path to mysql_config.
> Resorting to guessed values!<br>&gt;...<br>&gt;<br>&gt;<br>&gt;I have no
> mysql.h that I can see and that seems to be a problem.<br>&gt;<br>&gt;I'm
> getting deeper into linux admin than my little brain can
> handle.<br>&gt;Ahhh!  Someone help me before my head goes - err, um,
> pop!<br>&gt;<br>&gt;oh, and a full print of the commands output is
> below<br>&gt;<br>&gt;many
> thx<br>&gt;Eric<br>&gt;<br>&gt;<br>&gt;<br>&gt;********************************************************<br>&gt;./checksetup.pl<br>&gt;<br>&gt;Checking
> perl modules ...<br>&gt;Checking for       AppConfig (v1.52)   ok: found
> v1.56<br>&gt;Checking for             CGI (v2.93)   ok: found
> v3.10<br>&gt;Checking for    Data::Dumper (any)     ok: found
> v2.121<br>&gt;Checking for    Date::Format (v2.21)   ok: found
> v2.22<br>&gt;Checking for             DBI (v1.36)   ok: found
> v1.48<br>&gt;*** Checking for      DBD::mysql (v2.1010)  not found
> ***<br>&gt;Checking for      File::Spec (v0.82)   ok: found
> v3.08<br>&gt;Checking for      File::Temp (any)     ok: found
> v0.16<br>&gt;Checking for        Template (v2.08)   ok: found
> v2.14<br>&gt;Checking for      Text::Wrap (v2001.0131) ok: found
> v2001.09291<br>&gt;<br>&gt;<br>&gt;The following Perl modules are
> optional:<br>&gt;Checking for              GD (v1.20)    not
> found<br>&gt;Checking for     Chart::Base (v1.0)     not
> found<br>&gt;Checking for     XML::Parser (any)     ok: found
> v2.34<br>&gt;Checking for       GD::Graph (any)      not
> found<br>&gt;Checking for GD::Text::Align (any)      not
> found<br>&gt;Checking for     PatchReader (v0.9.4)  ok: found
> v0.9.5<br>&gt;<br>&gt;<br>&gt;If you you want to see graphical bug charts
> (plotting historical data<br>&gt;over<br>&gt;time), you should install libgd
> and the following Perl modules:<br>&gt;<br>&gt;<br>&gt;GD:
> /usr/bin/perl -MCPAN -e 'install &quot;GD&quot;'<br>&gt;Chart:
> /usr/bin/perl -MCPAN -e 'install
> &quot;Chart::Base&quot;'<br>&gt;<br>&gt;<br>&gt;If you you want to see
> graphical bug reports (bar, pie and line charts<br>&gt;of<br>&gt;current
> data), you should install libgd and the following Perl
> modules:<br>&gt;<br>&gt;<br>&gt;GD:              /usr/bin/perl -MCPAN -e
> 'install &quot;GD&quot;'<br>&gt;GD::Graph:       /usr/bin/perl -MCPAN -e
> 'install &quot;GD::Graph&quot;'<br>&gt;GD::Text::Align: /usr/bin/perl -MCPAN
> -e 'install
> &quot;GD::Text::Align&quot;'<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;Bugzilla
> requires some Perl modules which are either missing from your<br>&gt;system,
> or the version on your system is too old.<br>&gt;They can be installed by
> running (as root) the following:<br>&gt;    /usr/bin/perl -MCPAN -e 'install
> &quot;DBD::mysql&quot;'<br>&gt;    Minimum version required:
> 2.1010<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;**********************************************************************<br>&gt;/usr/bin/perl
> -MCPAN -e 'install
> &quot;DBD::mysql&quot;'<br>&gt;<br>&gt;DBD-mysql-2.9008/t/40bindparam.t<br>&gt;DBD-mysql-2.9008/t/mysql.t<br>&gt;DBD-mysql-2.9008/t/40blobs.t<br>&gt;DBD-mysql-2.9008/t/akmisc.t<br>&gt;DBD-mysql-2.9008/t/50chopblanks.t<br>&gt;DBD-mysql-2.9008/t/ak-dbd.t<br>&gt;DBD-mysql-2.9008/t/mysql2.t<br>&gt;DBD-mysql-2.9008/lib/<br>&gt;DBD-mysql-2.9008/lib/DBD/<br>&gt;DBD-mysql-2.9008/lib/DBD/mysql/<br>&gt;DBD-mysql-2.9008/lib/DBD/mysql/GetInfo.pm<br>&gt;DBD-mysql-2.9008/lib/DBD/mysql/INSTALL.pod<br>&gt;DBD-mysql-2.9008/lib/DBD/mysql.pm<br>&gt;DBD-mysql-2.9008/lib/Bundle/<br>&gt;DBD-mysql-2.9008/lib/Bundle/DBD/<br>&gt;DBD-mysql-2.9008/lib/Bundle/DBD/mysql.pm<br>&gt;DBD-mysql-2.9008/lib/Mysql/<br>&gt;DBD-mysql-2.9008/lib/Mysql/Statement.pm<br>&gt;DBD-mysql-2.9008/lib/Mysql.pm<br>&gt;DBD-mysql-2.9008/TODO<br>&gt;DBD-mysql-2.9008/myld<br>&gt;DBD-mysql-2.9008/constants.h<br>&gt;DBD-mysql-2.9008/dbdimp.c<b
> r>&gt;DBD-mysql-2.9008/dbdimp.h<br>&gt;DBD-mysql-2.9008/README<br>&gt;DBD-mysql-2.9008/MANIFEST.SKIP<br>&gt;DBD-mysql-2.9008/Makefile.PL<br>&gt;DBD-mysql-2.9008/META.yml<br>&gt;DBD-mysql-2.9008/INSTALL.html<br>&gt;DBD-mysql-2.9008/ChangeLog<br>&gt;DBD-mysql-2.9008/MANIFEST<br>&gt;DBD-mysql-2.9008/mysql.xs<br>&gt;Removing
> previously used /root/.cpan/build/DBD-mysql-2.9008<br>&gt;<br>&gt;<br>&gt;
> CPAN.pm: Going to build
> R/RU/RUDY/DBD-mysql-2.9008.tar.gz<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;Cannot
> find the file 'mysql_config'! Your execution PATH doesn't seem<br>&gt;not
> contain the path to mysql_config. Resorting to guessed
> values!<br>&gt;Running make test<br>&gt;   Make had some problems, maybe
> interrupted? Won't test<br>&gt;Running make install<br>&gt;   Make had some
> problems, maybe interrupted? Won't
> install<br>&gt;<br>&gt;_______________________________________________<br>&gt;mozilla-webtools
> mailing
> list<br>&gt;[hidden email]<br>&gt;http://mail.mozilla.org/listinfo/mozilla-webtools<br>

_______________________________________________
mozilla-webtools mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-webtools
Reply | Threaded
Open this post in threaded view
|

Re: checksetup fails on DBD::mysql

A. Karl Kornel
In article <[hidden email]>,
 "chaos05" <[hidden email]> wrote:

> the mysql db is up and running.
>
> variable for linked libraries?  Hopefully you can excuse my ignorance
> on that one.  How can I check for that?
>
>

   OK, here's my guess.

   MySQL comes in a number of forms.  You can get just the basic
database package, or you can get the database package and all of the
extras that allow developers to write software that interacts with the
MySQL database directly (let's call this "mysql-dev").

   mysql-dev includes a program called mysql_config, a program that you
can run, which tells you how MySQL was configured and also reports the
locations of files that developers really need (including mysql.h and
the libraries).  DBD::mysql needs access to those files, and it could
not find mysql_config to get the locations of those files, so it can't
install.

   How did you install MySQL?  If it came as part of your UNIX
distribution, which distribution are you using?  Thanks in advance for
the info!
--
=============================
|   Alfred Karl Kornel
|   -- [hidden email]
|   Member- Europa Research Group
|   UNIX / RESOLVE Consultant
=============================

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
_______________________________________________
mozilla-webtools mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-webtools
Reply | Threaded
Open this post in threaded view
|

Re: checksetup fails on DBD::mysql

chaos_5
Well, I'm operating on Linux Fedora Core 2.  However, I didn't install
it with the default MySQL.  Instead, I installed a more recent MySQL
and I doubt I installed the one which allows developers to write
software that interacts with it.  I didn't foresee the need at the
time, but I think I downloaded the basic version.

How can I tell now?   Is there a command that I can run that will
reveal this?

OS Fedora Core 2
mysql --version reveals ->  mysql Ver 12.22 Distrib 4.0.21, for
pc-linux (i686)

many thx
Eric

_______________________________________________
mozilla-webtools mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-webtools
Reply | Threaded
Open this post in threaded view
|

Re: checksetup fails on DBD::mysql

A. Karl Kornel
In article <[hidden email]>,
 "chaos05" <[hidden email]> wrote:

> Well, I'm operating on Linux Fedora Core 2.  However, I didn't install
> it with the default MySQL.  Instead, I installed a more recent MySQL
> and I doubt I installed the one which allows developers to write
> software that interacts with it.  I didn't foresee the need at the
> time, but I think I downloaded the basic version.

   OK, that matches the information I found.  The Fedora Core 2 package
list listed MySQL at version 3.23.58, and included shared libraries.

   I did notice that one of the Fedora Core 2 packages on the list was
'perl-DBD-MySQL' version 2.9003, "A MySQL interface for Perl".  Maybe if
you install that it'll help.

> How can I tell now?   Is there a command that I can run that will
> reveal this?
>
> OS Fedora Core 2
> mysql --version reveals ->  mysql Ver 12.22 Distrib 4.0.21, for
> pc-linux (i686)
>

   So you're running the 4.0 Generally Available release.  Just so you
know, the MySQL website (http://dev.mysql.com/downloads/) recommends
upgrading to 4.1.

   Which download link did you use?  I noticed that under the section
"Linux x86 RPM downloads", the server RPM is separated from the
libraries/headers RPM and the dynamic client libraries RPM.  If you only
downloaded & installed the server RPM, that would explain your current
situation.  If you downloaded using a link in the "Linux downloads"
section, then I don't know why the files weren't installed (maybe you
chose not to at some point).

   Given all this, and unless anyone else has any other suggestions, I'd
suggest installing MySQL 4.1.(whatever) onto your system.  If you
download from the "Linux downloads" section, I'd say get the regular.  
If you download from the "Linux x86 RPM downloads" section, get the
Server, Benchmark/test suites, client programs, libraries and header
files, and dynamic client libraries RPMs.  Be sure to read everything at
<http://dev.mysql.com/doc/mysql/en/upgrading-from-4-0.html>.  Good luck!
--
=============================
|   Alfred Karl Kornel
|   -- [hidden email]
|   Member- Europa Research Group
|   UNIX / RESOLVE Consultant
=============================

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
_______________________________________________
mozilla-webtools mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-webtools
Reply | Threaded
Open this post in threaded view
|

RE: checksetup fails on DBD::mysql

Benton, Kevin
In reply to this post by chaos_5
> Well, I'm operating on Linux Fedora Core 2.  However, I didn't install
> it with the default MySQL.  Instead, I installed a more recent MySQL
> and I doubt I installed the one which allows developers to write
> software that interacts with it.  I didn't foresee the need at the
> time, but I think I downloaded the basic version.
>
> How can I tell now?   Is there a command that I can run that will
> reveal this?
>
> OS Fedora Core 2
> mysql --version reveals ->  mysql Ver 12.22 Distrib 4.0.21, for
> pc-linux (i686)

You may want to consider upgrading to the recently release Fedora Core 4
which contains MySQL 4.1 as part of the installation.

Also, if you're having problems with MySQL interacting with DBD::MySQL,
usually, the first thing to do is to grab the latest DBD::MySQL from
CPAN and install it.  If cpan tells you you've already got the latest
version, force the installation because the libraries you have may be
set up for an older version of MySQL (3.23.x for example).

Developers - we need to put this in the FAQ section of the installation
guide if it isn't there already.  This question is coming up *very*
frequently both on the IRC and here.

---
Kevin Benton
Perl/Bugzilla Developer
Advanced Micro Devices
 
The opinions stated in this communication do not necessarily reflect the
view of Advanced Micro Devices and have not been reviewed by management.
This communication may contain sensitive and/or confidential and/or
proprietary information.  Distribution of such information is strictly
prohibited without prior consent of Advanced Micro Devices.  This
communication is for the intended recipient(s) only.  If you have
received this communication in error, please notify the sender, then
destroy any remaining copies of this communication.


_______________________________________________
mozilla-webtools mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-webtools