Plone 4 dev on Lion

Introduction Recently I upgraded to OS X Lion and here are my notes on how I got my working environment working. XCode First things first, you need to setup build tools (gcc, make and the like). On OS X these come as a part of XCode. Even if you had XCode installed on Snow Leaopard before upgrading to Lion, do…

Order of ‘parts’ when compiling lxml

CentOS's repos don't have a working version of libxslt (you need 1.1.20, repos have 1.1.17) so we need to statically compile it for collective.xdv to work. But, there is a catch! You need to be careful about how you order your parts in your buildout.cfg. For examle, the following buildout.cfg works perfectly fine, it downloads libxml and libxslt and compiles…

Compiling lxml on 64bit CentOS

A few days ago I encountered a problem while deploying Plone 4 with collective.xdv to a CentOS cloud instance. Since CentOS' repos were a bit out of date I needed to statically compile lxml and it's dependencies with z3c.recipe.staticlxml. Here's what you need to add to your buildout.cfg to do so: parts += lxml eggs += lxml # =================================================================== #…

OS X specific .cfg for collective.xdv

The collective.xdv manual on plone.org tells you how to customize your buildout.cfg in order to be able to run collective.xdv on OS X. However if you are working in a team of developers where not everyone is using OS X, it's nice to have your specific buildout hacks in a separate osx.cfg file. Below is an OS X specific osx.cfg…

Plone4 + collective.xdv + deco.gs

Here at NiteoWeb Ltd. we decided a few days ago that we should start trying out Plone 4 in order to be ready for the stable release. There are quite some new features that I can't wait to start using on production sites. Being in adventurous mood I volunteered for the job. I also wanted to give collective.xdv a go.…