From: jpletcher
Subject: Installing Portable Allegro Serve and sb-impl
Date: 
Message-ID: <fc5b3ab5-83fd-4881-9221-89db85e44e34@f47g2000hsd.googlegroups.com>
2 Questions, 1 is general, the other more specific.

1. General... What is sb-impl ?

2. More specific, why do I get the following error when I try to
install Portable Allegro Serve?
I am using SBCL on a linux box, running the INSTALL.LISP script.

-------------------------------------------------------------------------------------
The function SB-IMPL::CHAR->UTF8 is undefined.
   [Condition of type UNDEFINED-FUNCTION]

Restarts:
 0: [RETRY] Retry performing #<ASDF:LOAD-OP NIL {B2D33E1}> on
#<ASDF:CL-SOURCE-FILE "llefu-sbcl" {AD59659}>.
 1: [ACCEPT] Continue, treating #<ASDF:LOAD-OP NIL {B2D33E1}> on
#<ASDF:CL-SOURCE-FILE "llefu-sbcl" {AD59659}> as having been
successful.
 2: [ABORT] Return to SLIME's top level.
 3: [TERMINATE-THREAD] Terminate this thread (#<THREAD "repl-
thread" {AFE7681}>)

Backtrace:
  0: (FDEFINITION SB-IMPL::CHAR->UTF8)
  1: (SB-FASL::FOP-FUNCALL)
  2: (SB-FASL::LOAD-FASL-GROUP
      #<SB-SYS:FD-STREAM for "file /var/cache/common-lisp-controller/
1000/sbcl/local/home/justin/lisp/portableaserve-1.2.47-vbz-0.1.4/acl-
compat/$
  3: (SB-FASL::LOAD-AS-FASL
      #<SB-SYS:FD-STREAM for "file /var/cache/common-lisp-controller/
1000/sbcl/local/home/justin/lisp/portableaserve-1.2.47-vbz-0.1.4/acl-
compat/$
      NIL
      #<unavailable argument>)
  4: (SB-FASL::INTERNAL-LOAD
      #P"/var/cache/common-lisp-controller/1000/sbcl/local/home/justin/
lisp/portableaserve-1.2.47-vbz-0.1.4/acl-compat/llefu-sbcl.fasl"
      #P"/var/cache/common-lisp-controller/1000/sbcl/local/home/justin/
lisp/portableaserve-1.2.47-vbz-0.1.4/acl-compat/llefu-sbcl.fasl"
      :ERROR
      NIL
      NIL
      :BINARY
      NIL)
  5: (SB-FASL::INTERNAL-LOAD
      #P"/var/cache/common-lisp-controller/1000/sbcl/local/home/justin/
lisp/portableaserve-1.2.47-vbz-0.1.4/acl-compat/llefu-sbcl.fasl"
      #P"/var/cache/common-lisp-controller/1000/sbcl/local/home/justin/
lisp/portableaserve-1.2.47-vbz-0.1.4/acl-compat/llefu-sbcl.fasl"
--------------------------------------------------------------------------
Do I need to reinstall "sb-impl"  ? Does that mean re-installing sbcl?

Thanks,
Justin

From: jpletcher
Subject: Re: Installing Portable Allegro Serve and sb-impl
Date: 
Message-ID: <ebf0c1a7-eb03-4ecf-9863-a6a54aacecef@i29g2000prf.googlegroups.com>
On Jan 22, 5:45 pm, jpletcher <·········@gmail.com> wrote:
> 2 Questions, 1 is general, the other more specific.
>
> 1. General... What is sb-impl ?
>
> 2. More specific, why do I get the following error when I try to
> install Portable Allegro Serve?
> I am using SBCL on a linux box, running the INSTALL.LISP script.
>
> -------------------------------------------------------------------------------------
> The function SB-IMPL::CHAR->UTF8 is undefined.
>    [Condition of type UNDEFINED-FUNCTION]
>
> Restarts:
>  0: [RETRY] Retry performing #<ASDF:LOAD-OP NIL {B2D33E1}> on
> #<ASDF:CL-SOURCE-FILE "llefu-sbcl" {AD59659}>.
>  1: [ACCEPT] Continue, treating #<ASDF:LOAD-OP NIL {B2D33E1}> on
> #<ASDF:CL-SOURCE-FILE "llefu-sbcl" {AD59659}> as having been
> successful.
>  2: [ABORT] Return to SLIME's top level.
>  3: [TERMINATE-THREAD] Terminate this thread (#<THREAD "repl-
> thread" {AFE7681}>)
>
> Backtrace:
>   0: (FDEFINITION SB-IMPL::CHAR->UTF8)
>   1: (SB-FASL::FOP-FUNCALL)
>   2: (SB-FASL::LOAD-FASL-GROUP
>       #<SB-SYS:FD-STREAM for "file /var/cache/common-lisp-controller/
> 1000/sbcl/local/home/justin/lisp/portableaserve-1.2.47-vbz-0.1.4/acl-
> compat/$
>   3: (SB-FASL::LOAD-AS-FASL
>       #<SB-SYS:FD-STREAM for "file /var/cache/common-lisp-controller/
> 1000/sbcl/local/home/justin/lisp/portableaserve-1.2.47-vbz-0.1.4/acl-
> compat/$
>       NIL
>       #<unavailable argument>)
>   4: (SB-FASL::INTERNAL-LOAD
>       #P"/var/cache/common-lisp-controller/1000/sbcl/local/home/justin/
> lisp/portableaserve-1.2.47-vbz-0.1.4/acl-compat/llefu-sbcl.fasl"
>       #P"/var/cache/common-lisp-controller/1000/sbcl/local/home/justin/
> lisp/portableaserve-1.2.47-vbz-0.1.4/acl-compat/llefu-sbcl.fasl"
>       :ERROR
>       NIL
>       NIL
>       :BINARY
>       NIL)
>   5: (SB-FASL::INTERNAL-LOAD
>       #P"/var/cache/common-lisp-controller/1000/sbcl/local/home/justin/
> lisp/portableaserve-1.2.47-vbz-0.1.4/acl-compat/llefu-sbcl.fasl"
>       #P"/var/cache/common-lisp-controller/1000/sbcl/local/home/justin/
> lisp/portableaserve-1.2.47-vbz-0.1.4/acl-compat/llefu-sbcl.fasl"
> --------------------------------------------------------------------------
> Do I need to reinstall "sb-impl"  ? Does that mean re-installing sbcl?
>
> Thanks,
> Justin

Ok,

Well, I never really answered any of the questions above, except:
1. "sb-impl" seems to be a core implementation package of sbcl, and
happens to be completely undocumented.
2. The INSTALL.LISP file of portable allegroserve calls this "char-
>utf8" function which is part of the sb-impl package, but is
undefined.

Running INSTALL.LISP without addressing the error above will install a
bad version of allegroserve

Unlocking sb-impl and defining sb-impl::char->utf8 as a function that
does nothing (defun char->utf8 (char) char) will let INSTALL.LISP run
without any errors and install a working copy of allegroserve.

But if you don't want to put up with all that, you can just use:
(require :asdf)
(require :asdf-install)
(asdf-install:install 'aserve)

(require :aserve)

And that seems to work very well.
From: Petter Gustad
Subject: Re: Installing Portable Allegro Serve and sb-impl
Date: 
Message-ID: <87ve32sy5x.fsf@pangea.home.gustad.com>
jpletcher <·········@gmail.com> writes:

> But if you don't want to put up with all that, you can just use:
> (require :asdf)
> (require :asdf-install)
> (asdf-install:install 'aserve)
>
> (require :aserve)
>
> And that seems to work very well.

But that gives you a completely different version of AllegroServe?
i.e. not the release by Vorosbaranyi Zoltan which have the UTF-8
support and the file named llefu-sbcl.sbcl. I just ran into this
problem myself... 

Petter
-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?