Chinaunix首页 | 论坛 | 博客
  • 博客访问: 7590115
  • 博文数量: 368
  • 博客积分: 9600
  • 博客等级: 上校
  • 技术积分: 18875
  • 用 户 组: 普通用户
  • 注册时间: 2009-01-01 00:00
文章分类

全部博文(368)

文章存档

2017年(9)

2016年(19)

2015年(3)

2014年(6)

2013年(8)

2012年(78)

2011年(66)

2010年(135)

2009年(44)

分类: LINUX

2012-01-17 16:47:59

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

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