#45240: py-Pillow @2.6.0 errors on OS X ------------------------------+------------------------ Reporter: radaroutthere@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py-Pillow | ------------------------------+------------------------ Changes (by ryandesign@…): * owner: macports-tickets@… => stromnov@… * cc: stromnov (removed) Old description:
Since updating from py34-Pillow@2.5.3 to py34-PIllow@2.6.0, I have experienced problems with Pillow on OS X.
First, _imagingtk.so cannot be found (from PIL import _imagingtk), and second, the shared libraries Pillow uses don't know whether to link to MacPorts' Tk or my system Tk -
Class TKApplication is implemented in both /opt/local/lib/libtk8.6.dylib and /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. Which one is undefined. Class TKMenu is implemented in both /opt/local/lib/libtk8.6.dylib and /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. Which one is undefined. Class TKContentView is implemented in both /opt/local/lib/libtk8.6.dylib and /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. Which one is undefined. Class TKWindow is implemented in both /opt/local/lib/libtk8.6.dylib and /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. Which one is undefined.
Having spent some time trying to determine if it is something in the Pillow update itself or in the MacPorts update, I believe it comes down to this change -
https://trac.macports.org/browser/trunk/dports/python/py-Pillow/files /patch-setup.py.diff?rev=126001#L96
This modification doesn't appear in the Pillow code as far as I can tell. Can I ask stromnov, what I'm missing here? What was the reasoning behind this change?
New description: Since updating from py34-Pillow@2.5.3 to py34-PIllow@2.6.0, I have experienced problems with Pillow on OS X. First, _imagingtk.so cannot be found (from PIL import _imagingtk), and second, the shared libraries Pillow uses don't know whether to link to MacPorts' Tk or my system Tk - {{{ Class TKApplication is implemented in both /opt/local/lib/libtk8.6.dylib and /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. Which one is undefined. Class TKMenu is implemented in both /opt/local/lib/libtk8.6.dylib and /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. Which one is undefined. Class TKContentView is implemented in both /opt/local/lib/libtk8.6.dylib and /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. Which one is undefined. Class TKWindow is implemented in both /opt/local/lib/libtk8.6.dylib and /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. Which one is undefined. }}} Having spent some time trying to determine if it is something in the Pillow update itself or in the MacPorts update, I believe it comes down to this change - browser:trunk/dports/python/py-Pillow/files/patch- setup.py.diff?rev=126001#L96 This modification doesn't appear in the Pillow code as far as I can tell. Can I ask stromnov, what I'm missing here? What was the reasoning behind this change? -- -- Ticket URL: <https://trac.macports.org/ticket/45240#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X