- bash: ./ configure: There is no such file or directory - installing MySQL on Mac OS X 10.6

I am trying to install MySQL on Mac OS X 10.6. After loading MySQL and unpacking with tar xzvf mysql-5.1.37.tar.gz, I will then try to 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 an error

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

I thought configure should be a file in the mysql directory, but it is not there. Am I right or something else tuned up?

+4
source share
6 answers

You downloaded the binary version, not the source.

It is for this reason that you get a configuration error. Go here:

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

for the correct version of mysql to compile from source.

+7
source

I had a similar problem (mysql 5.5.23), which is apparently caused by the fact that they decided to switch to using cmake from autotools.

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

+4
source

Are you really cd mysql-5.1.37 before trying to run ./configure ?

+2
source

Do not forget

cd mysql-5.1.37

+1
source

Presumably, you have confirmed that there is a file, right? You may need to set the execution bit:

 chmod 755 configure 
0
source

The file should be there. This is in the archive version I just downloaded. You might want to take another copy and try again.

0
source

All Articles