problem compiling CLG under SBCL
Dave Phillips <[email protected]> Thu, 13 Dec 2007 08:59:33 -0500
| Newsgroups | gmane.lisp.clg.devel |
|---|---|
| Message-ID | <[email protected]> |
Greetings,
I've joined this list to solve a single problem, hopefully someone here
can help.
I'm trying to build Open Music 5.2.1 for Linux, which requires a
call-back supported SBCL and CLG for GTK 2.0. I have all the pieces in
place, but when I try to call the GTK bindings I receive errors
regarding GTK.
My ~/.sbclrc :
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(require 'asdf)
(setf
(logical-pathname-translations "clg")
'(("**;*.*.*" "/home/dlphilp/src/clg/**/")))
(push
(translate-logical-pathname "clg:systems;")
asdf:*central-registry*)
(require 'gtk)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Then here's what happens when I launch SBCL :
dlphilp@The3800:~> sbcl
This is SBCL 1.0.5, an implementation of ANSI Common Lisp.
debugger invoked on a SIMPLE-ERROR in thread #<THREAD "initial thread"
{A695681}>:
Error during processing of initialization file /home/dlphilp/.sbclrc:
Don't know how to REQUIRE GTK.
Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [CONTINUE] Ignore and continue processing.
1: [ABORT ] Skip this initialization file.
2: Skip to toplevel READ/EVAL/PRINT loop.
3: [QUIT ] Quit SBCL (calling #'QUIT, killing the process).
((LAMBDA (SB-IMPL::E)) #<SB-INT:EXTENSION-FAILURE {ACCB8E9}>)
0] 0
*
If I remove (require 'gtk) and try to build CLG from SBCL here's what
happens :
dlphilp@The3800:~/src/clg> sbcl
This is SBCL 1.0.5, an implementation of ANSI Common Lisp.
* (asdf:oos 'asdf:load-op :gtk)
debugger invoked on a ASDF:MISSING-COMPONENT in thread #<THREAD "initial
thread" {A695741}>:
component "gtk" not found
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.
(ASDF:FIND-SYSTEM :GTK T)
0]
CLG can't find GTK, correct ? Nevertheless, I have the lib and devel
packages (for GTK1 and GTK2) installed according to the default GNOME
paths, which are in the system PATH definition.
I have no idea how to set the central-registry, perhaps that needs
addressed ? Any other possible points to consider ? I'm open to any
suggestions, and I do have a complete development environment set up here.
Btw, I downgraded from SBCL 1.0.12 on Karim's advice, but as you can see
it made no difference.
System is Open SUSE 10.2, GCC 4.1.2. Please advise if other information
is needed. Any and all help will be vastly appreciated. :)
Best regards,
Dave Phillips
http://linux-sound.org
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace