[Image-SIG] Porting PIL to Tru64

Kjetil Kjernsmo kjetil.kjernsmo@astro.uio.no
Thu, 26 Apr 2001 11:49:35 +0200 (MET DST)


Thanks a lot for the response!

On Thu, 26 Apr 2001, Fredrik Lundh wrote:

>Kjetil Kjernsmo wrote:
>> 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.
>
>I've used PIL on that platform since long before it was known as
>tru64, and we do test all releases on that platform.

Good!

>> 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
>
>looks like you're using a non-standard X11 install (/local/X11R6 is
>not where X11 is installed by default).  if that's the case, the only
>ones who can help you here are your local sysadms.

Hm... Actually, we are discouraged from setting LD_LIBRARY_PATH at all,
and if we do set it, it should be in a wrapper script.... Anyway, there
exists a symlink /local/X11 -> /local/X11R6, so it is there. I always
heard that it's /local/X11R6/lib I would include in LD_LIBRARY_PATH if I
did include anything.

But wouldn't this mean that changing
setenv LD_LIBRARY_PATH /astro/local/lib:/local/lib:/local/X11R6/lib
to
setenv LD_LIBRARY_PATH /astro/local/lib:/local/lib:/local/X11/lib
would solve the problem?

>> ImportError: Unresolved symbol in /astro/local/lib/libtk8.0.so: XGetInputFocus
>
>fwiw, this symbol is usually defined in libX11.a (or libX11.so).

I see. I found this in /local/X11/lib:
lrwxr-xr-x   1 root     system        13 Nov 10 23:41 libX11.so -> libX11.so.6.1
-rw-r--r--   1 root     staff    1155072 Nov 11  1998 libX11.so.6.1

does this make sense...?

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