[Image-SIG] Porting PIL to Tru64

Kjetil Kjernsmo kjetil.kjernsmo@astro.uio.no
Tue, 24 Apr 2001 11:51:47 +0200 (MET DST)


Dear all,

I have grown soooo sick and tired of xfig I've just got to port Sketch to
Tru64 UNIX (formerly Digital UNIX, osf1V4 or something like that). :-)
To do that, I've got to port PIL, I guess, but I'm stuck.
Unless, of course, somebody allready did, in which case I would be happy
to hear about it.

Anyway, I started last week by having someone install python-2.0
system-wide. I soon ran into the trouble I'm about to describe and gave
up, but my itches was so bad last night, I just got to get it done.

I have compiled both v1.0, which is linked from the Sketch pages and now
v1.1.1. I have used different compilers, both gcc and Compaq's cc. There
is an installation of tcl and tk versions 8.0 and 8.3. I have tried to
link them both (but I haven't tried every possible combination of these).
According to my sysadmin, they are both well tested.

The compilation seems to go through without any trouble, all I need to do
is change a path to where tk and tcl libraries are in the Setup-file.

After having set
setenv PYTHONPATH $HOME/lib/python/site-packages:$HOME/lib/python/site-packages/PIL
setenv LD_LIBRARY_PATH /astro/local/lib:/local/lib:/local/X11R6/lib
(yes, I know I should use a different shell) I run python:

Python 2.0 (#2, Nov 13 2000, 15:15:57) [C] on osf1V4
Type "copyright", "credits" or "license" for more information.
>>> import _imaging
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: Unresolved symbol in /astro/local/lib/libtk8.0.so: XGetInputFocus

I'm not much of a hacker, so I really don't have much of a clue as to how
to address this. So, if anybody feels like taking my paw and guide me
through this, it would be appreciated.

Best,

Kjetil
-- 
Kjetil Kjernsmo
Graduate astronomy-student                    Problems worthy of attack
University of Oslo, Norway            Prove their worth by hitting back
E-mail: kjetikj@astro.uio.no                                - Piet Hein
Homepage <URL:http://www.astro.uio.no/~kjetikj/>
Webmaster@skepsis.no