From: schweng@astro.unibas.ch (Hans Schwengeler)
Subject: Re: DU v4's libXt is missing a few things
Date: 1998/06/05 [thread overview]
Message-ID: <357797ad.0@maser.urz.unibas.ch> (raw)
In-Reply-To: Eu1Gs2.Jt0@campus-news-reading.utoronto.ca
In article <Eu1Gs2.Jt0@campus-news-reading.utoronto.ca>,
mark@cita.toronto.edu (Mark Bartelt) writes:
> [ me, earlier today ]
>
>>> For now, I've (temporarily) replaced the v4 libXt stuff with the
>>> ones from v3. But this seems like a bad hack.
>
> And, it turns out, worse than I realized at first: It has the rather
> unfortunate side-effect of preventing one from having a useful login
> session on the console (I'd previously tried running the application
> that needs those old v3 libXt routines via an rlogin session, DISPLAY
> pointing back to my own machine), since apparently the window manager
> (and/or the various things you can select from the session manager's
> "Applications" menu) require some of the new routines that exist only
> in the v4 libXt.
>
> So I've restored the v4 libXt, but that means we're dead in the water
> in terms of being able to run any applications that require old libXt
> routines which no longer exist in the v4 libXt. So any help that any
> of you might be able to offer would be greatly appreciated.
>
> Mark Bartelt 416/978-5619
> Canadian Institute for mark@cita.utoronto.ca
> Theoretical Astrophysics http://www.cita.utoronto.ca/~mark
>
> "Clothes not busy being worn are busy drying." -- Dylan, on laundry day
> [ singing "It's all right, ma (I'm only bleaching)" ]
Dear Mark,
I'd do someting along the lines of netscape. The directory
structure of netscape-3.04 looks like:
% dir /usr/local/bin/netscape-3.04
total 7806
drwxr-xr-x 3 bin bin 512 Nov 17 1997 ./
drwxr-xr-x 10 root system 22016 Jun 2 18:14 ../
-r--r--r-- 1 bin bin 12965 Oct 10 1997 LICENSE
-r--r--r-- 1 bin bin 222837 Oct 10 1997 Netscape.ad
-r--r--r-- 1 bin bin 9832 Oct 10 1997 README
-r--r--r-- 1 bin bin 4674 Oct 18 1994 XKeysymDB
-r--r--r-- 1 bin bin 737954 Oct 10 1997 java_301
-r--r--r-- 1 bin bin 614400 Nov 17 1997 libXt.so
-r--r--r-- 1 bin bin 40960 Oct 10 1997 libnullplugin.so
-r-xr-xr-x 1 bin bin 24576 Oct 10 1997 movemail*
drwxr-xr-x 2 bin bin 512 Oct 10 1997 movemail-src/
-r-xr-xr-x 1 bin bin 1304 Nov 17 1997 netscape*
-r-xr-xr-x 1 bin bin 6250496 Oct 10 1997 real-netscape*
The shell script 'netscape' looks like:
% more /usr/local/bin/netscape-3.04/netscape
#!/bin/ksh
NAVDIR=`dirname $0`
uname -a | grep -q V4.0
if [ $? -eq 0 ]
then
if [ -f $NAVDIR/libXt.so ]
then
export LD_LIBRARY_PATH=$NAVDIR
else
echo "WARNING: This script can't find the modified X Toolkit library"
echo "that is required for Java applets to function correctly."
echo "You must either ensure that this script resides in the"
echo "same directory as the modified libXt or modify this script"
echo "to set the LD_LIBRARY_PATH environment variable to point to the"
echo "alternate directory you've installed it in. See the"
echo "README.Digital file that came with this kit for more"
echo "information."
echo
echo "Invoking Netscape, but don't expect Java to work..."
echo
fi
fi
if [ -x $NAVDIR/real-netscape ]
then
exec $NAVDIR/real-netscape -name netscape $*
else
echo "ERROR: This script can't find the real-netscape binary."
echo "You must either ensure that this script resides in the same"
echo "directory as the real-netscape binary or modify this script"
echo "to invoke the real-netscape binary from whatever alternate"
echo "directory you've installed it in. See the README.Digital"
echo "file that came with this kit for more information."
exit 0
fi
The real exectuable netscape is (re-)named 'real-netscape'.
I.e. netscape uses the "local" libXt.so library and the system library
(in /usr/lib) is not used.
Yours, hs.
--
===============================================================================
Hans Schwengeler DECNET/SPAN: 20579::48130::SCHWENGELER
Astronomical Institute INTERNET: schweng@astro.unibas.ch
University of Basel schwengeler@urz.unibas.ch
Venusstrasse 7
CH-4102 Binningen PHONE: +41 61 20 55 422
Switzerland FAX: +41 61 20 55 455
===============================================================================
next prev parent reply other threads:[~1998-06-05 4:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-06-04 4:00 DU v4's libXt is missing a few things Mark Bartelt
1998-06-04 4:00 ` Mark Bartelt
1998-06-04 4:00 ` Alexander Kogan
1998-06-05 4:00 ` Hans Schwengeler [this message]
1998-06-05 4:00 ` SUMMARY: " Mark Bartelt
1998-06-04 4:00 ` Kaleb S. KEITHLEY
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