Installing DBD::mysql
am 05.05.2004 15:01:50 von Phil Ewington - 43 Plc
Hi All,
I am trying to install the DBD::mysql module and am having difficulties. I
want this module purely as it is required for Bugzilla, I have no perl
experience at all, so please bear that in mind with any answers given :o)
# perl -MCPAN -e 'install "DBD::mysql"'
....
Can't exec "mysql_config": No such file or directory at Makefile.PL line
174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can't exec "mysql_config": No such file or directory at Makefile.PL line
174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can't exec "mysql_config": No such file or directory at Makefile.PL line
174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can't exec "mysql_config": No such file or directory at Makefile.PL line
174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can't exec "mysql_config": No such file or directory at Makefile.PL line
174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
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
Running make test
Make had some problems, maybe interrupted? Won't test
Running make install
Make had some problems, maybe interrupted? Won't install
I have copied mysql_config from the mysql install dir (/usr/local/mysql) and
have checked the paths within and they are correct. The libmysqlclient.a and
libmysqlclient.so files are present as well, now I am stuck!!
I have mysql-4.0.18 installed and running correctly with PHP compiled
with --with-mysql=/usr/local/mysql and everything is OK, cannot understand
why I am having so many problems.
Any help will be greatly appreciated.
TIA
Phil.
--
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: Installing DBD::mysql
am 05.05.2004 15:06:01 von Rudy Lippan
make sure that the correct mysql_config is in your path before running CPAN.
# export PATH=$PATH:/usr/local/mysql/bin;
# cpan
Rudy
On Wed, 5 May 2004, Phil Ewington - 43 Plc wrote:
> Date: Wed, 5 May 2004 14:01:50 +0100
> From: Phil Ewington - 43 Plc
> To: perl@lists.mysql.com
> Subject: Installing DBD::mysql
>
> Hi All,
>
> I am trying to install the DBD::mysql module and am having difficulties. I
> want this module purely as it is required for Bugzilla, I have no perl
> experience at all, so please bear that in mind with any answers given :o)
>
> # perl -MCPAN -e 'install "DBD::mysql"'
> ...
> Can't exec "mysql_config": No such file or directory at Makefile.PL line
> 174.
> readline() on closed filehandle PIPE at Makefile.PL line 176.
> Can't exec "mysql_config": No such file or directory at Makefile.PL line
> 174.
> readline() on closed filehandle PIPE at Makefile.PL line 176.
> Can't exec "mysql_config": No such file or directory at Makefile.PL line
> 174.
> readline() on closed filehandle PIPE at Makefile.PL line 176.
> Can't exec "mysql_config": No such file or directory at Makefile.PL line
> 174.
> readline() on closed filehandle PIPE at Makefile.PL line 176.
> Can't exec "mysql_config": No such file or directory at Makefile.PL line
> 174.
> readline() on closed filehandle PIPE at Makefile.PL line 176.
> 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
> Running make test
> Make had some problems, maybe interrupted? Won't test
> Running make install
> Make had some problems, maybe interrupted? Won't install
>
> I have copied mysql_config from the mysql install dir (/usr/local/mysql) and
> have checked the paths within and they are correct. The libmysqlclient.a and
> libmysqlclient.so files are present as well, now I am stuck!!
>
> I have mysql-4.0.18 installed and running correctly with PHP compiled
> with --with-mysql=/usr/local/mysql and everything is OK, cannot understand
> why I am having so many problems.
>
> Any help will be greatly appreciated.
>
> TIA
>
> Phil.
>
>
>
--
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: Installing DBD::mysql
am 05.05.2004 15:06:01 von Rudy Lippan
make sure that the correct mysql_config is in your path before running CPAN.
# export PATH=$PATH:/usr/local/mysql/bin;
# cpan
Rudy
On Wed, 5 May 2004, Phil Ewington - 43 Plc wrote:
> Date: Wed, 5 May 2004 14:01:50 +0100
> From: Phil Ewington - 43 Plc
> To: perl@lists.mysql.com
> Subject: Installing DBD::mysql
>
> Hi All,
>
> I am trying to install the DBD::mysql module and am having difficulties. I
> want this module purely as it is required for Bugzilla, I have no perl
> experience at all, so please bear that in mind with any answers given :o)
>
> # perl -MCPAN -e 'install "DBD::mysql"'
> ...
> Can't exec "mysql_config": No such file or directory at Makefile.PL line
> 174.
> readline() on closed filehandle PIPE at Makefile.PL line 176.
> Can't exec "mysql_config": No such file or directory at Makefile.PL line
> 174.
> readline() on closed filehandle PIPE at Makefile.PL line 176.
> Can't exec "mysql_config": No such file or directory at Makefile.PL line
> 174.
> readline() on closed filehandle PIPE at Makefile.PL line 176.
> Can't exec "mysql_config": No such file or directory at Makefile.PL line
> 174.
> readline() on closed filehandle PIPE at Makefile.PL line 176.
> Can't exec "mysql_config": No such file or directory at Makefile.PL line
> 174.
> readline() on closed filehandle PIPE at Makefile.PL line 176.
> 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
> Running make test
> Make had some problems, maybe interrupted? Won't test
> Running make install
> Make had some problems, maybe interrupted? Won't install
>
> I have copied mysql_config from the mysql install dir (/usr/local/mysql) and
> have checked the paths within and they are correct. The libmysqlclient.a and
> libmysqlclient.so files are present as well, now I am stuck!!
>
> I have mysql-4.0.18 installed and running correctly with PHP compiled
> with --with-mysql=/usr/local/mysql and everything is OK, cannot understand
> why I am having so many problems.
>
> Any help will be greatly appreciated.
>
> TIA
>
> Phil.
>
>
>
--
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