-bash:./configure:没有这样的文件或目录-在Mac OS X 10.6上安装MySQL [英] -bash: ./configure: No such file or directory - MySQL install on Mac OS X 10.6

查看:951
本文介绍了-bash:./configure:没有这样的文件或目录-在Mac OS X 10.6上安装MySQL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Mac OS X 10.6上安装MySQL.在我使用tar xzvf mysql-5.1.37.tar.gz下载MySQL和untar之后,我然后尝试运行此配置行:

I'm trying to install MySQL on Mac OS X 10.6. After I download MySQL and untar with tar xzvf mysql-5.1.37.tar.gz I then try and run this configure line:

./configure --prefix=/usr/local/mysql --with-extra-charsets=complex --enable-thread-safe-client --enable-local-infile --enable-shared --with-plugins=innobase

我得到了错误

-bash:./configure:没有此类文件或导演

-bash: ./configure: No such file or director

我认为configure应该是目录mysql中的文件,但它不存在.我是对的还是要配置其他内容?

I thought that configure should be a file in directory mysql, but it is not there. Am I correct, or is configure something else?

推荐答案

您已经下载了二进制版本,而不是源代码.

You've downloaded the binary version, not the source.

这是您收到配置错误的原因.去这里:

This is the reason that you're getting the config error. Go here:

http://forums.mysql.com/read. php?117,295428,295493#msg-295493

获取从源代码编译的正确mysql版本.

for the correct mysql version to compile from source.

这篇关于-bash:./configure:没有这样的文件或目录-在Mac OS X 10.6上安装MySQL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