X11R6 , xterm and Libraries

X11R6 , xterm and Libraries

Post by Andy Jamieso » Thu, 15 Jun 1995 04:00:00



Hi All

   I have compiled up X11R6 on Solaris 2.4 using Gcc 2.6.3. I now appear to
have
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.

Thanks

Andy

--

Unix Systems Engineer           | Tel:   +44 (0)131 554 9424
Spider Systems Limited          | Fax:   +44 (0)131 554 0649
Stanwell Street, Edinburgh      | http://www.spider.co.uk/
EH6 5NG, Scotland               |

 
 
 

X11R6 , xterm and Libraries

Post by Casper H.S. D » Thu, 15 Jun 1995 04:00:00



>Hi All
>   I have compiled up X11R6 on Solaris 2.4 using Gcc 2.6.3. I now appear to
>have
>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
    patch.

    *** 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
      #if ThreadedX
      #define SharedX11Reqs -lthread
    + #endif
      #endif
      #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)

 
 
 

1. X11R6 on Solaris 2.4 - xterm problem

Got a strange problem with X11R6 on a machine which I've just upgraded to
Solaris 2.4 - xterm won't exit. When you exit the application (such as a
shell) inside xterm, the xterm itself hangs around. truss shows that the
xterm is indeed receiving the signal from the child to say that it has
exited with status 0; but after this has been received, xterm just goes
blithely on processing X events as usual.

Anyone else seen anything like this?

/Jon

   ________________________ ____ ______________________________________________
  / Dr JW Harley          __\_ /   Academic Computing Service, University of  /

/_________________________ \/ ___Phone:0121 414 6575_____Fax:0121 414 3952__/

2. 2.4.1 kernel

3. Xterms under X11R6...

4. matching sd and dsk references?

5. xterm resources don't work with X11R6 under LinuX

6. Matrox Mystique card: X.11 server crash after some seconds

7. X11R6 xterms won't exit

8. fsck dies-swap space?

9. xterm resources dont't work with X11R6

10. Matrox Mystique ands X.

11. x11r6 xterm

12. XDM: X11R6 vs. OpenWin on Sol 2.4 with NCD xterms

13. Static X11R6 Libraries?