I'm using the latest bitnami AMI for Jenkins. When trying to run pip install lxml
in a virtualenv I get this:
In file included from src/lxml/lxml.etree.c:257:0:
/opt/bitnami/apps/jenkins/jenkins_home/workspace/w3af/.pyenv/build/lxml/src/lxml/includes/etree_defs.h:9:31: fatal error: libxml/xmlversion.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
This happens even after installing libxml2-dev
and libxslt-dev
. Don't have access to the whole error log at the moment since I removed this VM after failing to find an answer. Running the same commands in Ubuntu 12.04 LTS works.
PS: At some point the error log mentioned a path pointing to /bitnami/.../*xml/ which did not exist on my system.
PS2: This is a bug report more than a question which requires an answer.