Ticket #5935 (closed Bug: fixed)
Universal Installer fails to build PIL on some archetectures including x64 Ubuntu
| Reported by: | scw | Owned by: | kamalgill |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.5.5 |
| Component: | Installers | Keywords: | |
| Cc: |
Description
Under some conditions, the universal installer (tested with the 2.5.1 installer) will fail to build the Python Imaging Library (PIL) because of a forced Tk dependency. This Tk dependency is for building the TkInter package, used to build Tk GUIs from within Python.
I've attached a patch which circumvents the issue by patching PIL to disable the check for Tk.
Attachments
Change History
Changed 5 years ago by scw
-
attachment
install.sh.patch
added
comment:1 Changed 4 years ago by smcmahon
- Owner changed from dreamcatcher to kamalgill
I believe I've narrowed this down to situations where the Python build finds the Tk development headers, but the PIL build doesn't.
Blocking the PIL attempt to build Tk support seems reasonable. The only thing lost is support for the Tk image format.
The 3.0 Unified Installer trunk now patches PIL's setup.py as suggested.
If there's another 2.5.x series Unified Installer, we may wish to apply the same fix. I'm marking this for Kamal to help us track that possibility.
comment:2 Changed 4 years ago by kamalgill
- Status changed from new to closed
- Component changed from Installer (Windows) to Installer (Unified)
- Resolution set to fixed
Fixed in 3.x series of Unified Installer

install.sh patch to fix PIL issues