Hi,
I tried to install Plone 5.0.4 with Unified Installer on CentOS 6.5 sever but it failed.
I'd successfully installed Plone 5.0.2 but Plone 5.0.3 and Plone 5.0.4 failed as follows.
Install option :
./install.sh standalone --target=(install path) --build-python --static-lxml=yes
Here are error log. I'm not sure but It seems that something wrong with lxml install.
CentoOS has obsolete libxml rpm, so '--static-lxml=yes' option is needed.
Is there any quick fix to solve this issue?
===========================================================
src/lxml/lxml.etree.c:232403: error: ‘XML_XPATH_INVALID_CTXT_POSITION’ undeclared (first use in this function)
src/lxml/lxml.etree.c:232651: error: ‘LIBXSLT_VERSION’ undeclared (first use in this function)
src/lxml/lxml.etree.c:232664: error: ‘xsltLibxsltVersion’ undeclared (first use in this function)
src/lxml/lxml.etree.c:232677: error: ‘__pyx_v_4lxml_5etree_XSLT_DOC_DEFAULT_LOADER’ undeclared (first use in this function)
src/lxml/lxml.etree.c:232677: error: ‘xsltDocDefaultLoader’ undeclared (first use in this function)
src/lxml/lxml.etree.c:232687: error: ‘xsltDocLoaderFunc’ undeclared (first use in this function)
src/lxml/lxml.etree.c:232687: error: expected ‘)’ before ‘__pyx_f_4lxml_5etree__xslt_doc_loader’
src/lxml/lxml.etree.c: トップレベル:
src/lxml/lxml.etree.c:237283: error: expected ‘)’ before ‘value’
src/lxml/lxml.etree.c:237739: error: expected ‘)’ before ‘value’
src/lxml/lxml.etree.c:237975: error: expected ‘)’ before ‘value’
Building lxml version 3.5.0.
Building without Cython.
ERROR: /bin/sh: xslt-config: command not found
** make sure the development packages of libxml2 and libxslt are installed **
Using build configuration of libxslt
Compile failed: command 'gcc' failed with exit status 1
error: Setup script exited with error: command 'gcc' failed with exit status 1
An error occurred when trying to install lxml 3.5.0. Look above this message for any errors that were output by easy_install.
While:
Installing instance.
Getting distribution for 'lxml==3.5.0'.
Error: Couldn't install: lxml 3.5.0
Thanks you.
Shigeo Honda