This article is Linux-specific and Metro Link Motif-specific.
Please hit n now if you're not interested.
>Linux Motif 1.2.4 with X11R6 libraries. The tech guy advised me to use the
>old X11R5 libraries.
Yes, it's true we do not plan to update 1.2.x, but you left out why:
Motif 2.0 is out. We are working on porting Motif 2.0 to Linux.
In the meantime, allow me to explain how to make our Linux Motif work
with XFree86-3.1.
Yes, *ia, Motif 1.2.x does work with X11R6, but we have
to rely on the magic of shared libraries and dynamic linking.
The short answer:
Install the libX11 and libXt of XFree86-2.1, and Motif will work.
(Also be sure /usr/X386/lib is in your /etc/ld.so.conf, and run ldconfig.)
The filename is XF86-2.1-lib.tar.gz, and it is available from
your friendly neighborhood Linux archive. Use archie to find one near you.
The long answer:
Motif applications compiled with 1.2.4 WILL WORK with XFree86-3.1 (X11R6).
However, Motif 1.2.4 is based on X11R5, and it depends on
R5's libX11 and libXt. So all you need to do is keep those libraries
(libX11 and libXt) from XFree86-2.1 installed on your system.
Through the magic of dynamic linking, the proper libraries will be
linked in.
I agree it would be nice if Motif would work seamlessly with R6,
but this is the way things are:
XFree86-2.1 is based on X11R5.
XFree86-3.1 is based on X11R6.
X11R5 != X11R6
Motif 1.2.4 is based on X11R5.
Motif 2.0 is based on X11R5.
Motif 2.1 will be based on X11R6. (?)
Linux's shared dynamic linker (ld.so) provides a [IMHO solution] work-around,
and in fact the whole concept of major versions of shared libraries
was designed exactly for a situation like this.
This sounds to me like cutting off your nose to spite your face.Quote:>As I have no plan to keep old libraries taking the disk-space, I removed
>motif from the disk altogether. Would somebody give me $100 for this
>package ?
Let's see how much space the old libraries actually take up:
/usr/X386/lib/libX11.sa 157756
/usr/X386/lib/libXt.sa 80440
/usr/X386/lib/libX11.so.3.1.0 320516
/usr/X386/lib/libXt.so.3.1.0 291844
For a total of 850556 bytes. Plus a couple of symbolic links
that ldconfig(8) will make. I don't know...that doesn't seem like
a whole lot of space to me, but disk space is a scarce resource,
and everyone has to set his own priorities.
Bottom line is that we support our customers, and we are working on
providing the latest technology both in X and Motif.
Pay no attention to the boilerplate: I am speaking for Metro Link this time.
--
"Do not play this piece fast. It is never right to play Ragtime fast." Joplin