Menu

there is no package with name "UNIX"

Help
Rus
2008-10-31
2013-05-29
  • Rus

    Rus - 2008-10-31

    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

     
    • Pascal J. Bourguignon

      (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))

       
      • Sam Steingold

        Sam Steingold - 2008-11-02

        note that clisp has process-id on ALL platforms, not just unix

         
    • Rus

      Rus - 2008-11-02

      #+(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

       

Log in to post a comment.