MacOS 10.4 and compiling MySQL stuff

I just re-installed my MacOS 10.4 (Tiger) from scratch. However, it’s more than just putting in the DVD and doing an upgrade.. This post is more a reminder for myself when I’ll have to do it again!

For MySQL you’ll need newer versions installed on MacOS 10.4 of the popular GNU tools: automake, autoconf, bison and libtool. Otherwise you’ll notice it doesn’t really compile. You’ll find URLs here below and download the latest versions.

Additionally I needed to install pkgconfig because /usr/local/bin/autoreconf just failed for the ndb-connectors! Don’t ask me why, I just found while googling for it..

I did install everything under /usr/local and changed my $PATH in ~/.bash_profile to

PATH="/usr/local/bin:$PATH"

Quick “one liner” for shell to check on the version of the build tools:

shell> for p in automake autoconf bison pkg-config;\
 do echo -n "$p: " ; $p --version | head -n1; done;\
 glibtool --version | head -n1

Of course you can use Fink or Darwin ports to install those tools.