Hi,

I am trying Mariano's approach below, and run into a problem while loading McClim.
It looks like the package XLIB cannot be found, while loading the image package.
Does anyone have an idea of how to proceed?

Thanks for your help,
Bruce



CL-USER> (ql:quickload :mcclim)
To load "mcclim":
  Install 5 Quicklisp releases:
    clx flexichain mcclim slime spatial-trees
; Fetching #<URL
             "http://beta.quicklisp.org/archive/clx/2012-05-20/clx-20120520-git.tgz">
; 430.70KB
==================================================
441,036 bytes in 0.05 seconds (8972.90KB/sec)
; Fetching #<URL
             "http://beta.quicklisp.org/archive/slime/2012-07-03/slime-20120703-cvs.tgz">
; 914.43KB
==================================================
936,378 bytes in 0.13 seconds (6980.39KB/sec)
; Fetching #<URL
             "http://beta.quicklisp.org/archive/spatial-trees/2012-03-07/spatial-trees-20120307-git.tgz">
; 15.75KB
==================================================
16,125 bytes in 0.00 seconds (7873.54KB/sec)
; Fetching #<URL
             "http://beta.quicklisp.org/archive/flexichain/2010-10-06/flexichain_1.5.1.tgz">
; 19.45KB
==================================================
19,919 bytes in 0.00 seconds (6484.05KB/sec)
; Fetching #<URL
             "http://beta.quicklisp.org/archive/mcclim/2012-05-20/mcclim-20120520-cvs.tgz">
; 1799.22KB
==================================================
1,842,403 bytes in 0.19 seconds (9570.33KB/sec)
; Loading "mcclim"
[package flexichain]..............................
[package spatial-trees]...........................
[package spatial-trees-protocol]..................
[package rectangles]..............................
[package spatial-trees-impl]......................
[package clim-mop].....
;; (DEFCLASS) is patched....
;; (INTERACTIVE-STREAM-P) is patched.........................
[package clim-lisp]...............................
[package clim]....................................
[package clim-sys]................................
[package clim-extensions].........................
[package clim-backend]............................
[package clim-internals]..........................
[package clim-demo]...............................
[package clim-user]...............................
[package goatee]..................................
[package clim-ffi]................................
[package clim-tab-layout].........................
..................................................
..................................................
..................................................
[package clim-postscript].........................
..................................................
..................................................
..................................................
..................................................
..................................................
[package esa-utils]...............................
[package esa].....................................
[package esa-buffer]..............................
[package esa-io]..................................
[package eqv-hash]................................
[package automaton]...............................
[package binseq]..................................
[package drei-buffer].............................
[package drei-undo]...............................
[package drei-kill-ring]..........................
[package drei-base]...............................
[package drei-abbrev].............................
[package drei-syntax].............................
[package drei]....................................
[package drei-motion].............................
[package drei-editing]............................
[package drei-core]...............................
[package drei-fundamental-syntax].................
[package drei-lr-syntax]..........................
[package drei-lisp-syntax]........................
[package drei-commands]...........................
[package drei-user]...............................
..................................................
..................................................
..................................................
[package clim-null]...............................
[package clim-xcommon]............................
[package clim-clx]................................
[package image]


At this point anerror occurs:

Package "XLIB" not found. [file position = 2914]
   [Condition of type READER-ERROR]

Restarts:
 0: [NIL] retry the compilation of /Users/bseely/site-lisp/dists/quicklisp/software/mcclim-20120520-cvs/Backends/CLX/image.lisp
 1: [NIL] continue compiling /Users/bseely/site-lisp/dists/quicklisp/software/mcclim-20120520-cvs/Backends/CLX/image.lisp but generate no output file
 2: [RETRY] Retry compiling #<CL-SOURCE-FILE "clim-clx" "Backends/CLX" "image">.
 3: [ACCEPT] Continue, treating compiling #<CL-SOURCE-FILE "clim-clx" "Backends/CLX" "image"> as having been successful.
 4: [ABORT] Give up on "mcclim"
 5: [RETRY] Retry SLIME REPL evaluation request.
 --more--

