Christian Macht
Christian Macht

Reputation: 466

Compiling with MAKE after CMAKE doesn't work (MySQL on OS X)

I'm trying to compile MySQL (5.5.29 in my case) on Mac OS X (10.8) but can't. I'm trying to follow the instructions at MySQL but they seem to be written for Linux & Win only, this is what happens:

cmake . -G Xcode
-- Running cmake version 2.8.11.1
-- MySQL 5.5.29
-- [A lot of looking up and checking]
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/name/mysql-5.5.29

make
make: *** No targets specified and no makefile found.  Stop.

Using CMake 2.8.11 and GNU Make 3.81. I'm not sure I'm doing this right, any ideas are very welcome.

Upvotes: 2

Views: 1045

Answers (1)

MadScientist
MadScientist

Reputation: 101041

If you want to compile with make, why are you using the Xcode generator? If you use the Xcode generator then no makefiles will be written: you'll need to use Xcode to compile.

Try using the makefile generator if you want to use make to compile.

Upvotes: 2

Related Questions