Ticket #5935 (closed Bug: fixed)

Opened 5 years ago

Last modified 3 years ago

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

install.sh.patch Download (727 bytes) - added by scw 5 years ago.
install.sh patch to fix PIL issues

Change History

Changed 5 years ago by scw

install.sh patch to fix PIL issues

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

comment:3 Changed 4 years ago by datakid

This doesn't work out of the box for 2.5.5

I've found though, that if you add the substance of the patch in at line 456 of the install.sh provided with the 2.5.5-UnifiedInstaller (instead of the above's line 322) it works.

comment:4 Changed 3 years ago by hannosch

  • Component changed from Installer (Unified) to Installers
Note: See TracTickets for help on using tickets.