Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: iglesias@draco.acs.uci.edu (Mike Iglesias)
Subject: Re: Binary compatibility between OS revisions
Date: 1996/10/11	[thread overview]
Message-ID: <53lp1u$giu@news.service.uci.edu> (raw)
In-Reply-To: mark.845006846@declan


In article <mark.845006846@declan>,
Mark C Favas - SysAd <mark@chem.uwa.edu.au> wrote:
>One case of NON-upwards compatability I've come across involves Netscape
>Navigator Gold, Version 3.0 (Version 3.0-96241, to be specific, but the
>problem occurs with all Version 3's I've tried, including the betas). Netscape
>runs fine on a Digital Unix V4.0 (Rev 386) system except when it comes to run
>Java applets, where it silently fails (no core dump either). Bringing up the
>Java console window brings up the basic window, but without horizontal or
>vertical scrollbars, or any text or buttons. The same binary runs properly on
>a DU 3.2 system, either displaying there or displaying on the 4.0 system.

This happens because Netscape is trying to do something behind the
back of the X code, and that code changed when DU 4.0 went to X11R6.

The note below details what the "problem" is and how to get around it.


-- 
Mike Iglesias                        Internet:    iglesias@draco.acs.uci.edu
University of California, Irvine     phone:       (714) 824-6926
Office of Academic Computing         FAX:         (714) 824-2069


================================================================================
We've discovered that the Java problem is the result of Navigator's
  reliance on some internal implementation details of the X Toolkit
  library (libXt) that changed between X11R5 and X11R6.

X11R5, which is included with Digital Unix v3.2C, provided a libXt
  that utilizes the C-RTL routine select() for handling IO between
  the client and the X server.  Navigator depends upon being able
  to intercept this call so that it can switch between the various
  threads it maintains.

With X11R6, which is included with Digital Unix v4.0, vendors can
  optionally compile libXt to use the C-RTL call poll() instead of
  select() for client/server IO.  The default for Digital Unix
  and all other operating systems that support the poll() call 
  is to build libXt with this option turned on, since using
  poll() instead of select() can enhance performance significantly.

  Unfortunately, Netscape has not yet modified Navigator to work
  properly with a libXt that uses poll() instead of select(), 
  with the result that secondary threads (like those used to run
  Java applets and the Java console) never execute.

  We are currently working with Netscape to get them to fix this
  bug, which will affect most other Unix vendors as well when
  they move to X11R6 and ship a libXt built in the recommended 
  way.  Meanwhile, the workaround mentioned can be used.

==============================================================================i



Solution
--------

1) As root, create directories

   /usr/3.2D and then /usr/3.2D/shlib

2) Copy Digital 3.2D UNIX files 

   /usr/shlib/libX11.so
   /usr/shlib/libXext.so
   /usr/shlib/libXm.so
   /usr/shlib/libXmu.so
   /usr/shlib/libXt.so

   into /usr/3,2D/shlib

DO NOT replace the 4.0 libraries with these!

   Change group and ownership to bin

   ie. chown bin:bin  *.* 

3) Exit as root and set the environmental variable 
   LD_LIBRARY_PATH to point to these new shared
   libraries

   ie. LD_LIBRARY_PATH=/usr/3.2d/shlib

   Netscape can now load secondary threads to run
   java applets etc.





      reply	other threads:[~1996-10-11  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-09-25  4:00 Binary compatibility between OS revisions James Bonfield
1996-10-03  4:00 ` Craig Neth
1996-10-11  4:00   ` Mark C Favas - SysAd
1996-10-11  4:00     ` Mike Iglesias [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox