← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Hello Bogdan Stanciu,

The installation via setup.py is mainly for experimented/developer
users.

The error messages you give in the bug reports concern a dependency
listed in our setup.py, mainly lxml. The fact you have errors when
installing lxml is not our setup.py fault. This is perfectly normal.

The fact that a python tool (the infrastructure dealing with setup.py
files) says to you you have to install a C library is also perfectly
normal. It is not the role of such a tool to install OS packages.

** Changed in: openobject-server
       Status: New => Invalid

-- 
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:
  Invalid

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



References