Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

-bash: ./configure: No such file or directory - MySQL install on Mac OS X 10.6

Tags:

mysql

macos

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

I get the error

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

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

like image 651
John Avatar asked Dec 15 '09 20:12

John


3 Answers

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

for the correct mysql version to compile from source.

like image 75
Tom Bates Avatar answered Nov 02 '22 23:11

Tom Bates


I was having a similar problem (mysql 5.5.23), which seems to be caused by the fact that they decided to switch to using cmake from autotools.

MySQL :: MySQL Internals Manual :: 4.6.6 ./configure Emulation

like image 37
Kevin Branigan Avatar answered Nov 02 '22 23:11

Kevin Branigan


Did you actually cd mysql-5.1.37 before trying to run ./configure?

like image 25
ndim Avatar answered Nov 03 '22 00:11

ndim