Installing TRAC with mod_wsgi using virtualenv
This guide is for installing Trac as a user using virtualenv for a isolated Python environment so that the whole installation runs under a specific user.
First of all we need to install needed packages
apt-get install libapache2-mod-wsgi python-virtualenv python-setuptools
Once we have installed the required packages proceed to create the Python environment
mkdir /usr/local/trac cd /usr/local/trac virtualenv python
We now have the isolated Python environment locate under /usr/local/trac/python.
To make possible to use easy_install with repositories we need to upgrade easy_install. I use this to install Trac plugins directly from SVN.
/usr/local/trac/python/bin/easy_install -U trunk
We now can install trac 0.12 using the 0.12b1 SVN Tag (http://svn.edgewall.com/repos/trac/tags/trac-0.12b1 or Trac==0.12b1) or directly from SVN Trunk:
/usr/local/trac/python/bin/easy_install http://svn.edgewall.org/repos/trac/trunk
This will download and install the latest trunk version for Trac.
Recompilar MAMP
El soporte de LDAP en MAMP 1.7.1 esta roto asi que tube que recompilar el PHP, lo cual me obligo a recompilar todas sus dependencias, pero como no encontre ninguna guia de como realizarlo correctamente, aqui esta como lo hice yo.
Lo primero es descargarse el codigo fuente proporcionado por la gente de MAMP, y su version compilada.
Codigo fuente: MAMP 1.7.1 (src)
Version Intel: MAMP 1.7.1 (intel)
Version PPC: MAMP 1.7.1 (ppc)
Una vez que tengamos esto, hay que instalar MAMP la version compilada en /Applications y asi ya tenemos toda la estructura correcta lista para solo recompilar lo necesario.
Ahora descomprimimos el codigo fuente y vamos compilando las diferentes librerias:
CURL
tar zxvf curl-7.16.2.tar.gz cd curl-7.16.2 ./configure --prefix=/Applications/MAMP/Library make make install
Freetype



