to build connector/odbc 5.1 on mac os x leopard, the first thing you will need is xcode. then you will want to install a recent version of mysql (5.0 or 5.1, or even 6.0 if you are feeling adventurous).
to be able to build the gui setup library, you will need to
install qt, but i have found it easiest to work with qt3,
not the latest qt4. you can download the last release of that
trolltech’s ftp server — the file is called
qt-mac-free-3.3.8.tar.gz. you will need to apply
this patch to allow it to compile on leopard.
i configure it with some options to eliminate stuff i don’t care
about, and to build statically:
./configure …[Read more]