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?
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.
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
Did you actually cd mysql-5.1.37
before trying to run ./configure
?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With