Backtrace:
  0: (ERROR READER-ERROR :STREAM #<FILE-SIMPLE-STREAM #P"/Users/bseely/site-lisp/dists/quicklisp/software/mcclim-20120520-cvs/Backends/CLX/image.lisp" for input pos 2914 @ #x1005a716b2> :FORMAT-CONTROL ..)
  1: ((FLET COMPILE-FILE EXCL::CONTINUATION))
  2: (COMPILE-FILE #P"/Users/bseely/site-lisp/dists/quicklisp/software/mcclim-20120520-cvs/Backends/CLX/image.lisp" ..)
  3: (ASDF:COMPILE-FILE* #P"/Users/bseely/site-lisp/dists/quicklisp/software/mcclim-20120520-cvs/Backends/CLX/image.lisp" :OUTPUT-FILE ..)
  4: ((METHOD ASDF:PERFORM (ASDF:COMPILE-OP ASDF:CL-SOURCE-FILE)) #<ASDF:COMPILE-OP (:VERBOSE NIL) @ #x1002288e82> #<ASDF:CL-SOURCE-FILE "clim-clx" "Backends/CLX" "image">)
  5: ((:INTERNAL (:EFFECTIVE-METHOD 2 NIL NIL NIL T) 0) #<ASDF:COMPILE-OP (:VERBOSE NIL) @ #x1002288e82> #<ASDF:CL-SOURCE-FILE "clim-clx" "Backends/CLX" "image">)
  6: (FUNCALL #<Closure (:INTERNAL (:EFFECTIVE-METHOD 2 NIL NIL NIL T) 0) @ #x1002294752> . #<Function FUNCALL>)
  7: (LET ((EXCL::*NEXT-METHODS* EXCL::.NEXT-METHODS.)) (FUNCALL EXCL::.NEXT-METHOD. #:OP #:C))
  8: (LET () (IF EXCL::.NEXT-METHOD. (LET (#) (FUNCALL EXCL::.NEXT-METHOD. . #1=(#:OP #:C))) (EXCL::NO-NEXT-METHOD-ERROR '#:G39078 . #1#)))
  9: (LET* ((MCCLIM.SYSTEM::OP #:OP) (MCCLIM.SYSTEM::C #:C)) (PROGN) (BLOCK ASDF:PERFORM (IF (COND # #) (UNWIND-PROTECT # #) (CALL-NEXT-METHOD))))
 10: (LET () (LET* ((MCCLIM.SYSTEM::OP #:OP) (MCCLIM.SYSTEM::C #:C)) (PROGN) (BLOCK ASDF:PERFORM (IF # # #))))
 11: (FLET () (LET* ((MCCLIM.SYSTEM::OP #:OP) (MCCLIM.SYSTEM::C #:C)) (PROGN) (BLOCK ASDF:PERFORM (IF # # #))))
 12: (LET () (FLET () (LET* (# #) (PROGN) (BLOCK ASDF:PERFORM #))))
 13: (MACROLET ((CALL-NEXT-METHOD (&REST EXCL::CNM-ARGS) (EXCL::PRESERVE-CNM-ARGS #))) (FLET () (LET* (# #) (PROGN) (BLOCK ASDF:PERFORM #))))
 14: (LET ((EXCL::.NEXT-METHOD. (CAR EXCL::*NEXT-METHODS*)) (EXCL::.NEXT-METHODS. (CDR EXCL::*NEXT-METHODS*))) (MACROLET ((CALL-NEXT-METHOD # #)) (FLET () (LET* # # #))))
 15: ((METHOD ASDF:PERFORM :AROUND (T T)) #<ASDF:COMPILE-OP (:VERBOSE NIL) @ #x1002288e82> #<ASDF:CL-SOURCE-FILE "clim-clx" "Backends/CLX" "image">)
 16: ((:INTERNAL (:EFFECTIVE-METHOD 2 NIL NIL T T) 0) #<ASDF:COMPILE-OP (:VERBOSE NIL) @ #x1002288e82> #<ASDF:CL-SOURCE-FILE "clim-clx" "Backends/CLX" "image">)
 17: ((METHOD ASDF::PERFORM-WITH-RESTARTS :AROUND (T T)) #<ASDF:COMPILE-OP (:VERBOSE NIL) @ #x1002288e82> #<ASDF:CL-SOURCE-FILE "clim-clx" "Backends/CLX" "image">)
 18: ((:INTERNAL (:EFFECTIVE-METHOD 2 NIL NIL T T) 0) #<ASDF:COMPILE-OP (:VERBOSE NIL) @ #x1002288e82> #<ASDF:CL-SOURCE-FILE "clim-clx" "Backends/CLX" "image">)
 19: ((FLET (METHOD ASDF::PERFORM-PLAN (LIST)) EXCL::CONTINUATION))
--more--


On 7/9/12 11:15 AM, Mariano Montone wrote:


On Mon, Jul 9, 2012 at 11:28 AM, Bill Sauer <bill@volersystems.com> wrote:
Hi,
 
As a casual user of CLIM I find the most frustrating problem is just downloading all the proper pieces and placing them where they can be used.  If someone would take the time to create a pdf of step by step instructions on where to go, what to download, and the required destinations it would be most helpful.  I know some things like this exist but many seem out of date and don’t really work that well.
 
I currently use SBCL on a Fedora 12 machine.
 
Regards
Bill Sauer

Bill,
       in my case using Quicklisp works with no problems. I'm on an Ubuntu Machine and SBCL.

First install quicklisp, if you haven't already: http://www.quicklisp.org.

Then evaluate:

(ql:quickload :mcclim)

For better looking fonts, evaluate:

(ql:quickload :mcclim-truetype)

To run the examples:

(ql:quickload :clim-examples) and then:
(clim-demo::demodemo)

Cheers,

Mariano


_______________________________________________
mcclim-devel mailing list
mcclim-devel@common-lisp.net
http://lists.common-lisp.net/cgi-bin/mailman/listinfo/mcclim-devel