[Ecls-list] clx failure

Eric Marsden eric.marsden at free.fr
Wed Mar 17 08:12:33 UTC 2010


>>>>> "js" == Julian Stecklina <js at alien8.de> writes:

  js> X-Error: Connection failure to X11.0 server  display 0: No protocol specified

Possibly CLX will work better on ECL with the following patch.


  
diff -rN -u old-csr-clx/dependent.lisp new-csr-clx/dependent.lisp
--- old-csr-clx/dependent.lisp	2010-03-17 09:10:36.000000000 +0100
+++ new-csr-clx/dependent.lisp	2010-03-17 09:10:36.000000000 +0100
@@ -2873,10 +2873,9 @@
   "Return the same hostname as gethostname(3) would"
   ;; machine-instance probably works on a lot of lisps, but clisp is not
   ;; one of them
-  #+(or cmu sbcl) (machine-instance)
+  #+(or cmu sbcl ecl) (machine-instance)
   ;; resources-pathname was using short-site-name for this purpose
   #+excl (short-site-name)
-  #+ecl (si:getenv "HOST")
   #+clisp (let ((s (machine-instance))) (subseq s 0 (position #\Space s)))
   #-(or excl cmu sbcl ecl clisp) (error "get-host-name not implemented"))
 

-- 
Eric Marsden





More information about the ecl-devel mailing list