Problem installing DBD::mysql on Red Hat Linux 7.2

Problem installing DBD::mysql on Red Hat Linux 7.2

am 09.06.2004 12:54:00 von Ben Burford

Hello All,

I am trying to install DBD::mysql on a Red Hat Linux 7.2 installation. I di
d not request any mysql modules to be installed during the installation of R
ed Hat Linux 7.2.

I installed MySQL-3.23.58-1.i386.rpm and MySQL-client-3.23.58-1.i386.rpm suc
cessfully. I started the server and was able to execute a few basic command
s and to set the passwords.

I downloaded DBD-mysql-2.1017.tar.gz from CPAN (http://www.cpan.org/modules/
by-module/DBD/), 2.1017 is the version I need for my purposes. I untarred D
BD-mysql-2.1017.tar.gz and (following the instructions in INSTALL.html) did a:
perl Makefile.PL
I got the following results:

------------------------------------------------------------ ---
# perl Makefile.PL
Can't exec "mysql_config": No such file or directory at Makefile.PL line 169.
readline() on closed filehandle main::PIPE at Makefile.PL line 171.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 169.
readline() on closed filehandle main::PIPE at Makefile.PL line 171.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 169.
readline() on closed filehandle main::PIPE at Makefile.PL line 171.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 169.
readline() on closed filehandle main::PIPE at Makefile.PL line 171.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 169.
readline() on closed filehandle main::PIPE at Makefile.PL line 171.
Failed to determine directory of mysql.h. Use

perl Makefile.PL --cflags=-I



to set this directory. For details see the INSTALL.html file,
section "C Compiler flags" or type

perl Makefile.PL --help
------------------------------------------------------------ ---

I did a find on my machine for mysql_config and for mysql.h and do not have
either of these files on my machine.

In the INSTALL.html file under Configuration, libs, its says:
"If a switch is not present on the command line, then the script mysql_confi
g will be executed. This script comes as part of the MySQL distribution."


So my question is, what "MySQL distribution" do I need to install to get mys
ql_config and mysql.h (and where do I get the distribution)?


Any other comments related to my error message and my problem would be great
ly appreciated. I'm a beginner at this so please make your answers detailed
enough that I can follow them clearly (without assuming that I will underst
and).

Thank you,

Ben




--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Problem installing DBD::mysql on Red Hat Linux 7.2

am 09.06.2004 13:06:26 von Jochen Wiedmann

On Mi, 2004-06-09 at 12:54, Ben Burford wrote:

> I installed MySQL-3.23.58-1.i386.rpm and MySQL-client-3.23.58-1.i386.rpm suc
> cessfully. I started the server and was able to execute a few basic command
> s and to set the passwords.

You'll need at least MySQL-devel and most probably zlib-devel,
libz-devel or however it's called, as well.


Jochen


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Problem installing DBD::mysql on Red Hat Linux 7.2

am 09.06.2004 13:06:26 von Jochen Wiedmann

On Mi, 2004-06-09 at 12:54, Ben Burford wrote:

> I installed MySQL-3.23.58-1.i386.rpm and MySQL-client-3.23.58-1.i386.rpm suc
> cessfully. I started the server and was able to execute a few basic command
> s and to set the passwords.

You'll need at least MySQL-devel and most probably zlib-devel,
libz-devel or however it's called, as well.


Jochen


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Problem installing DBD::mysql on Red Hat Linux 7.2

am 09.06.2004 13:18:23 von Ben Burford

Thank you Jochen,

I have MySQL-devel on the Red Hat Linux distribution disks. Where do I find
libz-devel?

Ben


At 13:06 2004/06/09 +0200, you wrote:
> On Mi, 2004-06-09 at 12:54, Ben Burford wrote:
>
> > I installed MySQL-3.23.58-1.i386.rpm and MySQL-client-3.23.58-1.i386.rpm
suc
> > cessfully. I started the server and was able to execute a few basic com
mand
> > s and to set the passwords.
>
> You'll need at least MySQL-devel and most probably zlib-devel,
> libz-devel or however it's called, as well.
>
>
> Jochen
>


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Problem installing DBD::mysql on Red Hat Linux 7.2

am 09.06.2004 13:18:23 von Ben Burford

Thank you Jochen,

I have MySQL-devel on the Red Hat Linux distribution disks. Where do I find
libz-devel?

Ben


At 13:06 2004/06/09 +0200, you wrote:
> On Mi, 2004-06-09 at 12:54, Ben Burford wrote:
>
> > I installed MySQL-3.23.58-1.i386.rpm and MySQL-client-3.23.58-1.i386.rpm
suc
> > cessfully. I started the server and was able to execute a few basic com
mand
> > s and to set the passwords.
>
> You'll need at least MySQL-devel and most probably zlib-devel,
> libz-devel or however it's called, as well.
>
>
> Jochen
>


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org