sbcl maxima on Ubuntu
- Subject: sbcl maxima on Ubuntu
- From: Fabrizio Caruso
- Date: Tue, 24 Apr 2007 16:20:26 +0200 (CEST)
Hi
I managed once again to compile Maxima
5.11.99rc2 for Ubuntu 6.06 (Dapper Drake)
since there is no fully working
package for this popular distribution.
I compiled Maxima with sbcl since
this was the only lisp working with previous
versions of Maxima on Ubuntu.
There seem to be a problem with sbcl because
on the shell from which xmaxima is started
tons of error/warning messages are displayed
each time I invoke some shell commands or use the
up-arrow to see the history in the shell:
"
debugger invoked on a SB-INT:SIMPLE-STREAM-ERROR in thread
#<THREAD "initial thread" {900C881}>:
couldn't read from #<SB-SYS:FD-STREAM for "the terminal" {99EA4C1}>:
Input/output error
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.
(SB-IMPL::SIMPLE-STREAM-PERROR
"couldn't read from ~S"
#<SB-SYS:FD-STREAM for "the terminal" {99EA4C1}>
5)
0[2]
"
or
"
debugger invoked on a SB-INT:SIMPLE-STREAM-ERROR in thread
#<THREAD "initial thread" {900C881}>:
couldn't read from #<SB-SYS:FD-STREAM for "the terminal" {99EA4C1}>:
Input/output error
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.
Help! 11 nested errors. SB-KERNEL:*MAXIMUM-ERROR-DEPTH* exceeded.
xmaxima0: (SB-IMPL::SIMPLE-STREAM-PERROR "couldn't read from ~S"
#<SB-SYS:FD-STREAM for "the terminal" {99EA4C1}> 5)
1: (SB-IMPL::INPUT-CHAR/ASCII #<SB-SYS:FD-STREAM for "the terminal"
{99EA4C1}> NIL #:EOF-OBJECT)
2: (READ-CHAR #<SB-SYS:FD-STREAM for "the terminal" {99EA4C1}> NIL
#:EOF-OBJECT #<unused argument>)
3: (READ-CHAR #<SYNONYM-STREAM :SYMBOL SB-SYS:*TTY* {99EA5D1}> NIL
#:EOF-OBJECT #<unused argument>)
4: (READ-CHAR #<SYNONYM-STREAM :SYMBOL *TERMINAL-IO* {99EA6B1}> NIL
#:EOF-OBJECT #<unused argument>)
5: (READ-PRESERVING-WHITESPACE #<SYNONYM-STREAM :SYMBOL *TERMINAL-IO*
{99EA6B1}> NIL (NIL) T)
6: (READ-PRESERVING-WHITESPACE #<SYNONYM-STREAM :SYMBOL *TERMINAL-IO*
{99EA6B1}> NIL (NIL) NIL)
7: (READ #<SYNONYM-STREAM :SYMBOL *TERMINAL-IO* {99EA6B1}> NIL (NIL) NIL)
8: (SB-DEBUG::DEBUG-READ #<SYNONYM-STREAM :SYMBOL *TERMINAL-IO*
{99EA6B1}>)
9: (SB-DEBUG::DEBUG-LOOP-FUN)
10: (INTERNAL-DEBUG)
11: (SB-DEBUG::%INVOKE-DEBUGGER #<SB-INT:SIMPLE-STREAM-ERROR {9A15061}>)
12: ((LAMBDA NIL))
13: (SB-IMPL::CALL-WITH-SANE-IO-SYNTAX #<CLOSURE (LAMBDA NIL) {9A15D85}>)
14: (SB-IMPL::%WITH-STANDARD-IO-SYNTAX #<CLOSURE (LAMBDA NIL) {9A15D5D}>)
15: (INVOKE-DEBUGGER #<SB-INT:SIMPLE-STREAM-ERROR {9A15061}>)
16: (ERROR SB-INT:SIMPLE-STREAM-ERROR)
17: (SB-IMPL::SIMPLE-STREAM-PERROR "couldn't read from ~S"
#<SB-SYS:FD-STREAM for "the terminal" {99EA4C1}> 5)
18: (SB-IMPL::INPUT-CHAR/ASCII #<SB-SYS:FD-STREAM for "the terminal"
{99EA4C1}> NIL #:EOF-OBJECT)
19: (READ-CHAR #<SB-SYS:FD-STREAM for "the terminal" {99EA4C1}> NIL
#:EOF-OBJECT #<unused argument>)
20: (READ-CHAR #<SYNONYM-STREAM :SYMBOL SB-SYS:*TTY* {99EA5D1}> NIL
#:EOF-OBJECT #<unused argument>)
21: (READ-CHAR #<SYNONYM-STREAM :SYMBOL *TERMINAL-IO* {99EA6B1}> NIL
#:EOF-OBJECT #<unused argument>)
22: (READ-PRESERVING-WHITESPACE #<SYNONYM-STREAM :SYMBOL *TERMINAL-IO*
{99EA6B1}> NIL (NIL) T)
23: (READ-PRESERVING-WHITESPACE #<SYNONYM-STREAM :SYMBOL *TERMINAL-IO*
{99EA6B1}> NIL (NIL) NIL)
24: (READ #<SYNONYM-STREAM :SYMBOL *TERMINAL-IO* {99EA6B1}> NIL (NIL) NIL)
25: (SB-DEBUG::DEBUG-READ #<SYNONYM-STREAM :SYMBOL *TERMINAL-IO*
{99EA6B1}>)
26: (SB-DEBUG::DEBUG-LOOP-FUN)
27: (INTERNAL-DEBUG)
28: (SB-DEBUG::%INVOKE-DEBUGGER #<SB-INT:SIMPLE-STREAM-ERROR {9A0B921}>)
29: ((LAMBDA NIL))
30: (SB-IMPL::CALL-WITH-SANE-IO-SYNTAX #<CLOSURE (LAMBDA NIL) {9A0C645}>)
31: (SB-IMPL::%WITH-STANDARD-IO-SYNTAX #<CLOSURE (LAMBDA NIL) {9A0C61D}>)
32: (INVOKE-DEBUGGER #<SB-INT:SIMPLE-STREAM-ERROR {9A0B921}>)
33: (ERROR SB-INT:SIMPLE-STREAM-ERROR)
34: (SB-IMPL::SIMPLE-STREAM-PERROR "couldn't read from ~S"
#<SB-SYS:FD-STREAM for "the terminal" {99EA4C1}> 5)
35: (SB-IMPL::INPUT-CHAR/ASCII #<SB-SYS:FD-STREAM for "the terminal"
{99EA4C1}> NIL #:EOF-OBJECT)
36: (READ-CHAR #<SB-SYS:FD-STREAM for "the terminal" {99EA4C1}> NIL
#:EOF-OBJECT #<unused argument>)
37: (READ-CHAR #<SYNONYM-STREAM :SYMBOL SB-SYS:*TTY* {99EA5D1}> NIL
#:EOF-OBJECT #<unused argument>)
38: (READ-CHAR #<SYNONYM-STREAM :SYMBOL *TERMINAL-IO* {99EA6B1}> NIL
#:EOF-OBJECT #<unused argument>)
39: (READ-PRESERVING-WHITESPACE #<SYNONYM-STREAM :SYMBOL *TERMINAL-IO*
{99EA6B1}> NIL (NIL) T)
40: (READ-PRESERVING-WHITESPACE #<SYNONYM-STREAM :SYMBOL *TERMINAL-IO*
{99EA6B1}> NIL (NIL) NIL)
41: (READ #<SYNONYM-STREAM :SYMBOL *TERMINAL-IO* {99EA6B1}> NIL (NIL) NIL)
42: (SB-DEBUG::DEBUG-READ #<SYNONYM-STREAM :SYMBOL *TERMINAL-IO*
{99EA6B1}>)
43: (SB-DEBUG::DEBUG-LOOP-FUN)
44: (INTERNAL-DEBUG)
45: (SB-DEBUG::%INVOKE-DEBUGGER #<SB-INT:SIMPLE-CONTROL-ERROR {9A03B41}>)
46: ((LAMBDA NIL))
47: (SB-IMPL::CALL-WITH-SANE-IO-SYNTAX #<CLOSURE (LAMBDA NIL) {9A03BF5}>)
48: (SB-IMPL::%WITH-STANDARD-IO-SYNTAX #<CLOSURE (LAMBDA NIL) {9A03BCD}>)
49: (INVOKE-DEBUGGER #<SB-INT:SIMPLE-CONTROL-ERROR {9A03B41}>)
50: (ERROR SB-INT:SIMPLE-CONTROL-ERROR)
51: (SB-KERNEL::UNSEEN-THROW-TAG-ERROR-HANDLER #<unavailable argument>
#.(SB-SYS:INT-SAP #XB7C3F9E8) #<SB-ALIEN-INTERNALS:ALIEN-VALUE :SAP
#XB7C3F6CC :TYPE (* (STRUCT SB-VM::OS-CONTEXT-T-STRUCT))> (142))
52: (SB-KERNEL:INTERNAL-ERROR #.(SB-SYS:INT-SAP #XB7C3F6CC) #<unavailable
argument>)
53: ("foreign function: call_into_lisp")
54: ("foreign function: funcall2")
55: ("foreign function: interrupt_internal_error")
56: ("foreign function: sigtrap_handler")
57: ("no debug information for frame")
58: (MAXIMA::MAXIMA-LISP-DEBUGGER #<SB-INT:SIMPLE-STREAM-ERROR {99FD1D9}>
#<unavailable argument>)
59: (INVOKE-DEBUGGER #<SB-INT:SIMPLE-STREAM-ERROR {99FD1D9}>)
60: (ERROR SB-INT:SIMPLE-STREAM-ERROR)
61: (SB-IMPL::SIMPLE-STREAM-PERROR "couldn't read from ~S"
#<SB-SYS:FD-STREAM for "standard input" {99EA2C9}> 5)
62: (SB-IMPL::INPUT-CHAR/ASCII #<SB-SYS:FD-STREAM for "standard input"
{99EA2C9}> NIL #:EOF-OBJECT)
63: (READ-CHAR #<SB-SYS:FD-STREAM for "standard input" {99EA2C9}> NIL
#:EOF-OBJECT #<unused argument>)
64: (READ-CHAR #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDIN* {99EA641}> NIL
#:EOF-OBJECT #<unused argument>)
65: (READ-PRESERVING-WHITESPACE #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDIN*
{99EA641}> NIL (NIL) T)
66: (READ-PRESERVING-WHITESPACE #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDIN*
{99EA641}> NIL (NIL) NIL)
67: (READ #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDIN* {99EA641}> NIL (NIL)
NIL)
68: (SB-IMPL::REPL-READ-FORM-FUN #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDIN*
{99EA641}> #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDOUT* {9AFAC99}>)
69: (SB-IMPL::REPL-FUN NIL)
70: ((LAMBDA NIL))
71: ((LAMBDA NIL))
72: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX #<CLOSURE (LAMBDA NIL) {915646D}>)
73: (SB-IMPL::TOPLEVEL-REPL NIL)
74: (SB-IMPL::TOPLEVEL-INIT)
75: ((LABELS SB-IMPL::RESTART-LISP))
"
...
Regards
Fabrizio