From: Denis Anthony
Subject: Re: Running the demo program "menu" for CLX, can't get it going, need help
Date: 
Message-ID: <1g3mbgh6@csv.warwick.ac.uk>
In article <············@early-bird.think.com> ······@think.com (Barry Margolin) writes:
>
>That should be
>
>(xlib::just-say-lisp "mr-macgregor")

I have some residual problem, and would appreciate help on it. I am
not sure whether I have a failure at compile time for CLX, or am
running the demo program wrongly. I do get some warnings on compile
time, and I get the error on run time that the program can not find
the server.

Here is the script file of compilation and running (apologies for
length of transmission).

Script started on Tue Jul 21 16:10:50 1992
mr-macgregor>~ :cd CLX
mr-macgregor>~/CLX :lisp
;;; Sun Common Lisp, Development Environment 4.0.1, 6 July 1990
;;; Sun-4 Version for SunOS 4.0.x and sunOS 4.1 

;;; deleted login stuff

> (load "defsystem")
;;; Loading source file "defsystem.lisp"
#P"/usr2/staff/dma/CLX/defsystem.lisp"
> (compile-clx)
;;; Default paths: #P"" #P""
;;; You are using the compiler in production mode (compilation-speed = 0)
;;; Reading source file "package.lisp"
;;; Writing binary file "package.sbin"
;;; Loading binary file "package.sbin"
;;; cc -c socket.c -o socket.o -DUNIXCONN
;;; Loading foreign object file "socket.o"
;;; Reading library file "/lib/libc.a"
;;; Warning: The following foreign symbols are undefined: (__DYNAMIC _XUseKeymap _xv_block_loop _xv_block_return)
;;; Reading source file "depdefs.lisp"
;;; Writing binary file "depdefs.sbin"
;;; Loading binary file "depdefs.sbin"
;;; Reading source file "clx.lisp"
;;; Writing binary file "clx.sbin"
;;; Loading binary file "clx.sbin"
;;; Reading source file "dependent.lisp"
;;; Expanding Dynamic Memory
;;; Writing binary file "dependent.sbin"
;;; Loading binary file "dependent.sbin"
;;; Reading source file "macros.lisp"
;;; Writing binary file "macros.sbin"
;;; Loading binary file "macros.sbin"
;;; Reading source file "bufmac.lisp"
;;; Writing binary file "bufmac.sbin"
;;; Loading binary file "bufmac.sbin"
;;; Reading source file "buffer.lisp"
;;; Writing binary file "buffer.sbin"
;;; Loading binary file "buffer.sbin"
;;; Reading source file "display.lisp"
;;; GC: 92780 words [371120 bytes] of dynamic storage in use.
;;; 578962 words [2315848 bytes] of free storage available before a GC.
;;; 1250704 words [5002816 bytes] of free storage available if GC is disabled.
;;; Writing binary file "display.sbin"
;;; Loading binary file "display.sbin"
;;; Reading source file "gcontext.lisp"
;;; GC: 209446 words [837784 bytes] of dynamic storage in use.
;;; 462296 words [1849184 bytes] of free storage available before a GC.
;;; 1134038 words [4536152 bytes] of free storage available if GC is disabled.
;;; Writing binary file "gcontext.sbin"
;;; Loading binary file "gcontext.sbin"
;;; Reading source file "input.lisp"
;;; Writing binary file "input.sbin"
;;; Loading binary file "input.sbin"
;;; Reading source file "requests.lisp"
;;; GC: 153486 words [613944 bytes] of dynamic storage in use.
;;; 518256 words [2073024 bytes] of free storage available before a GC.
;;; 1189998 words [4759992 bytes] of free storage available if GC is disabled.
;;; GC: 331272 words [1325088 bytes] of dynamic storage in use.
;;; 340470 words [1361880 bytes] of free storage available before a GC.
;;; 1012212 words [4048848 bytes] of free storage available if GC is disabled.
;;; GC: 217920 words [871680 bytes] of dynamic storage in use.
;;; 453822 words [1815288 bytes] of free storage available before a GC.
;;; 1125564 words [4502256 bytes] of free storage available if GC is disabled.
;;; Writing binary file "requests.sbin"
;;; Loading binary file "requests.sbin"
;;; Reading source file "fonts.lisp"
;;; GC: 159540 words [638160 bytes] of dynamic storage in use.
;;; 512202 words [2048808 bytes] of free storage available before a GC.
;;; 1183944 words [4735776 bytes] of free storage available if GC is disabled.
;;; Writing binary file "fonts.sbin"
;;; Loading binary file "fonts.sbin"
;;; Reading source file "graphics.lisp"
;;; Writing binary file "graphics.sbin"
;;; Loading binary file "graphics.sbin"
;;; Reading source file "text.lisp"
;;; GC: 130024 words [520096 bytes] of dynamic storage in use.
;;; 541718 words [2166872 bytes] of free storage available before a GC.
;;; 1213460 words [4853840 bytes] of free storage available if GC is disabled.
;;; Writing binary file "text.sbin"
;;; Loading binary file "text.sbin"
;;; Reading source file "attributes.lisp"
;;; Writing binary file "attributes.sbin"
;;; Loading binary file "attributes.sbin"
;;; Reading source file "translate.lisp"
;;; Writing binary file "translate.sbin"
;;; Loading binary file "translate.sbin"
;;; Reading source file "keysyms.lisp"
;;; Writing binary file "keysyms.sbin"
;;; Loading binary file "keysyms.sbin"
;;; Reading source file "manager.lisp"
;;; Writing binary file "manager.sbin"
;;; Loading binary file "manager.sbin"
;;; Reading source file "image.lisp"
;;; GC: 217344 words [869376 bytes] of dynamic storage in use.
;;; 454398 words [1817592 bytes] of free storage available before a GC.
;;; 1126140 words [4504560 bytes] of free storage available if GC is disabled.
;;; Writing binary file "image.sbin"
;;; Loading binary file "image.sbin"
;;; Reading source file "resource.lisp"
;;; Writing binary file "resource.sbin"
;;; Loading binary file "resource.sbin"
#P"/usr2/staff/dma/CLX/resource.sbin"
> (load-clx)
;;; Loading binary file "package.sbin"
;;; Loading foreign object file "socket.o"
;;; Warning: In socket.o: Redefining foreign-symbol _connect_to_server.
;;; Reading library file "/lib/libc.a"
;;; Warning: The following foreign symbols are undefined: (__DYNAMIC _XUseKeymap _xv_block_loop _xv_block_return)
;;; Loading binary file "depdefs.sbin"
;;; Loading binary file "clx.sbin"
;;; Loading binary file "dependent.sbin"
;;; Loading binary file "buffer.sbin"
;;; Loading binary file "display.sbin"
;;; Loading binary file "gcontext.sbin"
;;; Loading binary file "input.sbin"
;;; Loading binary file "requests.sbin"
;;; Loading binary file "fonts.sbin"
;;; Loading binary file "graphics.sbin"
;;; Loading binary file "text.sbin"
;;; Loading binary file "attributes.sbin"
;;; Loading binary file "translate.sbin"
;;; Loading binary file "keysyms.sbin"
;;; Loading binary file "manager.sbin"
;;; Loading binary file "image.sbin"
;;; Loading binary file "resource.sbin"
#P"/usr2/staff/dma/CLX/resource.sbin"
> (load "DEMO/menu")
;;; Loading source file "DEMO/menu.lisp"
#P"/usr2/staff/dma/CLX/DEMO/menu.lisp"
> (xlib::just-say-lisp "mr-macgregor")
>>Error: Failed to connect to server: mr-macgregor 0

XLIB::OPEN-X-STREAM:
   Required arg 0 (HOST): "mr-macgregor"
   Required arg 1 (DISPLAY): 0
   Required arg 2 (PROTOCOL): NIL
:A  0: Abort to Lisp Top Level

-> (quit)
mr-macgregor>~/CLX :

script done on Tue Jul 21 16:41:52 1992