← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 759736] [NEW] [6.1 trunk] : setup fails with error

 

Public bug reported:

hi there,

while trying to install the server from latest rev, i get the following:
1. cd to folder
2. sudo python setup.py install
3. executes ok until here:

Searching for lxml==2.1.5
Reading http://pypi.python.org/simple/lxml/
Reading http://codespeak.net/lxml
Best match: lxml 2.1.5
Downloading http://pypi.python.org/packages/source/l/lxml/lxml-2.1.5.tar.gz#md5=22567ccc6ab8ec8c90c335c810cabe11
Processing lxml-2.1.5.tar.gz
Running lxml-2.1.5/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ORyOBg/lxml-2.1.5/egg-dist-tmp-97cIHC
Building lxml version 2.1.5.
NOTE: Trying to build without Cython, pre-generated 'src/lxml/lxml.etree.c' needs to be available.
ERROR: /bin/sh: xslt-config: not found

** make sure the development packages of libxml2 and libxslt are
installed **

Using build configuration of libxslt 
In file included from src/lxml/lxml.etree.c:111:
src/lxml/etree_defs.h:53: fatal error: libxml/xmlversion.h: No such file or directory
compilation terminated.
error: Setup script exited with error: command 'gcc' failed with exit status 1

very annoying, every time i try a new rev there is some kind of error...

thank you for investigating.
bogdan

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/759736

Title:
  [6.1 trunk] : setup fails with error

Status in OpenERP Server:
  New

Bug description:
  hi there,

  while trying to install the server from latest rev, i get the following:
  1. cd to folder
  2. sudo python setup.py install
  3. executes ok until here:

  Searching for lxml==2.1.5
  Reading http://pypi.python.org/simple/lxml/
  Reading http://codespeak.net/lxml
  Best match: lxml 2.1.5
  Downloading http://pypi.python.org/packages/source/l/lxml/lxml-2.1.5.tar.gz#md5=22567ccc6ab8ec8c90c335c810cabe11
  Processing lxml-2.1.5.tar.gz
  Running lxml-2.1.5/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ORyOBg/lxml-2.1.5/egg-dist-tmp-97cIHC
  Building lxml version 2.1.5.
  NOTE: Trying to build without Cython, pre-generated 'src/lxml/lxml.etree.c' needs to be available.
  ERROR: /bin/sh: xslt-config: not found

  ** make sure the development packages of libxml2 and libxslt are
  installed **

  Using build configuration of libxslt 
  In file included from src/lxml/lxml.etree.c:111:
  src/lxml/etree_defs.h:53: fatal error: libxml/xmlversion.h: No such file or directory
  compilation terminated.
  error: Setup script exited with error: command 'gcc' failed with exit status 1

  very annoying, every time i try a new rev there is some kind of
  error...

  thank you for investigating.
  bogdan



Follow ups

References