Reputation: 5249
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?
Upvotes: 5
Views: 25729
Reputation: 223
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
Upvotes: 4
Reputation: 3222
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.
Upvotes: 8
Reputation: 5699
The file should be there. It's in the archived version I just downloaded. You might want to grab another copy and try again.
Upvotes: 0
Reputation: 57794
Presumably, you verified the file is there, right? You might have to set the execute bit:
chmod 755 configure
Upvotes: 0