[Ecls-list] Re: ECL and CLX

GP lisper spambait at CloudDancer.com
Mon Aug 22 11:28:03 UTC 2005


On Mon, 22 Aug 2005 15:57:03 +0200, <goffioul at imec.be> wrote:
> I just tried with a fresh CVS update and I could run the CLX demos.

The current CVS builds differently now than when I posted.

> The important points are:
> 1) (require 'sockets)

Others have said that 'sockets are not required, only the 'tcp' in configure.

> (require 'sockets)
;;; Loading #P"/usr/local/src/ecls-cvs/build/sockets.fas"
;;; Warning: PRINT-OBJECT is being redefined.
;;; Warning: SHARED-INITIALIZE is being redefined.
;;; Warning: PRINT-OBJECT is being redefined.
;;; Warning: Redefining class INTERRUPTED-ERROR
;;; Warning: PRINT-OBJECT is being redefined.
("SOCKETS")

I'm used to seeing NIL after an ASDF require in CMUCL.


> 2) (require 'clx)

> (require 'clx)
;;; Loading #P"/usr/local/src/ecls-cvs/build/clx.fas"
;;; Warning: PRINT-OBJECT is being redefined.
...
;;; Warning: TYPE-ERROR-DATUM is being redefined.
;;; Warning: TYPE-ERROR-EXPECTED-TYPE is being redefined.
;;; Warning: PRINT-OBJECT is being redefined.
...
;;; Warning: PRINT-OBJECT is being redefined.
NIL


> 3) make sure the display numbers match (clx-demos.lisp uses 10, while
> hello.lisp uses the default one, 0).

> (load "~/ecls/src/clx/demo/hello")
;;; Loading #P"/usr/local/rcvs/ecls/src/clx/demo/hello.lisp"
#P"/usr/local/rcvs/ecls/src/clx/demo/hello.lisp"
> (xlib::hello-world "localhost")
The function SI::OPEN-CLIENT-STREAM is undefined.
Broken at XLIB:OPEN-DISPLAY.
>>> (xlib::open-display "localhost")
The function SI::OPEN-CLIENT-STREAM is undefined.
Broken at XLIB:OPEN-DISPLAY.
>>>> (xlib::hello-world "192.168.2.30")
The function SI::OPEN-CLIENT-STREAM is undefined.
Broken at XLIB:OPEN-DISPLAY.
>>>>> (xlib::open-display "192.168.2.30")
The function SI::OPEN-CLIENT-STREAM is undefined.
Broken at XLIB:OPEN-DISPLAY.


The CLX 'Hello-World or 'Menu in CMUCL Extras works fine.


-- 
Program A uses CLOS, Program B is implemented with structs, leading
to a fourfold increase in execution speed.  --J. B. Heimatseiten





More information about the ecl-devel mailing list