$ ./clbuild install weblocks cl-prevalence
....
UPDATE wget fare-matcher
Copying patches, to get lazy repository hit ctrl-C...
Finished getting.
gzip: stdin: unexpected end of file
tar: Child returned status 1
No changes!
UPDATE wget fare-utils
Copying patches, to get lazy repository hit ctrl-C...
Finished getting.
gzip: stdin: unexpected end of file
tar: Child returned status 1
No changes!
...
All other packages were installed correct.
So I can not load the demo. What can be done to fix this problem?
Michael
Thank you!
Please help me with new problems:
First - installation as described at
http://weblocks.viridian-project.de/installation:
* (asdf:oos 'asdf:load-op 'weblocks-demo)
................
; registering #<SYSTEM :FARE-MATCHER {AD942B9}> as FARE-MATCHER
; loading system definition from
; /home/michael/LISP/clbuild/systems/fare-utils.asd into #<PACKAGE "ASDF0">
; registering #<SYSTEM :FARE-UTILS {AECA179}> as FARE-UTILS
; loading system definition from /home/michael/LISP/clbuild/systems/cl-fad.asd
; into #<PACKAGE "ASDF0">
; registering #<SYSTEM #:CL-FAD {B025DB1}> as CL-FAD
debugger invoked on a ASDF:MISSING-DEPENDENCY in thread #<THREAD
"initial thread" RUNNING {A8E1C81}>:
component :SB-POSIX not found, required by #<SYSTEM "cl-fad" {B025DB1}>
Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [RETRY] Retry loading component :SB-POSIX.
1: [ABORT] Exit debugger, returning to top level.
((LABELS ASDF::DO-ONE-DEP) ASDF:COMPILE-OP :SB-POSIX NIL)
0] 0
debugger invoked on a ASDF:MISSING-DEPENDENCY in thread #<THREAD
"initial thread" RUNNING {A8E1C81}>:
component :SB-POSIX not found, required by #<SYSTEM "cl-fad" {B025DB1}>
Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [RETRY] Retry loading component :SB-POSIX.
1: [ABORT] Exit debugger, returning to top level.
((LABELS ASDF::DO-ONE-DEP) ASDF:COMPILE-OP :SB-POSIX NIL)
0]
0
debugger invoked on a ASDF:MISSING-DEPENDENCY in thread #<THREAD
"initial thread" RUNNING {A8E1C81}>:
component :SB-POSIX not found, required by #<SYSTEM "cl-fad" {B025DB1}>
Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [RETRY] Retry loading component :SB-POSIX.
1: [ABORT] Exit debugger, returning to top level.
((LABELS ASDF::DO-ONE-DEP) ASDF:COMPILE-OP :SB-POSIX NIL)
0]
./clbuild install cl-fad
UPDATE darcs pull cl-fad
Pulling from "http://common-lisp.net/~loliveira/ediware/cl-fad"...
No remote changes to pull in!
update complete
327 system definition files registered
so cl-fad is ok.
sbcl version is
This is SBCL 1.0.30
Second problem - installation with
bash install-weblocks.sh ~/Lisp/wblks
Sucessfully created wblks project...
./script/server
..........
Project root: ./script/../
DELETING old wblks fasl
This is SBCL 1.0.30, 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.
debugger invoked on a SB-INT:EXTENSION-FAILURE in thread #<THREAD
"initial thread" RUNNING {A8E1A71}>:
Don't know how to REQUIRE SB-POSIX.
See also:
The SBCL Manual, Variable *MODULE-PROVIDER-FUNCTIONS*
The SBCL Manual, Function REQUIRE
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 error and continue processing userinit file
"/home/michael/Lisp/wblks/./script/..//wblks.sbclrc".
1: [ABORT ] Skip rest of userinit file
"/home/michael/Lisp/wblks/./script/..//wblks.sbclrc".
2: Skip to toplevel READ/EVAL/PRINT loop.
3: [QUIT ] Quit SBCL (calling #'QUIT, killing the process).
(SB-IMPL::REQUIRE-ERROR "Don't know how to ~S ~A.")[:EXTERNAL]
0]
M.
> * (asdf:oos 'asdf:load-op 'weblocks-demo)
> ................
>
> ; registering #<SYSTEM :FARE-MATCHER {AD942B9}> as FARE-MATCHER
> ; loading system definition from
> ; /home/michael/LISP/clbuild/systems/fare-utils.asd into #<PACKAGE "ASDF0">
> ; registering #<SYSTEM :FARE-UTILS {AECA179}> as FARE-UTILS
> ; loading system definition from /home/michael/LISP/clbuild/systems/cl-fad.asd
> ; into #<PACKAGE "ASDF0">
> ; registering #<SYSTEM #:CL-FAD {B025DB1}> as CL-FAD
>
> debugger invoked on a ASDF:MISSING-DEPENDENCY in thread #<THREAD
> "initial thread" RUNNING {A8E1C81}>:
> component :SB-POSIX not found, required by #<SYSTEM "cl-fad" {B025DB1}>
This looks like a problem with your SBCL setup.
What's the value of your asdf:*central-registry* at the time of the error?
How did you install SBCL?
Leslie
I removed my system sbcl (it was compiled without threads)
apt-get remove sbcl
then download sbcl source, have created file
customize-target-features.lisp with standard content:
(lambda (features)
(flet ((enable (x)
(pushnew x features))
(disable (x)
(setf features (remove x features))))
;; Threading support, available only on x86/x86-64 Linux, x86 Solaris
;; and x86 Mac OS X (experimental).
(enable :sb-thread)))
and run "sh make.sh" from user and "sh install.sh" from root. If I am
not mistaken, there was no error message at all during compilation
time.
Sorry, but I don't know how look at value asdf:*central-registry* ?
M.
> Sorry, but I don't know how look at value asdf:*central-registry* ?
Just type it at the debugger prompt when you get the error.
Leslie
it seems it does not know about this function:
(asdf:*central-registry*)
; in: LAMBDA NIL
; (ASDF:*CENTRAL-REGISTRY*)
;
; caught STYLE-WARNING:
; undefined function: ASDF:*CENTRAL-REGISTRY*
;
; compilation unit finished
; Undefined function:
; ASDF:*CENTRAL-REGISTRY*
; caught 1 STYLE-WARNING condition
debugger invoked on a UNDEFINED-FUNCTION in thread #<THREAD "initial
thread" RUNNING {A8E1A61}>:
The function ASDF:*CENTRAL-REGISTRY* is undefined.
Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [ABORT ] Reduce debugger level (to debug level 1).
1: [CONTINUE] Ignore error and continue processing userinit file
"/home/michael/Lisp/wblks/script/..//wblks.sbclrc".
2: Skip rest of userinit file
"/home/michael/Lisp/wblks/script/..//wblks.sbclrc".
3: Skip to toplevel READ/EVAL/PRINT loop.
4: [QUIT ] Quit SBCL (calling #'QUIT, killing the process).
("bogus stack frame")
0[2]
M.
> it seems it does not know about this function:
It's not a function, it's a variable. Type it without the parens.
Leslie, Then you for your help!
asdf:*central-registry*
#<SB-DI::BOGUS-DEBUG-FUN "bogus stack frame"> has no debug variable information.
0[2] (asdf:*central-registry*)
#<SB-DI::BOGUS-DEBUG-FUN "bogus stack frame"> has no debug variable information.
0[2] quit
M.
Try typing it at the first debugger level. Either restart the whole thing
or use the ABORT restart on this level to get to debugger level 0 (the prompt
should be 0] there).
Leslie
I have tried to install sbcl (1.0.30 and 1.0.31 also) from scratch
once more. It print at the very end both times:
WARNING! Some of the contrib modules did not build successfully or pass
their self-tests. Failed contribs:"
asdf-install
sb-bsd-sockets
sb-posix
sb-simple-streams
Command exited with non-zero status 1
During compilation process there were two warnings:
; SYS:SRC;CODE;RUN-PROGRAM.FASL.NEWEST written
; compilation finished in 0:00:00.388
debugger invoked on a UNDEFINED-ALIEN-ERROR in thread #<THREAD
"initial thread" RUNNING {A8C4049}>:
Undefined alien: "waitpid"
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.
(FOREIGN-SYMBOL-ADDRESS "waitpid" #<unused argument>)
0]
....
STYLE-WARNING: #<REDEFINITION-WITH-DEFUN {B97D3B1}>
STYLE-WARNING: redefining DESCRIBE-OBJECT in DEFGENERIC
debugger invoked on a UNDEFINED-ALIEN-ERROR in thread #<THREAD
"initial thread" RUNNING {A8C4049}>:
Undefined alien: "waitpid"
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.
(FOREIGN-SYMBOL-ADDRESS "waitpid" #<unused argument>)
0]
I have installed that partly-compiled sbcl, type sbcl and get prompt (*),
* *features*
(:ANSI-CL :COMMON-LISP :SBCL :SB-DOC :SB-TEST :SB-LDB :SB-PACKAGE-LOCKS
:SB-UNICODE :SB-EVAL :SB-SOURCE-LOCATIONS :IEEE-FLOATING-POINT :X86 :UNIX :ELF
:LINUX :LARGEFILE :GENCGC :STACK-GROWS-DOWNWARD-NOT-UPWARD
:C-STACK-IS-CONTROL-STACK :COMPARE-AND-SWAP-VOPS :UNWIND-TO-FRAME-AND-CALL-VOP
:RAW-INSTANCE-INIT-VOPS :STACK-ALLOCATABLE-CLOSURES :STACK-ALLOCATABLE-VECTORS
:STACK-ALLOCATABLE-LISTS :STACK-ALLOCATABLE-FIXED-OBJECTS :ALIEN-CALLBACKS
:CYCLE-COUNTER :INLINE-CONSTANTS :LINKAGE-TABLE :OS-PROVIDES-PUTWC
:OS-PROVIDES-SUSECONDS-T)
*
* (require 'asdf)
("ASDF")
* (require 'asdf-install)
debugger invoked on a SB-INT:EXTENSION-FAILURE:
Don't know how to REQUIRE ASDF-INSTALL.
Google don't know about that problem.
M.
> I have tried to install sbcl (1.0.30 and 1.0.31 also) from scratch
> once more. It print at the very end both times:
>
> WARNING! Some of the contrib modules did not build successfully or pass
> their self-tests. Failed contribs:"
> asdf-install
> sb-bsd-sockets
> sb-posix
> sb-simple-streams
> Command exited with non-zero status 1
This is a problem with SBCL. You need to write to their mailing list
sbcl...@lists.sf.net to solve this.
Leslie
Hi,
Am I missing something or shouldn't you just install sbcl as in
Weblocks installation manual
(http://weblocks.viridian-project.de/installation):
./clbuild compile-implementation sbcl
(and of course you have to run ./clbuild lisp to access compiled sbcl)
version 1.0.31.1 seems to work fine when installed in such manner.
Best regards,
Tomek Lipski
Threads still need to be enabled explicitly even on Linux.
> My advice would be to just delete anything you've already installed,
> and download the *binary version* of sbcl, unzip it, and run
> install.sh -- everything should be fine.
>
> Binary versions available here: http://www.sbcl.org/platform-table.html
I think those are single-threaded builds too, unfortunately...
Leslie
> Both run my weblocks-stable that I pulled earlier. If I get some time (!) I'd
> like to get some welocks code written in the next few days. Has anyone made
> available a reasonably complex application in weblocks that includes login and
> users? A CMS perhaps?
A lot of people have built complex applications with Weblocks so far, but I don't
think anybody wrote a generic CMS yet.
Leslie