以下是输出:
Ian-MacBook-Pro:DBD-MysqL-4.011 ianseyer$sudo Perl Makefile.PL Can't exec "MysqL_config": No such file or directory at Makefile.PL line 76. Cannot find the file 'MysqL_config'! Your execution PATH doesn't seem not contain the path to MysqL_config. Resorting to guessed values! Can't exec "MysqL_config": No such file or directory at Makefile.PL line 454. Can't find MysqL_config. Use --MysqL_config option to specify where MysqL_config is located Can't exec "MysqL_config": No such file or directory at Makefile.PL line 454. Can't find MysqL_config. Use --MysqL_config option to specify where MysqL_config is located Can't exec "MysqL_config": No such file or directory at Makefile.PL line 454. Can't find MysqL_config. Use --MysqL_config option to specify where MysqL_config is located PLEASE NOTE: For 'make test' to run properly,you must ensure that the database user 'root' 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 'root'@'localhost' identified by 's3kr1t'; You can also optionally set the user to run 'make test' with: perl Makefile.pl --testuser=username Can't exec "MysqL_config": No such file or directory at Makefile.PL line 454. Can't find MysqL_config. Use --MysqL_config option to specify where MysqL_config is located Can't exec "MysqL_config": No such file or directory at Makefile.PL line 454. Can't find MysqL_config. Use --MysqL_config option to specify where MysqL_config is located Can't exec "MysqL_config": No such file or directory at Makefile.PL line 454. Can't find MysqL_config. Use --MysqL_config option to specify where MysqL_config is located 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
我已经研究了这个问题,并尝试使符号链接无效.
我必须自己编译吗?