Ticket #13830 (new Bug)
on Mac OS X Mavericks 10.9, unified installer for Plone 4.3.2 fails with "Pillow-1.7.8-py2.7-macosx-10.6-x86_64.egg/_imaging.so: mach-o, but wrong architecture"
Reported by: | tkimnguyen | Owned by: | smcmahon |
---|---|---|---|
Priority: | minor | Milestone: | 4.x |
Component: | Installers | Version: | 4.3 |
Keywords: | Cc: |
Description
I downloaded and ran the current Plone 4.3.2 unified installer with
./install.sh --target=/Users/kim/Plone-4.3.2-3 standalone
It output an error message:
Testing /opt/local/bin/python2.7 for Zope/Plone requirements.... /opt/local/bin/python2.7 looks OK. We'll try to use it. Rootless install method chosen. Will install for use by system user kim Detailed installation log being written to /Users/kim/Downloads/Plone-4.3.2-UnifiedInstaller 3/install.log Installing Plone 4.3.2 at /Users/kim/Plone-4.3.2-latest Creating python virtual environment, no site packages. New python executable in /Users/kim/Plone-4.3.2-latest/Python-2.7/bin/python Installing Setuptools..............................................................................................................................................................................................................................done. Installing Pip.....................................................................................................................................................................................................................................................................................................................................done. Compiling and installing jpeg local libraries ... Unpacking buildout cache to /Users/kim/Plone-4.3.2-latest/buildout-cache tar: copyfile unpack (buildout-cache/eggs/plone.recipe.zeoserver-1.2.6-py2.7.egg/plone/recipe/zeoserver/_init__.py.un~) failed: No such file or directory Copying Plone-docs Copying buildout skeleton Fixing up bin/buildout Building Zope/Plone; this takes a while... Failed: JPEG support is not available. If the installer did not built a static libjpeg, using --libjpeg=yes option may cure this problem. Buildout failed. Unable to continue Installation has failed. See the detailed installation log at /Users/kim/Downloads/Plone-4.3.2-UnifiedInstaller 3/install.log to determine the cause.
The install.log contains (at the end):
SETUP SUMMARY (Pillow 1.7.8 / PIL 1.1.7) -------------------------------------------------------------------- version 1.7.8 platform darwin 2.7.5 (default, Nov 3 2013, 13:23:37) [GCC 4.2.1 (Apple Inc. build 5664)] -------------------------------------------------------------------- --- TKINTER support available --- JPEG support available --- ZLIB (PNG/ZIP) support available --- FREETYPE2 support available --- LITTLECMS support available -------------------------------------------------------------------- To check the build, run the selftest.py script. Got Pillow 1.7.8. Getting distribution for 'lxml==2.3.6'. ld: warning: ignoring file /opt/local/lib/libxml2.dylib, file was built for i386 which is not the architecture being linked (x86_64): /opt/local/lib/libxml2.dylib ld: warning: ignoring file /opt/local/lib/libz.dylib, file was built for i386 which is not the architecture being linked (x86_64): /opt/local/lib/libz.dylib ld: warning: ignoring file /opt/local/lib/libxml2.dylib, file was built for i386 which is not the architecture being linked (x86_64): /opt/local/lib/libxml2.dylib ld: warning: ignoring file /opt/local/lib/libz.dylib, file was built for i386 which is not the architecture being linked (x86_64): /opt/local/lib/libz.dylib Building lxml version 2.3.6. Building without Cython. Using build configuration of libxslt 1.1.28 Got lxml 2.3.6. Generated script '/Users/kim/Plone-4.3.2-latest/zinstance/bin/instance'. Generated interpreter '/Users/kim/Plone-4.3.2-latest/zinstance/parts/instance/bin/interpreter'. Installing repozo. Generated script '/Users/kim/Plone-4.3.2-latest/zinstance/bin/repozo'. Installing backup. Generated script '/Users/kim/Plone-4.3.2-latest/zinstance/bin/backup'. Generated script '/Users/kim/Plone-4.3.2-latest/zinstance/bin/fullbackup'. Generated script '/Users/kim/Plone-4.3.2-latest/zinstance/bin/snapshotbackup'. Generated script '/Users/kim/Plone-4.3.2-latest/zinstance/bin/restore'. Generated script '/Users/kim/Plone-4.3.2-latest/zinstance/bin/snapshotrestore'. Installing zopepy. Generated interpreter '/Users/kim/Plone-4.3.2-latest/zinstance/bin/zopepy'. Installing unifiedinstaller. Generated script '/Users/kim/Plone-4.3.2-latest/zinstance/bin/plonectl'. *************** PICKED VERSIONS **************** [versions] *************** /PICKED VERSIONS *************** Traceback (most recent call last): File "/Users/kim/Plone-4.3.2-latest/zinstance/bin/zopepy", line 250, in <module> exec _val File "<string>", line 1, in <module> ImportError: dlopen(/Users/kim/Plone-4.3.2-latest/buildout-cache/eggs/Pillow-1.7.8-py2.7-macosx-10.6-x86_64.egg/_imaging.so, 2): no suitable image found. Did find: /Users/kim/Plone-4.3.2-latest/buildout-cache/eggs/Pillow-1.7.8-py2.7-macosx-10.6-x86_64.egg/_imaging.so: mach-o, but wrong architecture
Change History
Note: See
TracTickets for help on using
tickets.
Ah, I found this with some clues.
http://stackoverflow.com/questions/2353099/installing-pil-on-snow-leopard