Skip Menu |

This queue is for tickets about the DBD-mysql CPAN distribution.

Report information
The Basics
Id: 31994
Status: rejected
Priority: 0/
Queue: DBD-mysql

People
Owner: Nobody in particular
Requestors: mauriceh [...] bigpond.net.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Installation failure on Strawberry Perl 5.10.0
Date: Sun, 30 Dec 2007 11:18:55 +0900
To: <bug-DBD-mysql [...] rt.cpan.org>
From: "Maurice Height" <mauriceh [...] bigpond.net.au>
Hi I am running Strawberry Perl 5.10.0 final on Windows XP. I have had great success at installing many modules via cpan but not with DBD::mysql My cpan session output was... cpan shell -- CPAN exploration and modules installation (v1.9205) ReadLine support enabled Show quoted text
cpan> install DBD::mysql
Database was generated on Sat, 29 Dec 2007 02:59:35 GMT Running install for module 'DBD::mysql' Running make for C/CA/CAPTTOFU/DBD-mysql-4.006.tar.gz Checksum for C:\strawberry\cpan\sources\authors\id\C\CA\CAPTTOFU\DBD-mysql-4.006.tar.gz ok Scanning cache C:\strawberry\cpan\build for sizes ............................................................................ DONE CPAN.pm: Going to build C/CA/CAPTTOFU/DBD-mysql-4.006.tar.gz Failed to determine directory of mysql.h. Use perl Makefile.PL --cflags=-I<dir> to set this directory. For details see the INSTALL.html file, section "C Compiler flags" or type perl Makefile.PL --help Warning: No success on command[C:\strawberry\perl\bin\perl.exe Makefile.PL LIBS=-LC:\strawberry\c\lib INC=-IC:\strawberry\c\include] CAPTTOFU/DBD-mysql-4.006.tar.gz C:\strawberry\perl\bin\perl.exe Makefile.PL LIBS=-LC:\strawberry\c\lib INC=-IC:\strawberry\c\include -- NOT OK Running make test Make had some problems, won't test Running make install Make had some problems, won't install Failed during this command: CAPTTOFU/DBD-mysql-4.006.tar.gz : writemakefile NO 'C:\strawberry\perl\bin\perl.exe Makefile.PL LIBS=-LC:\strawberry\c\lib INC=-IC:\strawberry\c\include' returned status 512 Regards Maurice Height
You'd need to set the path to MySQL like this: perl Makefile.PL --with-mysql=c:\mysql Then it works correctly. Newer strawberries all bundle DBD::mysql -- Mike