Newsgroups: comp.lang.lisp
Path: cantaloupe.srv.cs.cmu.edu!nntp.club.cc.cmu.edu!goldenapple.srv.cs.cmu.edu!das-news2.harvard.edu!news.dfci.harvard.edu!camelot.ccs.neu.edu!news.mathworks.com!howland.erols.net!blackbush.xlink.net!news.ppp.net!news.Hanse.DE!wavehh.hanse.de!cracauer
From: cracauer@wavehh.hanse.de (Martin Cracauer)
Subject: Re: CMUCL and CLX Question
Message-ID: <1997Mar26.092104.3310@wavehh.hanse.de>
Keywords: CMU COMMON LISP CLX
Reply-To: cracauer@wavehh.hanse.de
Organization: '(a (cons tructive organization))
References: <5h93ap$7j5@ecom7.ecn.bgu.edu>
Date: Wed, 26 Mar 97 09:21:04 GMT
Lines: 48

xmas@uxa.ecn.bgu.edu (Mark A. Stevens) writes:

>I've given up try to make GCL and CLX work and now I'm trying to get
>the CMUCL and CLX packages for Solaris 2 (SunOS 5) to work.

>I've got CMU's LISP running on my system (sparc4m running Solaris 2.4)
>and when I get errors, the debug screen comes up on my X-Window server
>(Pentium running Linux 1.3.20), but I can't get CLX to open a window.
>It seems to boil down to the following:

>I loaded the following packages:

>(in-package 'CLX)
>(in-package 'SI)

>and then loaded a demo program from the CLX distribution I got for GCL 2.xL

>(load "/opt/local/src/gcl/CLX-5.02-gcl-2.1/demo/menu.l")

>The debugger kicks in after I enter the following line:

>(xlib::just-say-lisp "")

>and I get the "Error Message:" in an X Window, named Debugger:

>Error in function XLIB::OPEN-X-STREAM:
>Failed to connect to X11 server: (display 0)

>This is displayed in the X window created by the CMUCL debugger. So, if
>it couldn't find it, how come I've got an X window telling me it can't
>find the display? I'm seriously confused here.

The Motif debugger is a standalone process, the debugger X11 window is
not opened by the Lisp process. The Motif debugger does not use CLX.

For CLX, I seem to recall something about the syntax of the display
specification. Something linke adding a ".0", i.e. try "hostname:0.0"
when you previously tried "hostname:0".

If it still doesn't work, please post the display specification you
use. 

Martin
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin_Cracauer@wavehh.hanse.de http://cracauer.cons.org  Fax.: +4940 5228536
"As far as I'm concerned,  if something is so complicated that you can't ex-
 plain it in 10 seconds, then it's probably not worth knowing anyway"- Calvin
