Running demo

5 views
Skip to first unread message

Nik

unread,
Sep 30, 2009, 10:53:43 AM9/30/09
to weblocks
Hi folks,

I'm new to Lisp and Weblocks and try to find my way in this new world!
Following "learning by doing methodology" I have installed Weblocks
according to (http://weblocks.viridian-project.de/installation).

I have changed the default lisp implementation used by clbuild
from sbcl to ccl and ran "clbuild install weblocks cl-prevalence".
After finishing the installation I started lisp by "clbuild lisp"
and executed "(asdf:oos 'asdf:load-op 'weblocks-demo)" and
got the following error:

-------------------------------------------------------------------------------------
....
; registering #<SYSTEM WEBLOCKS #x30004124FEDD> as WEBLOCKS
; registering #<SYSTEM-CONNECTION WEBLOCKS+HTML-TEMPLATE
#x3000412B860D> as WEBLOCKS+HTML-TEMPLATE
> Error: Error component :TRIVIAL-TIMEOUT not found, required by #<SYSTEM "weblocks" #x30004124FEDD>
> While executing: (:INTERNAL ASDF::DO-ONE-DEP (ASDF::TRAVERSE (ASDF:OPERATION ASDF:COMPONENT))), in process listener(1).
> Type :POP to abort, :R for a list of available restarts.
> Type :? for other options.
1 >
-------------------------------------------------------------------------------------

Because I've only a cursory acquintance with Lisp system (I'm about to
learn it!)
I can't resolve this problem. Can somebody tell me how I should
proceed now?

Any help is very much appreciated!

Regards
Nik

Leslie P. Polzer

unread,
Sep 30, 2009, 12:15:32 PM9/30/09
to weblocks
Hi Nik,

On Sep 30, 4:53 pm, Nik <nitral...@googlemail.com> wrote:
> Hi folks,
>
> I'm new to Lisp and Weblocks and try to find my way in this new world!
> Following "learning by doing methodology" I have installed Weblocks
> according to (http://weblocks.viridian-project.de/installation).

Welcome!


> I have changed the default lisp implementation used by clbuild
> from sbcl to ccl and ran "clbuild install weblocks cl-prevalence".
> After finishing the installation I started lisp by "clbuild lisp"
> and executed "(asdf:oos 'asdf:load-op 'weblocks-demo)" and
> got the following error:
>
> -------------------------------------------------------------------------------------
> ....
> ; registering #<SYSTEM WEBLOCKS #x30004124FEDD> as WEBLOCKS
> ; registering #<SYSTEM-CONNECTION WEBLOCKS+HTML-TEMPLATE
> #x3000412B860D> as WEBLOCKS+HTML-TEMPLATE> Error: Error component :TRIVIAL-TIMEOUT not found, required by #<SYSTEM "weblocks" #x30004124FEDD>
> > While executing: (:INTERNAL ASDF::DO-ONE-DEP (ASDF::TRAVERSE (ASDF:OPERATION ASDF:COMPONENT))), in process listener(1).
> > Type :POP to abort, :R for a list of available restarts.
> > Type :? for other options.
>
> 1 >
> -------------------------------------------------------------------------------------
>
> Because I've only a cursory acquintance with Lisp system (I'm about to
> learn it!)
> I can't resolve this problem. Can somebody tell me how I should
> proceed now?

clbuild is missing some dependencies; they need to fix their
dependency map.

You need to install trivial-timeout explicitly by calling

sh clbuild install trivial-timeout

I think you also need this for one or two other packages, like salza2.

Leslie

Nik

unread,
Sep 30, 2009, 2:03:56 PM9/30/09
to weblocks
Thank you!

I additionally had to install salza2, fare-matcher and fare-utils.

------------------------------------------------------------------
Just for your info: In wnpp-projects in clbuild source directory the
following entries

fare-matcher get_tarball http://fare.tunes.org/asdf-packages/fare-matcher.tar.gz
fare-utils get_tarball http://fare.tunes.org/asdf-packages/fare-utils.tar.gz

must be replaced by

fare-matcher get_git git://common-lisp.net/users/frideau/fare-matcher.git
fare-utils get_git git://common-lisp.net/users/frideau/fare-utils.git

Otherwise it doesn't work!
------------------------------------------------------------------

I get now the following error message:

------------------------------------------------------------------
....
; In (DELETE-NODE! (DOUBLY-LINKED-LIST T)): Unused lexical variable
ITEM
; Warning: COMPILE-FILE warned while performing #<COMPILE-OP NIL
#x30004104785D> on #<CL-SOURCE-FILE "dllist" #x30004104B4AD>.
; While executing: #<STANDARD-METHOD ASDF:PERFORM (ASDF:COMPILE-OP
ASDF:CL-SOURCE-FILE)>, in process listener(1).
> Error: Undefined function: SOCKET-CONNECT
> While executing: SYMBOL-FUNCTION, in process listener(1).
> Type :POP to abort, :R for a list of available restarts.
> Type :? for other options.
1 >
------------------------------------------------------------------

Any idea?

Regards
Nik

PS: I'm using clozure cl 1.3 (64bit) on mac os x (10.5.8)

Nik

unread,
Sep 30, 2009, 2:28:10 PM9/30/09
to weblocks
After exiting REPL and starting it a new I have executed
(asdf:oos 'asdf:load-op 'weblocks-demo) again and it worked this
time!!

Regards
Nik

On Sep 30, 8:03 pm, Nik <nitral...@googlemail.com> wrote:
> Thank you!
>
> I additionally had to install salza2, fare-matcher and fare-utils.
>
> ------------------------------------------------------------------
> Just for your info: In wnpp-projects in clbuild source directory the
> following entries
>
> fare-matcher     get_tarballhttp://fare.tunes.org/asdf-packages/fare-matcher.tar.gz
> fare-utils       get_tarballhttp://fare.tunes.org/asdf-packages/fare-utils.tar.gz

nunb

unread,
Sep 30, 2009, 2:56:02 PM9/30/09
to weblocks
Another trick, rarely needed unless you see strange behavior, is

find . -name \*.fasl | xargs rm

on a unix system. This is the equivalent of `make clean`, it deletes
the object files.

Welcome to weblocks!

Leslie P. Polzer

unread,
Sep 30, 2009, 3:23:08 PM9/30/09
to weblocks
On Sep 30, 8:56 pm, nunb <nandan.bagc...@gmail.com> wrote:
> Another trick, rarely needed unless you see strange behavior, is
>
> find . -name \*.fasl | xargs rm
>
> on a unix system. This is the equivalent of `make clean`, it deletes
> the object files.

But only for SBCL; for CCL the incantation must be changed to
\*.lx32fsl
(in the case of x86 Linux).
Reply all
Reply to author
Forward
0 new messages