模块安装出错
模块安装出错
出错日志:
For 'make test' to run properly, you must ensure that the
database user '' can connect to your MySQL server
and has the proper privileges that these tests require such
as 'drop table', 'create table', 'drop procedure', 'create procedure'
as well as others.
mysql> grant all privileges on test.* to ''@'localhost' identified by 's3kr1t';
You can also optionally set the user to run 'make test' with:
perl Makefile.pl --testuser=username
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:\Perl\bin\perl.exe Makefile.PL]
Warning (usually harmless): 'YAML' not installed, will not store persistent stat
e
CAPTTOFU/DBD-mysql-4.010.tar.gz
C:\Perl\bin\perl.exe Makefile.PL -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Could not read 'C:\Perl\cpan\build\DBD-mysql-4.010-vLjDnJ\META.yml'. Falling bac
k to other methods to determine prerequisites
Failed during this command:
CAPTTOFU/DBD-mysql-4.010.tar.gz : writemakefile NO 'C:\Perl\bin\pe
rl.exe Makefile.PL' returned status 512
有知道的大侠帮忙看下。。。谢谢了。。