> I have compiled up X11R6 on Solaris 2.4 using Gcc 2.6.3. I now appear to
>a problem with `xterm`. The program starts fine but when exiting the shell or
>killing the window it hangs, and clocks up CPU time. Can anybody suggest
>any problems which I should look at.
The solaris FAQ says:
6.6) X11R6 on Solaris 2.4 won't run. Xinit dies with "User Signal 1".
Xterms won't die.
Some changes in libc.so and libthread.so break the way libthread is
linked with libX11.so. Apply the following patch and rebuild
libX11.so. Remember to change OSMinorVersion to 4 as well.
Another symptom is xterms staying around in a frozen state after
exiting the inferior shell process.
Note that you must reinstall the X libraries with "make install"
before xterm works right.
For multithreaded X to work it necessary to install patch
101925-02 to fix problems in header files [2.4]. You need
to reinstall gcc or re-run just-fixinc after installing that
*** xc/config/cf/sunLib.tmpl.org Sat Apr 9 01:15:25 1994
--- xc/config/cf/sunLib.tmpl Wed Jan 11 10:59:03 1995
*** 37,44 ****
--- 37,46 ----
#else /* else it's Solaris */
+ #if OSMinorVersion < 4
#define SharedX11Reqs -lthread
#define SharedXmuReqs $(LDPRELIB) $(XTOOLLIB) $(XLIB)
#define FixupLibReferences() /**/
--- end of excerpt from the FAQ
Questions marked with a * or + have been changed or added since
the FAQ was last posted
The most recently posted version of the FAQ is available from
ftp.fwi.uva.nl in directory /pub/solaris
Casper Dik - Network Security Engineer - Sun Microsystems
This article is posted from my guest account at the University
Opinions expressed here are mine (but you're welcome to share them with me)