Sunday, June 21, 2009

Configure Flags

These are the flags/switches I used with configure.

MySQL on Mac
CC=gcc CFLAGS="-O3 -fno-omit-frame-pointer" \
CXX=gcc CXXFLAGS="-O3 -fno-omit-frame-pointer \
-felide-constructors -fno-exceptions -fno-rtti"
./configure \
--prefix=/Applications/mysql \
--with-extra-charsets=complex \
--enable-thread-safe-client \
--enable-local-infile \
--enable-shared \
--with-plugins=innobase \
--localstatedir=/Users/<UserName>/Documents/mysql/data
Don't know why I decided to install the bins under Applications, but I did. Put them where you want. I did install the data dirs under Docs so that my backup backs them up! :)

Python 2.4.6 on Mac
./configure MACOSX_DEPLOYMENT_TARGET=10.5

Here the PATH statements from .bash_profile and .bash_login:

.bash_profile
export PATH=/usr/local/bin/:/Applications/mysql/bin:$PATH

.bash_login
export PATH="/usr/local/bin:/usr/local/sbin:/Applications/mysql/bin/:$PATH"

0 comments:

Post a Comment