Chinaunix首页 | 论坛 | 博客
  • 博客访问: 454693
  • 博文数量: 481
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 1040
  • 用 户 组: 普通用户
  • 注册时间: 2013-01-06 14:09
文章分类

全部博文(481)

文章存档

2013年(483)

我的朋友

分类: LINUX

2013-04-17 13:43:51

DBD-mysql发生Cannot find the file 'mysql_config'的解决办法:
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 /root/.cpan/build/DBD-mysql-4.020/Makefile.PL line 478.
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 /root/.cpan/build/DBD-mysql-4.020/Makefile.PL line 478.
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 /root/.cpan/build/DBD-mysql-4.020/Makefile.PL line 478.
Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located

编译的时候加上mysql_config的路径和mysql路径
perl  Makefile.PL --mysql_config=/usr/local/mysql/bin/mysql_config --with-mysql=/usr/local/mysql

阅读(399) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~