Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am trying to install MySQL from source on my Mac OS. I've expanded the source code, and am now trying to configure it. However, I can't get past that step:

My-MacBook-Pro-2:mysql-5.5.13-osx10.6-x86 my$ CC=gcc \
CFLAGS="-O3 -fno-omit-frame-pointer" CXX=gcc \
CXXFLAGS="-O3 -fno-omit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti" \
./configure --prefix=/usr/local/mysql --with-extra-charsets=complex \
            --enable-thread-safe-client --enable-local-infile \
            --enable-shared --with-plugins=innobase  
-bash: ./configure: No such file or directory

I've run this command successfully on earlier MySQL versions, so not sure what the issue is.

share|improve this question
    
What archive did you download? Is there a file called configure? Is it executable? –  Gilles Jun 19 '11 at 0:23
    
mysql-5.5.13-osx10.6-x86.tar.gz –  keruilin Jun 19 '11 at 0:31
    
i do not see a configure executable, no –  keruilin Jun 19 '11 at 0:32
    
Given the name, it's clearly a binary package, not a source package. –  Gilles Jun 19 '11 at 0:35
    
Any specific reason why you aren't using macports or homebrew or a binary download (assuming you downloaded the binary by accident and indeed wanted the source)? –  Server Horror Jun 19 '11 at 1:05

2 Answers 2

Just use homebrew. It is by far and away the best package manager for Mac OS X.

share|improve this answer

MySQL 5.5 doesn't use ./configure anymore. Everything is configured via CMake.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.