Issue1388

classification
Title: installing Imaging-1.1.6
Type: behaviour Severity: normal
Components: None Versions: 2.5.1
Milestone:
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: fwierzbicki, ulrichenslin
Priority: Keywords:

Created on 2009-06-29.23:22:39 by ulrichenslin, last changed 2009-06-30.10:02:49 by fwierzbicki.

Messages
msg4862 (view) Author: Ulrich Enslin (ulrichenslin) Date: 2009-06-29.23:22:37
I am having trouble installing Python Imaging Library (PIL)
(http://www.pythonware.com/products/pil/) in Jython 2.5.0

Here is the full version info
ulrich@ulrich-laptop:~/apps/installed/Imaging-1.1.6$ jython
Jython 2.5.0 (Release_2_5_0:6476, Jun 16 2009, 13:33:26) 
[Java HotSpot(TM) Server VM (Sun Microsystems Inc.)] on java1.6.0_13
Type "help", "copyright", "credits" or "license" for more information.

And here is what happens if I run it.  It looks like it is looking fro a
C compiler and not finding it.
ulrich@ulrich-laptop:~/apps/installed/Imaging-1.1.6$ jython setup.py build
running build
running build_py
running build_ext
Traceback (most recent call last):
  File "setup.py", line 432, in <module>
    setup(
  File "/home/ulrich/apps/jython2.5.0/Lib/distutils/core.py", line 151,
in setup
    dist.run_commands()
  File "/home/ulrich/apps/jython2.5.0/Lib/distutils/core.py", line 151,
in setup
    dist.run_commands()
  File "/home/ulrich/apps/jython2.5.0/Lib/distutils/dist.py", line 974,
in run_commands
    self.run_command(cmd)
  File "/home/ulrich/apps/jython2.5.0/Lib/distutils/dist.py", line 994,
in run_command
    cmd_obj.run()
  File "/home/ulrich/apps/jython2.5.0/Lib/distutils/command/build.py",
line 112, in run
    self.run_command(cmd_name)
  File "/home/ulrich/apps/jython2.5.0/Lib/distutils/cmd.py", line 333,
in run_command
    self.distribution.run_command(command)
  File "/home/ulrich/apps/jython2.5.0/Lib/distutils/dist.py", line 994,
in run_command
    cmd_obj.run()
  File
"/home/ulrich/apps/jython2.5.0/Lib/distutils/command/build_ext.py", line
290, in run
    self.build_extensions()
  File "setup.py", line 216, in build_extensions
    if find_library_file(self, "z"):
  File "setup.py", line 101, in find_library_file
    return self.compiler.find_library_file(self.compiler.library_dirs,
library)
  File "/home/ulrich/apps/jython2.5.0/Lib/distutils/ccompiler.py", line
940, in find_library_file
    raise NotImplementedError
NotImplementedError
msg4866 (view) Author: Frank Wierzbicki (fwierzbicki) Date: 2009-06-30.10:02:48
Jython does not support c-extensions. As long as PIL depends on
c-extensions, it is beyond the scope of Jython core to support it. 
ctypes would be another story in the 2.5.1 timeframe, but c-extension
support is not planned. Sorry, closing.
History
Date User Action Args
2009-06-30 10:02:49fwierzbickisetstatus: open -> closed
resolution: wont fix
messages: + msg4866
nosy: + fwierzbicki
2009-06-29 23:22:39ulrichenslincreate