Re: clx failure

Eric Marsden <[email protected]> Wed, 17 Mar 2010 09:12:33 +0100
Newsgroups gmane.lisp.ecl.general,gmane.lisp.clx.devel
Message-ID <[email protected]>
>>>>> "js" == Julian Stecklina <[email protected]> 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


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev