Re: CLG-DISPLAY ?
Dave Phillips <[email protected]> Sun, 23 Dec 2007 11:36:31 -0500
| Newsgroups | gmane.lisp.clg.devel |
|---|---|
| Message-ID | <[email protected]> |
(I've cc'd this message to Rick Taube, I think he's had some experience with CLG too). Andras Simon wrote: > On 12/18/07, Dave Phillips <[email protected]> wrote: > >> Greetings again, >> >> I've managed to build Open Music 5.2.1 for Linux, using SBCL 1.0.5 and >> CVS CLG. I've saved the om image, but it fails to run. I receive >> warnings about CLG-DISPLAY not being set. Where & how do I set it ? >> > > I hope that someone with the necessary know-how will chip in, but in > the meantime: > > om::*clg-display* seems to be set in image/linux/init.lisp (in the OM > tree) with > > (setf *clg-display* (gtk::clg-init)) > > so you could perhaps try > > (setf om::*clg-display* (gtk::clg-init)) > > in the repl and see if it helps. I don't see any uses of > *clg-display*, but calling clg-init is important. You can also try to > load that whole init.lisp file. > > I hope this helps a little. Thanks, Andras, I appreciate your assistance. Alas, it doesn't work. I still end up with this error: dlphilp@The3800:~/src/openmusic/OM-5.2.1/image/linux> sbcl --core om This is SBCL 1.0.5, an implementation of ANSI Common Lisp. More information about SBCL is available at <http://www.sbcl.org/>. SBCL is free software, provided as is, with absolutely no warranty. It is mostly in the public domain; some portions are provided under BSD-style licenses. See the CREDITS and COPYING files in the distribution for more information. WARNING: Error calling finalizer #<CLOSURE (LAMBDA #) {989590D}>: #<SB-SYS:MEMORY-FAULT-ERROR {D5D5089}> * (setf om::*clg-display* (gtk::clg-init)) ; in: LAMBDA NIL ; (SETF |OpenMusic|::*CLG-DISPLAY* (GTK:CLG-INIT)) ; ==> ; (SETQ |OpenMusic|::*CLG-DISPLAY* (GTK:CLG-INIT)) ; ; caught WARNING: ; undefined variable: |OpenMusic|::*CLG-DISPLAY* ; ; caught WARNING: ; This variable is undefined: ; |OpenMusic|::*CLG-DISPLAY* ; ; compilation unit finished ; caught 2 WARNING conditions debugger invoked on a SIMPLE-ERROR in thread #<THREAD "initial thread" {D5D1781}>: When running clg in Slime, the communication style FD-HANDLER must be used in combination with asynchronous event handling on this platform. See the README file and <http://common-lisp.net/project/slime/doc/html/slime_45.html> for more information. Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL. restarts (invokable by number or by possibly-abbreviated name): 0: [ABORT] Exit debugger, returning to top level. (GTK::%INIT-ASYNC-EVENT-HANDLING NIL) 0] (SB-EXT:QUIT) This problem is quite vexing. No-one seems to have any idea what the variable is or does, and there is no information regarding it on Google. Still, it's only generating a warning, so perhaps it's not my real problem ? The error seems to be related to SLIME, not CLG. At this point I'm completely stopped until someone can get me past this blockage. Any & all suggestions will be vastly appreciated. :) Again, my system is running a 2.6.19 rt kernel, with SBCL 1.0.5 and CVS CLG. GCC is 4.1.2 under OpenSUSE 10.2. PS: My apologies for being so dull-witted. Debugging Lisp is not something I'm at all good at... Best, dp ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/