[tbnl-devel] Re: TBNL newbie question

Edi Weitz edi at agharta.de
Thu May 25 10:10:10 UTC 2006


Hi!

Please use the mailing list.

On Thu, 25 May 2006 05:54:19 -0400, "Yarek Kowalik" <yarek.kowalik at gmail.com> wrote:

> I'm really new to lisp, and definitely new to TBNL.  I'm having
> trouble getting TBLN respond to Apache, I wonder if you can point me
> to where I can get some help. I've been tryhing to figure out how to
> make this work for hours, and no luck, and it's getting really late
> (3:00 AM).  So, maybe you can help me?
>
>  Here is what is happening:
>
> 1.  I setup Apache 2 and it seems to be loading the mod_lisp2.so
> module fine, but then Apache it times out (I get 500 error) when
> trying to load the tbnl test page.  Not sure if TBNL is running OK
> (see below), or maybe Apache is misconfigured (unlikely - that seems
> easy).

Have you added the necessary parts for mod_lisp to the Apache
configuration?

Note that you can always work in TBNL's "stand-alone" mode to make
sure that the problem is not with Apache/mod_lisp.

> 2.  When I start TBNL, I get the following two errors - does that
> matter?
>
> [1]> (asdf:oos 'asdf:load-op :tbnl-test)
> ; loading system definition from /usr/share/common-lisp/systems/tbnl-
> test.asd into #<PACKAGE ASDF7345>
> ;; Loading file /usr/share/common-lisp/systems/tbnl-test.asd ...
>
> [...]
>
> ;; Loading file /var/cache/common-lisp-controller/yarek/clisp/kmrcl/os.fas
> ...
> ** - Continuable Error
> INTERN("PROGRAM-ID"): #<PACKAGE SYSTEM> is locked

See below.

> If you continue (by typing 'continue'): Ignore the lock and proceed
> The following restarts are also available:
> RETRY          :R1      Retry performing #<ASDF:LOAD-OP NIL #x000333CD05E0>
> on #<ASDF:CL-SOURCE-FILE "os" #x000333CCB428>.
> ACCEPT         :R2      Continue, treating #<ASDF:LOAD-OP NIL
> #x000333CD05E0> on #<ASDF:CL-SOURCE-FILE "os" #x000333CCB428> as having been
> successful.
> ABORT          :R3      ABORT
> Break 1 KL[2]> continue
>
> [....]
>
> ;; Loading file
> /var/cache/common-lisp-controller/yarek/clisp/tbnl/test/test.fas ...
> *** - OPEN: file
> #P"/var/cache/common-lisp-controller/yarek/clisp/tbnl/test/fz.jpg" does not
> exist

This seems to be a problem with the Debian distribution.

> The following restarts are available:
> RETRY          :R1      Retry performing #<ASDF:LOAD-OP NIL #x000333CBA7A0>
> on #<ASDF:CL-SOURCE-FILE "test" #x000333CBC380>.
> ACCEPT         :R2      Continue, treating #<ASDF:LOAD-OP NIL
> #x000333CBA7A0> on #<ASDF:CL-SOURCE-FILE "test" #x000333CBC380> as having
> been successful.
> ABORT          :R3      ABORT
> Break 1 TBNL-TEST[3]> accept
> 0 errors, 0 warnings
> NIL
> [4]> (tbnl:start-tbnl)
>
>  3. After typing "(tbnl:start-tbnl)" I get no clisp prompt - is this
> expected, or is it hung?

TBNL (or rather KMRCL) does not work with CLISP, see the docs.  Try
LispWorks, AllegroCL, SBCL, or CMUCL.

Cheers,
Edi.



More information about the Tbnl-devel mailing list