适用于Mac OS的Mysql-dev [英] Mysql-dev for mac os
问题描述
我正在为macbook pro安装sphinx,但是当我运行"sudo make"时失败,它会产生以下错误.
I'm installing sphinx for my macbook pro but I failed when I ran "sudo make", it generate the following error.
错误:mysql.h:没有这样的文件或目录.
error: mysql.h: No such file or directory.
我导航到网上寻找解决方案&解决方案是设置mysql-devel.
I navigate throw the web searching for a solution & the solution was to setup mysql-devel.
新问题是我无法在Mac上找到它??我该怎么办?
The new problem is that I can't find it for mac?? what shall I do?
推荐答案
您可以使用 Fink软件包管理系统安装mysql-dev.有一些入门信息此处供参考.看起来这似乎是一种things回安装的方式,但从长远来看,它将带来红利.
You can use the Fink package management system to install mysql-dev. There is some getting started information here for fink. It may seem like a roundabout way to get things installed but in the long term it will pay dividends.
祝你好运
克里斯
这篇关于适用于Mac OS的Mysql-dev的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!