[elephant-ticket] elephant\src\utils\os.lisp #+sbcl (require :sb-posix)

mitch_net at hotmail.com mitch_net at hotmail.com
Thu Apr 24 18:02:09 UTC 2008


Hi,

While testing my software on both debian and fedora, I've found that elephant was not usable with the fedora-8's sbcl package.
In fact, elephant\src\utils\os.lisp was missing a (require :sb-posix) in order to load.

So I've just added a
    #+sbcl (require :sb-posix)
 before my
    (asdf:operate 'asdf:load-op :elephant)
and it worked.

But I'm you would prefer to include #+sbcl (require :sb-posix) at some better place inside the elephant package.

Hope it helps...

Michel




Note: the exact sbcl error output was:

debugger invoked on a SIMPLE-ERROR in thread #<THREAD "initial thread" {A6EBC39}>:
  Error during processing of --eval option (LOAD #P"software-using-elephant.lisp"):

  The name "SB-POSIX" does not designate any package.

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 performing #<ASDF:LOAD-OP NIL {B1AE781}> on
                #<ASDF:CL-SOURCE-FILE "os" {A741099}>.
  1: [ACCEPT  ] Continue, treating #<ASDF:LOAD-OP NIL {B1AE781}> on
                #<ASDF:CL-SOURCE-FILE "os" {A741099}> as having been successful.
  2: [CONTINUE] Ignore and continue with next --eval option.
  3: [ABORT   ] Skip rest of --eval options.
  4:            Skip to toplevel READ/EVAL/PRINT loop.
  5: [QUIT    ] Quit SBCL (calling #'QUIT, killing the process).

((LAMBDA (SB-IMPL::E)) #<SB-KERNEL:SIMPLE-PACKAGE-ERROR {B1C0EA1}>)
0]



More information about the elephant-ticket mailing list