On Mon, 27 Dec 1999, Martin Buchholz <martin(a)xemacs.org> wrote:
>>>>> "KMH" == Karl M Hegbloom
<karlheg(a)inetarena.com> writes:
KMH> On my machine, there is:
KMH> /usr/X11R6/include/X11/Xaw{,3d}
KMH> ... and /usr/include/X11 -> ../X11R6/include/X11/
KMH> I've found that it is important that /usr/X11R6/lib is BEFORE
KMH> /usr/X11R6/lib/Xaw3d in /etc/ld.so.conf, otherwise, XEmacs is
KMH> built with flat athena headers, but run-time links to athena3d.
KMH> Hope this helps.
If you create a `drop-in' replacement for something else, you had
better make sure you do it right. Xaw3d, however, randomly crashes
applications that subclass Athena widgets, so we will have crash
reports from here to eternity.
Indeed. That's the second most irritating thing about Xaw3d and friends.
The most irritating is that they get installed over the top (or looking
like it) of Xaw.so in a lot of places.
Daniel or Andy, suggestions?
The new configure stuff will try to link with -lXaw3d when using the 3D
stuff. That's usually there any prevents the problem one way around. As
to going the other... um... static linking?
I can't see any way, other than big red letters in the PROBLEMS file of
avoiding the particular lossage with flat Xaw. Painfully. As long as
people put incompatible libraries over the top of each other... :(
Do we have to subclass the Athena widgets?
I don't know, X is still mostly a mystery to me :/
Daniel
(Back from holidays and just under a thousand messages :)
--
Lispers are among the best grads of the Sweep-It-Under-Someone-Else's-Carpet
School of Simulated Simplicity. [Was that sufficiently incendiary? :-)]
-- Larry Wall in <1992Jan10.201804.11926(a)netlabs.com>