Ticket #12210 (reopened Bug)
unified installer fails on CentOS5 (redhat) with lxml error
Reported by: | jeanie | Owned by: | smcmahon |
---|---|---|---|
Priority: | minor | Milestone: | 4.x |
Component: | Installers | Version: | 4.3 |
Keywords: | Cc: |
Description
The install.sh error output is below. I will attach install.log. The installer version is dated 20110907 (Plone-4.1-UnifiedInstaller-20110907). Plone version is 4.1.
Fixing up bin/buildout Building lxml with static libxml2/libxslt; this takes a while...
lxml build failed. You may wish to clean up and try again without the lxml build by adding --without-lxml to the command line. Buildout returned an error code: 1; Aborting. Buildout failed. Unable to continue
Installation has failed.
Attachments
Change History
Changed 5 years ago by jeanie
-
attachment
install.7z
added
comment:1 Changed 4 years ago by kleist
Relevant part of attached install.log in plain text:
After install bootstrap. Creating /home/trinity/Plone/Python-2.6/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info Creating /home/trinity/Plone/Python-2.6/lib/python2.6/site-packages/setuptools.pth Creating directory '/home/trinity/Plone/zinstance/parts'. Creating directory '/home/trinity/Plone/zinstance/develop-eggs'. lxml: Static build requested. Installing lxml. lxml: CMMI libxml2 ... lxml: Using libxml2 download url ftp://xmlsoft.org/libxml2/libxml2-2.7.8.tar.gz libxml2: Unpacking and configuring sh: ./configure: /bin/sh: bad interpreter: Permission denied libxml2: cmmi failed: /tmp/tmpbIH3aPbuildout-libxml2 While: Installing lxml. An internal error occured due to a bug in either zc.buildout or in a recipe being used: Traceback (most recent call last): File "/home/trinity/Plone/buildout-cache/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/buildout.py", line 1683, in main getattr(buildout, command)(args) File "/home/trinity/Plone/buildout-cache/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/buildout.py", line 555, in install installed_files = self[part]._call(recipe.install) File "/home/trinity/Plone/buildout-cache/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/buildout.py", line 1227, in _call return f() File "/home/trinity/Plone/buildout-cache/eggs/z3c.recipe.staticlxml-0.7.2-py2.6.egg/z3c/recipe/staticlxml/__init__.py", line 169, in install self.build_libxml2() File "/home/trinity/Plone/buildout-cache/eggs/z3c.recipe.staticlxml-0.7.2-py2.6.egg/z3c/recipe/staticlxml/__init__.py", line 129, in build_libxml2 loc = self.xml2_cmmi.install() File "/home/trinity/Plone/buildout-cache/eggs/zc.recipe.cmmi-1.3.4-py2.6.egg/zc/recipe/cmmi/__init__.py", line 99, in install self.build() File "/home/trinity/Plone/buildout-cache/eggs/zc.recipe.cmmi-1.3.4-py2.6.egg/zc/recipe/cmmi/__init__.py", line 182, in build self.cmmi(dest) File "/home/trinity/Plone/buildout-cache/eggs/zc.recipe.cmmi-1.3.4-py2.6.egg/zc/recipe/cmmi/__init__.py", line 207, in cmmi system("%s %s" % (self.configure_cmd, options)) File "/home/trinity/Plone/buildout-cache/eggs/zc.recipe.cmmi-1.3.4-py2.6.egg/zc/recipe/cmmi/__init__.py", line 31, in system raise SystemError("Failed", c) SystemError: ('Failed', './configure --prefix=/home/trinity/Plone/zinstance/parts/lxml/libxml2 --without-python')
comment:2 Changed 4 years ago by kleist
- Owner set to smcmahon
- Component changed from Unknown to Installers
- Milestone set to 4.x
comment:3 Changed 4 years ago by smcmahon
- Status changed from new to closed
- Resolution set to worksforme
Unable to reproduce error with CentOS 5.7.
The key error from your log is:
sh: ./configure: /bin/sh: bad interpreter: Permission denied
That's a very odd error. Are you running in some restricted shell?
comment:4 Changed 3 years ago by dmunicio
- Status changed from closed to reopened
- Version set to 4.3
- Resolution worksforme deleted
The error appears when /tmp filesystem does not allow executables (noexec parameter in /etc/fstab).
Tested with Plone 4.3 and Red Hat Enterprise Linux 5.5. It happens even if TMP environment variable is set
TMPDIR=/opt/tmp ./install.sh --target=/opt/traspasos --user=plone --build-python --static-lxml=yes zeo
sh: ./configure: /bin/sh: bad interpreter: Permission denied libxml2: cmmi failed: /tmp/tmp4J0xOlbuildout-libxml2 While: Installing lxml. An internal error occurred due to a bug in either zc.buildout or in a recipe being used: Traceback (most recent call last): File "/opt/traspasos/buildout-cache/eggs/zc.buildout-1.7.1-py2.7.egg/zc/buildout/buildout.py", line 1866, in main getattr(buildout, command)(args) File "/opt/traspasos/buildout-cache/eggs/zc.buildout-1.7.1-py2.7.egg/zc/buildout/buildout.py", line 625, in install installed_files = self[part]._call(recipe.install) File "/opt/traspasos/buildout-cache/eggs/zc.buildout-1.7.1-py2.7.egg/zc/buildout/buildout.py", line 1345, in _call return f() File "/opt/traspasos/zeocluster/src/z3c.recipe.staticlxml/src/z3c/recipe/staticlxml/__init__.py", line 171, in install self.build_libxml2() File "/opt/traspasos/zeocluster/src/z3c.recipe.staticlxml/src/z3c/recipe/staticlxml/__init__.py", line 131, in build_libxml2 loc = self.xml2_cmmi.install() File "/opt/traspasos/buildout-cache/eggs/zc.recipe.cmmi-1.3.5-py2.7.egg/zc/recipe/cmmi/__init__.py", line 113, in install self.build() File "/opt/traspasos/buildout-cache/eggs/zc.recipe.cmmi-1.3.5-py2.7.egg/zc/recipe/cmmi/__init__.py", line 196, in build self.cmmi(dest) File "/opt/traspasos/buildout-cache/eggs/zc.recipe.cmmi-1.3.5-py2.7.egg/zc/recipe/cmmi/__init__.py", line 221, in cmmi system("%s %s" % (self.configure_cmd, options)) File "/opt/traspasos/buildout-cache/eggs/zc.recipe.cmmi-1.3.5-py2.7.egg/zc/recipe/cmmi/__init__.py", line 34, in system raise SystemError("Failed", c) SystemError: ('Failed', './configure --prefix=/opt/traspasos/zeocluster/parts/lxml/libxml2 --without-python --with-pic')
install.log from failed install of Plone4.1 using the unified installer for unix