Subscribe

there is no package with name "UNIX"

  1. 2008-10-31 16:17:09 PDT
    Hello,

    Trying to asdf cl-rss loaded from Ubuntu repository got this error message:
    .....
    ;; Compiling file /usr/share/common-lisp/source/aserve/main.cl ...
    *** - READ from #<INPUT BUFFERED FILE-STREAM CHARACTER #P"/usr/share/common-lisp/source/aserve/main.cl" @218>: there is no package with name "UNIX"
    The following restarts are available:
    RETRY :R1 Retry performing #<ASDF:COMPILE-OP NIL #x000333CFA990> on #<ASERVE-SYSTEM::LEGACY-ACL-SOURCE-FILE "main" #x000333CEA000>.
    ACCEPT :R2 Continue, treating #<ASDF:COMPILE-OP NIL #x000333CFA990> on #<ASERVE-SYSTEM::LEGACY-ACL-SOURCE-FILE "main" #x000333CEA000> as having been successful.
    ABORT :R3 Abort main loop
    Break 1 NET.ASERVE[17]> *features*
    (:HTMLGEN :ACL-COMPAT :CL-PPCRE :KMR-MOP :ASDF :REGEXP :SYSCALLS :I18N :LOOP :COMPILER :CLOS :MOP :CLISP :ANSI-CL :COMMON-LISP :LISP=CL :INTERPRETER
    :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :FFI :GETTEXT :UNICODE :BASE-CHAR=CHARACTER :WORD-SIZE=64 :PC386 :UNIX)
    Break 1 NET.ASERVE[17]>

    So, there is no package with name "UNIX", but it is in the *features* list! Please, explain me this phenomenon and tell me what to do next? Thanks in advance.
    Sincerely,
    Ru
  2. 2008-11-01 14:38:05 PDT
    (member :unix *features*) doesn't mean there's a package named "UNIX". See:
    http://clisp.podval.org/impnotes/features.html

    Try PortableAllegroServe instead of AllegroServe.

    Or you could try gentoo instead of ubuntu, in gentoo,
    /usr/share/common-lisp/source/aserve/main.cl is up-to-date:
    #+(and clisp unix)
    (defun getpid () (sys::process-id))
  3. sdsProject AdminAccepting Donations

    2008-11-02 08:54:17 PST
    note that clisp has process-id on ALL platforms, not just unix
  4. 2008-11-02 15:06:53 PST
    #+(and clisp unix)
    (defun getpid () (sys::process-id))

    solved the problem, but follow many messages:

    ATTEMPT TO USE MULTITHREADING IN CLISP..

    As I understand, this problem is unsolvable at all, am I right?

    One more question: Why I need to load whole Aserve and components it need into my program when I want only to read rss? Is there a way to avoid this?

    By the way: In description of cl-aserve package is written that it is Poratble Aserve

    Thanks in advance,
    Ru
Jump To:
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.