Problems

Problems

am 18.03.2003 15:16:31 von dhia

Hello
I want to install the DBD::mysql module but I have some problems :
*when I launch the Makefile.PL I have messages like mysql_config cannot
exec.
*So I launch the makefile with the arguments --cflags and --libs where I
precise the necessary paths. I have a final message like "Writing
Makefile for DBD::mysql".
*Then in make test, it fails!!!
Please help me!!

PS: I have installed DBI.


------------------------------------------------------------ ---------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail msql-mysql-modules-thread2091@lists.mysql.com

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail msql-mysql-modules-unsubscribe@lists.mysql.com instead.

Re: Problems

am 18.03.2003 15:33:19 von Steve Hay

dhia wrote:

> Hello
> I want to install the DBD::mysql module but I have some problems :
> *when I launch the Makefile.PL I have messages like mysql_config
> cannot exec.

I get the error

'mysql_config' is not recognized as an internal or external command,
operable program or batch file.

when running perl Makefile.PL on Windows because there is no
mysql_config program on Windows.

I simply delete the section of Configure() in Makefile.PL that calls
mysql_config, and make sure that I specify all necessary options on the
command line (--cflags, --libs, etc).

Are you running on Windows, or some other platform that doesn't have
mysql_config?

Steve


------------------------------------------------------------ ---------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail msql-mysql-modules-thread2092@lists.mysql.com

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail msql-mysql-modules-unsubscribe@lists.mysql.com instead.

Re: Problems

am 18.03.2003 15:33:19 von Steve Hay

dhia wrote:

> Hello
> I want to install the DBD::mysql module but I have some problems :
> *when I launch the Makefile.PL I have messages like mysql_config
> cannot exec.

I get the error

'mysql_config' is not recognized as an internal or external command,
operable program or batch file.

when running perl Makefile.PL on Windows because there is no
mysql_config program on Windows.

I simply delete the section of Configure() in Makefile.PL that calls
mysql_config, and make sure that I specify all necessary options on the
command line (--cflags, --libs, etc).

Are you running on Windows, or some other platform that doesn't have
mysql_config?

Steve


------------------------------------------------------------ ---------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail msql-mysql-modules-thread2092@lists.mysql.com

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail msql-mysql-modules-unsubscribe@lists.mysql.com instead.