title: Problem installing OpenERP server with buildout !
body: <p>I'm trying to deploy OpenERP with a buildout and my own piece of code. In fact I would like to build a complete deployement structure allowing me to use OpenERP with custom modules and patch.</p>
  
  <p>First of all, before adding any personnal configuration, I was trying to create a buildout which will have the responsability to configure everything.</p>
  
  <h2>Buildout Configuration</h2>
  
  <p>My buildout.cfg configuration file look like this:</p>
  
  <pre><code>[buildout]
  parts = eggs
  versions=versions
  newest = false
  extensions = lovely.buildouthttp
  unzip = true
  find-links =
         http://download.gna.org/pychart/
  [versions]
  
  [eggs]
  recipe = zc.recipe.egg
  interpreter = python
  eggs =
       Paste
       PasteScript
       PasteDeploy
       psycopg2
       PyChart
       pydot
       openerp-server
  </code></pre>
  
  <h2>Configuration problem</h2>
  
  <p>But when trying to launch the buildout I have a couples of errors when trying to install the last needed egg (openerp-server)</p>
  
  <p>On my side it just cannot find these modules, but they are in my eggs dir:</p>
  
  <pre><code>Error: python module psycopg2 (PostgreSQL module) is required
  Error: python module libxslt (libxslt python bindings) is required
  Error: python module pychart (pychart module) is required
  Error: python module pydot (pydot module) is required
  error: Setup script exited with 1
  An error occured when trying to install openerp-server 5.0.0-3. Look above this message for any errors that were output by easy_install.
  Is this possible that openerp hardcoded the his searching path somewhere ?
  </code></pre>
  
  <h2>easy_install, a try</h2>
  
  <p>I decided to give a try to a clean virtualenv without any relation to the main site-package. But when using easy_install on openerp-server:</p>
  
  <pre><code>$ source openerp-python/bin/activate
  $ easy_install openerp-server
  ...
    File "build/bdist.linux-i686/egg/pkg_resources.py", line 887, in extraction_error
  pkg_resources.ExtractionError: Can't extract file(s) to egg cache
  
  The following error occurred while trying to extract file(s) to the Python egg
  cache:
  
    SandboxViolation: mkdir('/home/mlhamel/.python-eggs/psycopg2-2.0.13-py2.5-linux-x86_64.egg-tmp', 511) {}
  </code></pre>
  
  <p>I have always the error message however psyopg2 was installed or not on my machine</p>
  
  <h2>System's Configuration</h2>
  
  <ul>
  <li>Ubuntu 9.10 x86-64</li>
  <li>Tried on Python 2.5/Python 2.6</li>
  </ul>