getting a mac ready for openplans development
Some of us just got new MacBooks. Here is a log of what I've done to get my MacBook ready for OpenPlans development (work in progress).
Apple Developer ToolsXcode (currently 2.4.1), gcc, etc. (requires free ADC registration): download
SVNDownload latest Mac OS X Universal binary from http://downloads.open.collab.net/binaries.html (1.4.4 at present). Make sure /usr/local/bin is in your path.
PythonFor Zope 2 (and thus opencore) development, Python 2.4 is required. download: http://python.org/ftp/python/2.4.4/python-2.4.4-macosx2006-10-18.dmg
For Pylons development get the latest Mac release (2.5.1 at present) from http://www.python.org/download
I installed both, but I installed 2.4 after 2.5 so that /Library/Frameworks/Python.framework/Versions/Current points to /Library/Frameworks/Python.framework/Versions/2.4
WorkingenvCheck out the latest workingenv (currently 0.6.6) to /usr/local and link to it in /usr/local/bin:
sudo svn co http://svn.colorstudy.com/home/ianb/workingenv /usr/local/workingenvIf workingenv gets updated just run "sudo svn up /usr/local/workingenv" and you'll have the latest.
sudo ln -s /usr/local/workingenv/workingenv.py /usr/local/bin/
WordPressGet MAMP (Macintosh, Apache, MySQL, and PHP)
download from http://www.mamp.info/en/download.html
download latest WordPress release from http://wordpress.org/download/
extract the wordpress folder and move it to /Applications/MAMP/htdocs
Enabling mod_rewriteBy default, Mac OS X's apache isn't configured to allow url rewriting with mod_rewrite. This is annoying. Here's how to to fix it.
Gotchas to build opencoreInstall the latest gzip package (currently 1.3.9): as root, download and extract to e.g. /usr/local/src/gzip and from there run:
./configure --prefix=/usr/localGet latest wget (currently 1.9) and do the same as above
Get RapidoSMTP to enable Mac OS X's built in postfix server and make it start automatically
Image Libraries (to build):http://sourceforge.net/projects/libungif
libjpeg (and bug):