Compiling MySQL from Source

Compiling MySQL from Source:

WebObjects > MySQL >
Compiling MySQL from Source

OK, I just upgraded to a MacBook Pro Core 2 Duo. Generally the binary distributions are easier to work with, but I need SSL connections capability, so I have to compile from source to have that feature included. Her is how………..

Objectives
– Same directory layout as the standard binary installation.
– Same general features as typical standard binary installation
– SSL client connection support

I performed my source installation with help from MySQL guide and this Apple Developer article with notes/clarifications for OS X Tiger.

Starting config. Mac OS X Tiger 10.4.8, XCode 2.4.1 (available on your Tiger install disk or from connect.apple.com free online membership)

OpenSSL is already installed as part of OS X
$ openssl version
OpenSSL 0.9.7l 28 Sep 2006

Turn off auto-expand in your browser and download the tarball source distribution from mysql.com. I downloaded version 4.1.22 and put it in a directory named ‘dev’ in my ho