Tested OS

  1. Debian
  2. OS X

most of the time installing libxml2, libxslt and the lxml python bindings are the source of problems. We try to collect all workarounds we are currently aware of.

Debian

lxml doesnt install with python setuptools "easy_install". Lxml is available as a debian package, but this requires a "manual" installation into the system without using the pywrapper installer.sh script. This is what you get when trying to install lxml with easy_install:

foo:~# easy_install lxml

Searching for lxml
Reading http://www.python.org/pypi/lxml/
Reading http://www.python.org/pypi/lxml/1.1.2
Reading http://codespeak.net/lxml
Reading http://www.python.org/pypi/lxml/#content-body
Reading http://www.python.org/pypi/lxml/#left-hand-navigation
Reading http://www.python.org/pypi/lxml/1.1.1
Best match: lxml 1.1.2
Downloading http://codespeak.net/lxml/lxml-1.1.2.tgz
Processing lxml-1.1.2.tgz
Running lxml-1.1.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ao5CfZ/lxml-1.1.2/egg-dist-tmp-0XxC01
Building lxml version 1.1.2
unable to execute gcc: No such file or directory
error: Setup script exited with error: command 'gcc' failed with exit status 1

OS X

No problems known. Installer builds under OSX 10.4 with no additional installation. FastCGI is known to work with build in Apache 1.3