I'll give it a shot. I have macOS 10.13.3 but should be close enough.
This is the command that is executing for me now:
install.sh standalone \ --target="/Users/kim/PloneBuilds/Plone-5.1-unified" --password="*****..."
Testing /usr/bin/python2.7 for Zope/Plone requirements....
/usr/bin/python2.7 looks OK. We will use it.
Plone installation requires the development versions of libxml2 and libxslt.
libxml2 must be version 2.7.8 or greater\; libxslt must be 1.1.26 or greater.
Ideally, you should install these as dev package libraries before running install.sh.
If -- and only if -- these packages are not available for your platform, you may
try adding --static-lxml=yes to your install.sh command line to force a
local, static build of these libraries. This will require Internet access for the
installer to download the extra source.
Installation aborted.
./install.sh standalone --target="/Users/kim/PloneBuilds/Plone-5.1-unified" --password="admin" --static-lxml=yes
Testing /usr/bin/python2.7 for Zope/Plone requirements....
/usr/bin/python2.7 looks OK. We will use it.
Rootless install method chosen. Will install for use by system user kim
Detailed installation log being written to /Users/kim/Downloads/Plone-5.1.0-UnifiedInstaller-r1/install.log
Installing Plone 5.1.0 at /Users/kim/PloneBuilds/Plone-5.1-unified
Creating Python virtual environment.
New python executable in /Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/bin/python
Installing setuptools, pip, wheel...done.
Installing zc.buildout in virtual environment.
Unpacking buildout cache to /Users/kim/PloneBuilds/Plone-5.1-unified/buildout-cache
Copying buildout skeleton
Building lxml with static libxml2/libxslt; this requires Internet access,
and takes a while...
Failed to build working lxml.
lxml built with no errors, but does not have a working etree component.
See log file for details.
Try preinstalling up-to-date libxml2/libxslt development libraries, then run
the installer again.
Buildout returned an error code: 1; Aborting.
Buildout failed. Unable to continue
Installation has failed.
See the detailed installation log at /Users/kim/Downloads/Plone-5.1.0-UnifiedInstaller-r1/install.log
to determine the cause.
brew install libxml2
...same buildout error
brew install libxlst
...same buildout error
When I look at the install.log:
./install-sh -c -d '/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxslt/bin'
/usr/bin/install -c xslt-config '/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxslt/bin'
./install-sh -c -d '/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxslt/lib'
/usr/bin/install -c -m 644 xsltConf.sh '/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxslt/lib'
./install-sh -c -d '/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxslt/share/aclocal'
/usr/bin/install -c -m 644 libxslt.m4 '/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxslt/share/aclocal'
./install-sh -c -d '/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxslt/lib/pkgconfig'
/usr/bin/install -c -m 644 libxslt.pc libexslt.pc '/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxslt/lib/pkgconfig'
lxml: Using xslt-config found in /Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxslt/bin/xslt-config.
lxml: Using xml2-config found in /Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxml2/bin/xml2-config.
lxml: Removing dynamic libs from path /Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxslt ...
lxml: Removing dynamic libs from path /Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxml2 ...
lxml: Adding ``iconv`` to libs due to a lxml setup bug.
lxml: OS X detected.
lxml: Static build -- adding '-Wl,-search_paths_first'
lxml: Building lxml ...
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'bugtrack_url'
warnings.warn(msg)
ld: warning: ld: warning: ld: warning: ignoring file /Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxslt/lib/libexslt.a, file was built for archive which is not the architecture being linked (i386): /Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxslt/lib/libexslt.aignoring file /Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxml2/lib/libxml2.a, file was built for archive which is not the architecture being linked (i386): /Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxml2/lib/libxml2.aignoring file /Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxslt/lib/libxslt.a, file was built for archive which is not the architecture being linked (i386): /Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxslt/lib/libxslt.a
ld: warning: ignoring file /Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxslt/lib/libxslt.a, file was built for archive which is not the architecture being linked (i386): /Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxslt/lib/libxslt.a
ld: warning: ignoring file /Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxslt/lib/libexslt.a, file was built for archive which is not the architecture being linked (i386): /Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxslt/lib/libexslt.a
ld: warning: ignoring file /Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxml2/lib/libxml2.a, file was built for archive which is not the architecture being linked (i386): /Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxml2/lib/libxml2.a
Building lxml version 3.4.4.
Building without Cython.
Using build configuration of libxslt 1.1.29
Building against libxml2/libxslt in one of the following directories:
/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxslt/lib
/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxml2/lib
/usr/local/Cellar/xz/5.2.3/lib
Installing lxmlpy.
Generated interpreter '/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/bin/lxmlpy'.
Traceback (most recent call last):
File "/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/bin/lxmlpy", line 18, in <module>
exec(_val)
File "<string>", line 1, in <module>
ImportError: dlopen(/Users/kim/PloneBuilds/Plone-5.1-unified/buildout-cache/eggs/lxml-3.4.4-py2.7-macosx-10.13-intel.egg/lxml/etree.so, 2): Symbol not found: _lzma_auto_decoder
Referenced from: /Users/kim/PloneBuilds/Plone-5.1-unified/buildout-cache/eggs/lxml-3.4.4-py2.7-macosx-10.13-intel.egg/lxml/etree.so
Expected in: flat namespace
in /Users/kim/PloneBuilds/Plone-5.1-unified/buildout-cache/eggs/lxml-3.4.4-py2.7-macosx-10.13-intel.egg/lxml/etree.so
I then tried
STATIC_DEPS=true ./install.sh standalone --target="/Users/kim/PloneBuilds/Plone-5.1-unified" --password="admin" --static-lxml=yes
but ran into other errors like
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
Making all in libxslt
CC attrvt.lo
CC xslt.lo
CC xsltlocale.lo
CC xsltutils.lo
CC pattern.lo
pattern.c:2592:7: warning: incompatible pointer types passing 'void (void *, const xmlChar *)' (aka 'void (void *, const unsigned char *)') to parameter of type 'xmlHashDeallocator' (aka 'void (*)(void *, unsigned char *)') [-Wincompatible-pointer-types]
xsltFreeCompMatchListEntry);
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxml2/include/libxml2/libxml/hash.h:113:26: note: passing argument to parameter 'f' here
xmlHashDeallocator f);
^
CC templates.lo
CC variables.lo
variables.c:1345:35: warning: incompatible pointer types passing 'void (void *, void *, const xmlChar *)' (aka 'void (void *, void *, const unsigned char *)') to parameter of type 'xmlHashScanner' (aka 'void (*)(void *, void *, unsigned char *)') [-Wincompatible-pointer-types]
xmlHashScan(ctxt->globalVars, xsltEvalGlobalVariableWrapper, ctxt);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxml2/include/libxml2/libxml/hash.h:210:22: note: passing argument to parameter 'f' here
xmlHashScanner f,
^
variables.c:2249:35: warning: incompatible pointer types passing 'void (void *, const xmlChar *)' (aka 'void (void *, const unsigned char *)') to parameter of type 'xmlHashDeallocator' (aka 'void (*)(void *, unsigned char *)') [-Wincompatible-pointer-types]
xmlHashFree(ctxt->globalVars, xsltFreeStackElemEntry);
^~~~~~~~~~~~~~~~~~~~~~
/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxml2/include/libxml2/libxml/hash.h:113:26: note: passing argument to parameter 'f' here
xmlHashDeallocator f);
^
CC keys.lo
CC numbers.lo
2 warnings generated.
CC extensions.lo
keys.c:167:26: warning: incompatible pointer types passing 'void (void *, const xmlChar *)' (aka 'void (void *, const unsigned char *)') to parameter of type 'xmlHashDeallocator' (aka 'void (*)(void *, unsigned char *)') [-Wincompatible-pointer-types]
xmlHashFree(keyt->keys, xsltFreeNodeSetEntry);
^~~~~~~~~~~~~~~~~~~~
/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxml2/include/libxml2/libxml/hash.h:113:26: note: passing argument to parameter 'f' here
xmlHashDeallocator f);
^
1 warning generated.
CC extra.lo
extensions.c:1050:42: warning: incompatible pointer types passing 'void (void *, void *, const xmlChar *)' (aka 'void (void *, void *, const unsigned char *)') to parameter of type 'xmlHashScanner' (aka 'void (*)(void *, void *, unsigned char *)') [-Wincompatible-pointer-types]
xmlHashScan(style->extInfos, xsltInitCtxtExt, &ctx);
^~~~~~~~~~~~~~~
/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxml2/include/libxml2/libxml/hash.h:210:22: note: passing argument to parameter 'f' here
xmlHashScanner f,
^
extensions.c:1104:33: warning: incompatible pointer types passing 'void (void *, void *, const xmlChar *)' (aka 'void (void *, void *, const unsigned char *)') to parameter of type 'xmlHashScanner' (aka 'void (*)(void *, void *, unsigned char *)') [-Wincompatible-pointer-types]
xmlHashScan(ctxt->extInfos, xsltShutdownCtxtExt, ctxt);
^~~~~~~~~~~~~~~~~~~
/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxml2/include/libxml2/libxml/hash.h:210:22: note: passing argument to parameter 'f' here
xmlHashScanner f,
^
extensions.c:1105:33: warning: incompatible pointer types passing 'void (void *, const xmlChar *)' (aka 'void (void *, const unsigned char *)') to parameter of type 'xmlHashDeallocator' (aka 'void (*)(void *, unsigned char *)') [-Wincompatible-pointer-types]
xmlHashFree(ctxt->extInfos, xsltFreeExtDataEntry);
^~~~~~~~~~~~~~~~~~~~
/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxml2/include/libxml2/libxml/hash.h:113:26: note: passing argument to parameter 'f' here
xmlHashDeallocator f);
^
extensions.c:1156:34: warning: incompatible pointer types passing 'void (void *, void *, const xmlChar *)' (aka 'void (void *, void *, const unsigned char *)') to parameter of type 'xmlHashScanner' (aka 'void (*)(void *, void *, unsigned char *)') [-Wincompatible-pointer-types]
xmlHashScan(style->extInfos, xsltShutdownExt, style);
^~~~~~~~~~~~~~~
/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxml2/include/libxml2/libxml/hash.h:210:22: note: passing argument to parameter 'f' here
xmlHashScanner f,
^
extensions.c:1157:34: warning: incompatible pointer types passing 'void (void *, const xmlChar *)' (aka 'void (void *, const unsigned char *)') to parameter of type 'xmlHashDeallocator' (aka 'void (*)(void *, unsigned char *)') [-Wincompatible-pointer-types]
xmlHashFree(style->extInfos, xsltFreeExtDataEntry);
^~~~~~~~~~~~~~~~~~~~
/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxml2/include/libxml2/libxml/hash.h:113:26: note: passing argument to parameter 'f' here
xmlHashDeallocator f);
^
extensions.c:1345:55: warning: incompatible pointer types passing 'void (void *, const xmlChar *)' (aka 'void (void *, const unsigned char *)') to parameter of type 'xmlHashDeallocator' (aka 'void (*)(void *, unsigned char *)') [-Wincompatible-pointer-types]
ret = xmlHashRemoveEntry(xsltExtensionsHash, URI, xsltFreeExtModuleEntry);
^~~~~~~~~~~~~~~~~~~~~~
/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxml2/include/libxml2/libxml/hash.h:157:47: note: passing argument to parameter 'f' here
xmlHashDeallocator f);
^
extensions.c:1365:37: warning: incompatible pointer types passing 'void (void *, const xmlChar *)' (aka 'void (void *, const unsigned char *)') to parameter of type 'xmlHashDeallocator' (aka 'void (*)(void *, unsigned char *)') [-Wincompatible-pointer-types]
xmlHashFree(xsltExtensionsHash, xsltFreeExtModuleEntry);
^~~~~~~~~~~~~~~~~~~~~~
/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxml2/include/libxml2/libxml/hash.h:113:26: note: passing argument to parameter 'f' here
xmlHashDeallocator f);
^
extensions.c:1665:25: warning: incompatible pointer types passing 'void (void *, const xmlChar *)' (aka 'void (void *, const unsigned char *)') to parameter of type 'xmlHashDeallocator' (aka 'void (*)(void *, unsigned char *)') [-Wincompatible-pointer-types]
xsltFreeExtElementEntry);
^~~~~~~~~~~~~~~~~~~~~~~
/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxml2/include/libxml2/libxml/hash.h:137:26: note: passing argument to parameter 'f' here
xmlHashDeallocator f);
^
extensions.c:1808:31: warning: incompatible pointer types passing 'void (void *, const xmlChar *)' (aka 'void (void *, const unsigned char *)') to parameter of type 'xmlHashDeallocator' (aka 'void (*)(void *, unsigned char *)') [-Wincompatible-pointer-types]
xsltFreeExtElementEntry);
^~~~~~~~~~~~~~~~~~~~~~~
/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxml2/include/libxml2/libxml/hash.h:160:70: note: passing argument to parameter 'f' here
const xmlChar *name2, xmlHashDeallocator f);
^
extensions.c:1825:35: warning: incompatible pointer types passing 'void (void *, const xmlChar *)' (aka 'void (void *, const unsigned char *)') to parameter of type 'xmlHashDeallocator' (aka 'void (*)(void *, unsigned char *)') [-Wincompatible-pointer-types]
xmlHashFree(xsltElementsHash, xsltFreeExtElementEntry);
^~~~~~~~~~~~~~~~~~~~~~~
/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxml2/include/libxml2/libxml/hash.h:113:26: note: passing argument to parameter 'f' here
xmlHashDeallocator f);
^
extensions.c:2303:37: warning: incompatible pointer types passing 'void (void *, void *, const xmlChar *)' (aka 'void (void *, void *, const unsigned char *)') to parameter of type 'xmlHashScanner' (aka 'void (*)(void *, void *, unsigned char *)') [-Wincompatible-pointer-types]
xmlHashScan(xsltModuleHash, xsltHashScannerModuleFree, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxml2/include/libxml2/libxml/hash.h:210:22: note: passing argument to parameter 'f' here
xmlHashScanner f,
^
1 warning generated.
CC functions.lo
CC namespaces.lo
11 warnings generated.
CC imports.lo
CC attributes.lo
CC documents.lo
CC preproc.lo
CC transform.lo
imports.c:68:39: warning: incompatible pointer types passing 'void (void *, void *, const xmlChar *)' (aka 'void (void *, void *, const unsigned char *)') to parameter of type 'xmlHashScanner' (aka 'void (*)(void *, void *, unsigned char *)') [-Wincompatible-pointer-types]
xmlHashScan(style->templatesHash, xsltNormalizeCompSteps, master);
^~~~~~~~~~~~~~~~~~~~~~
/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxml2/include/libxml2/libxml/hash.h:210:22: note: passing argument to parameter 'f' here
xmlHashScanner f,
^
attributes.c:1246:7: warning: incompatible pointer types passing 'void (void *, const xmlChar *)' (aka 'void (void *, const unsigned char *)') to parameter of type 'xmlHashDeallocator' (aka 'void (*)(void *, unsigned char *)') [-Wincompatible-pointer-types]
xsltFreeAttributeSetsEntry);
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxml2/include/libxml2/libxml/hash.h:113:26: note: passing argument to parameter 'f' here
xmlHashDeallocator f);
^
1 warning generated.
CC security.lo
1 warning generated.
CCLD libxslt.la
Making all in libexslt
CC exslt.lo
CC common.lo
CC crypto.lo
CC math.lo
CC sets.lo
CC functions.lo
CC strings.lo
CC date.lo
CC saxon.lo
functions.c:233:23: warning: incompatible pointer types passing 'void (void *, const xmlChar *)' (aka 'void (void *, const unsigned char *)') to parameter of type 'xmlHashDeallocator' (aka 'void (*)(void *, unsigned char *)') [-Wincompatible-pointer-types]
xmlHashFree(data, exsltFuncFreeDataEntry);
^~~~~~~~~~~~~~~~~~~~~~
/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxml2/include/libxml2/libxml/hash.h:113:26: note: passing argument to parameter 'f' here
xmlHashDeallocator f);
^
1 warning generated.
CC dynamic.lo
saxon.c:57:23: warning: incompatible pointer types passing 'void (void *, const xmlChar *)' (aka 'void (void *, const unsigned char *)') to parameter of type 'xmlHashDeallocator' (aka 'void (*)(void *, unsigned char *)') [-Wincompatible-pointer-types]
xmlHashFree(data, exsltSaxonFreeCompExprEntry);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxml2/include/libxml2/libxml/hash.h:113:26: note: passing argument to parameter 'f' here
xmlHashDeallocator f);
^
1 warning generated.
CCLD libexslt.la
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libexslt.a(crypto.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libexslt.a(crypto.o) has no symbols
Making all in xsltproc
CC xsltproc.o
CC testThreads.o
CCLD testThreads
CCLD xsltproc
clang: error: no such file or directory: '/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxml2/lib/libxml2.dylib'
make[2]: *** [testThreads] Error 1
make[2]: *** Waiting for unfinished jobs....
clang: error: no such file or directory: '/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/parts/lxml/libxml2/lib/libxml2.dylib'
make[2]: *** [xsltproc] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Building lxml version 3.4.4.
Latest version of libiconv is 1.15
Downloading libiconv into libs/libiconv-1.15.tar.gz
Unpacking libiconv-1.15.tar.gz into build/tmp
Latest version of libxml2 is 2.9.8
Downloading libxml2 into libs/libxml2-2.9.8.tar.gz
Unpacking libxml2-2.9.8.tar.gz into build/tmp
Latest version of libxslt is 1.1.33-rc1
Downloading libxslt into libs/libxslt-1.1.33-rc1.tar.gz
Unpacking libxslt-1.1.33-rc1.tar.gz into build/tmp
Starting build in build/tmp/libiconv-1.15
Starting build in build/tmp/libxml2-2.9.8
Starting build in build/tmp/libxslt-1.1.33
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 2312, in main
**kw
File "/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/lib/python2.7/site-packages/setuptools/__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 412, in run
self.easy_install(spec, not self.no_deps)
File "/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 654, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 699, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 884, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1152, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1138, in run_setup
run_setup(setup_script, args)
File "/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/lib/python2.7/site-packages/setuptools/sandbox.py", line 253, in run_setup
raise
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/contextlib.py", line 35, in __exit__
self.gen.throw(type, value, traceback)
File "/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/lib/python2.7/site-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/contextlib.py", line 35, in __exit__
self.gen.throw(type, value, traceback)
File "/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/lib/python2.7/site-packages/setuptools/sandbox.py", line 166, in save_modules
saved_exc.resume()
File "/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/lib/python2.7/site-packages/setuptools/sandbox.py", line 141, in resume
six.reraise(type, exc, self._tb)
File "/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/lib/python2.7/site-packages/setuptools/sandbox.py", line 154, in save_modules
yield saved
File "/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/lib/python2.7/site-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/lib/python2.7/site-packages/setuptools/sandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "/Users/kim/PloneBuilds/Plone-5.1-unified/zinstance/lib/python2.7/site-packages/setuptools/sandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "/var/folders/nz/x0t781tx0674r3h71hg19jk80000gn/T/tmpJWHHDQbuild/lxml-3.4.4/setup.py", line 230, in <module>
**setup_extra_options()
File "/var/folders/nz/x0t781tx0674r3h71hg19jk80000gn/T/tmpJWHHDQbuild/lxml-3.4.4/setup.py", line 144, in setup_extra_options
STATIC_CFLAGS, STATIC_BINARIES)
File "/var/folders/nz/x0t781tx0674r3h71hg19jk80000gn/T/tmpJWHHDQbuild/lxml-3.4.4/setupinfo.py", line 57, in ext_modules
multicore=OPTION_MULTICORE)
File "/var/folders/nz/x0t781tx0674r3h71hg19jk80000gn/T/tmpJWHHDQbuild/lxml-3.4.4/buildlibxml.py", line 370, in build_libxml2xslt
cmmi(libxslt_configure_cmd, libxslt_dir, multicore, **call_setup)
File "/var/folders/nz/x0t781tx0674r3h71hg19jk80000gn/T/tmpJWHHDQbuild/lxml-3.4.4/buildlibxml.py", line 285, in cmmi
cwd=build_dir, **call_setup)
File "/var/folders/nz/x0t781tx0674r3h71hg19jk80000gn/T/tmpJWHHDQbuild/lxml-3.4.4/buildlibxml.py", line 268, in call_subprocess
raise Exception('Command "%s" returned code %s' % (cmd_desc, returncode))
Exception: Command "make -j5" returned code 512
An error occurred when trying to install /var/folders/nz/x0t781tx0674r3h71hg19jk80000gn/T/tmpJWHHDQbuild/lxml-3.4.4. Look above this message for any errors that were output by easy_install.
While:
Installing lxml.
Error: Couldn't install: lxml 3.4.4
I remembered how I've been getting around this problem...
cd /Users/kim/PloneBuilds/Plone-5.1-unified/zinstance
bin/pip install lxml
bin/buildout
got a bit farther...