Jan 13, 2010
Install Plone 4 on OSX Leopard e Snow Leopard (from scratch)
Install Plone 4 without Unified Installer is easy.
Trying Plone 4 is easy.
The following steps are tested with OSX 10.6 Snow Leopard and OSX 10.5 Leopard.
The first step is to obtain the compiler to build Python from source.
On OSX, to install the gcc compiler, download the Xcode package from http://connect.apple.com/. You’ll need to register for an Apple Developer Connection account. Once you’ve registered, login and click Download Software and then Developer Tools. Find the Download link
Xcode 3.2.1 Developer DVD (Disk Image)
Be careful: Xcode 3.2.1 is for OSX 10.6 Snow Leopard and Xcode 3.1.4 is for OSX 10.5 Leopard.
First: create a temp folder:
mkdir -p /Users/stefano/Devel/tmp
Plone 4 needs Python 2.6; it is easy build Python from source. The great advantage is that, in this way, all files will be in a folder leaving your OS "clean".
Download the latest version 2.6 release from http://www.python.org/download/releases/2.6.4/
Move the file (Gzipped source tar ball) Python-2.6.4.tgz in the "temp" folder and uncompress it:
tar zxf Python-2.6.4.tgz
Create the Python destination folder:
mkdir -p /Users/stefano/Devel/python/2.6/
before you can build your Python first you must configure it.
From the folder /Users/stefano/Devel/tmp/Python-2.6.4 type the command:
Then to build your Python type:
To install the Python binary, library modules, shared library modules, include files, configuration files, and the manual page, just type:
Download the Python Imaging Library (the "all platform" version) from
Move the downloaded file in /Users/stefano/Devel/tmp/
tar zxf Imaging-1.1.6.tgz cd /Users/stefano/Devel/tmp/Imaging-1.1.6
Install Python Imaging Library in your Python environment:
/Users/stefano/Devel/python/2.6/bin/python2.6 setup.py install
Then download the Plone source:
svn co http://svn.plone.org/svn/plone/buildouts/plone-coredev/branches/4.0/ plone4 cd plone4
Then bootstrap Plone:
Then run the buildout:
Then type this URL in your browser:
Enjoy your new Plone 4!
If you want to test new experimental functionality you can use configuration files in the folder "exeperimental" in the plone folder (Users/stefano/Devel/plone4)
For example to try Deco relaunch the buildout:
./bin/buildout -c experimental/deco.cfg
For more information read the instructions at the beginning of the configuration file "experimental/deco.cfg".