From: Jeffery Zhang
Subject: installing portable allegroserve on sbcl
Date: 
Message-ID: <e3d7nl$1u2$1@ruby.cit.cornell.edu>
I've been trying to install portable allegroserve on sbcl and I keep 
getting these variable unbound errors. The installation files I'm using 
are downloaded using ASDF-INSTALL, so it should be the standard distro. 
Does anyone know what is the problem? Is it sbcl?

-Jeff

From: Ari Johnson
Subject: Re: installing portable allegroserve on sbcl
Date: 
Message-ID: <m2bqud21m5.fsf@hermes.theari.com>
Jeffery Zhang <····@cornell.edu> writes:

> I've been trying to install portable allegroserve on sbcl and I keep
> getting these variable unbound errors. The installation files I'm
> using are downloaded using ASDF-INSTALL, so it should be the standard
> distro. Does anyone know what is the problem? Is it sbcl?

What version of sbcl are you using?
From: Jeffery Zhang
Subject: Re: installing portable allegroserve on sbcl
Date: 
Message-ID: <e3daj2$e48$1@ruby.cit.cornell.edu>
On 2006-05-04 12:31:14 -0400, Ari Johnson <················@gmail.com> said:

> Jeffery Zhang <····@cornell.edu> writes:
> 
>> I've been trying to install portable allegroserve on sbcl and I keep
>> getting these variable unbound errors. The installation files I'm
>> using are downloaded using ASDF-INSTALL, so it should be the standard
>> distro. Does anyone know what is the problem? Is it sbcl?
> 
> What version of sbcl are you using?

sbcl 0.9.11 for Intel mac
From: Ari Johnson
Subject: Re: installing portable allegroserve on sbcl
Date: 
Message-ID: <m23bfp2176.fsf@hermes.theari.com>
Jeffery Zhang <····@cornell.edu> writes:

> On 2006-05-04 12:31:14 -0400, Ari Johnson <················@gmail.com> said:
>
>> Jeffery Zhang <····@cornell.edu> writes:
>> 
>>> I've been trying to install portable allegroserve on sbcl and I keep
>>> getting these variable unbound errors. The installation files I'm
>>> using are downloaded using ASDF-INSTALL, so it should be the standard
>>> distro. Does anyone know what is the problem? Is it sbcl?
>> What version of sbcl are you using?
>
> sbcl 0.9.11 for Intel mac

I get totally different errors with SBCL 0.8.16 on Debian sarge.  Wish
I could help.
From: Ralph Richard Cook
Subject: Re: installing portable allegroserve on sbcl
Date: 
Message-ID: <efkq529r3qe0kedfhvab7j7tvu4qlid2bl@4ax.com>
I just tried the same thing in Ubuntu in a Parallels VM in my Intel
Mac. You have to get the latest CVS portableaserve from sourceforge,
and anonymous CVS is down for the moment. I had to manually download
from the CVS web pages, the sbcl subtree from acl-compat and all the
files from aserve worked for me.

Jeffery Zhang <····@cornell.edu> wrote:

>On 2006-05-04 12:31:14 -0400, Ari Johnson <················@gmail.com> said:
>
>> Jeffery Zhang <····@cornell.edu> writes:
>> 
>>> I've been trying to install portable allegroserve on sbcl and I keep
>>> getting these variable unbound errors. The installation files I'm
>>> using are downloaded using ASDF-INSTALL, so it should be the standard
>>> distro. Does anyone know what is the problem? Is it sbcl?
>> 
>> What version of sbcl are you using?
>
>sbcl 0.9.11 for Intel mac
From: Jeffery Zhang
Subject: Re: installing portable allegroserve on sbcl
Date: 
Message-ID: <e3lb4a$mmr$1@ruby.cit.cornell.edu>
can someone post a link to where i can download a version that works 
out of the box? I tried downloading from sourceforge and it seems to be 
missing a lot of stuff. I get a lot of X is unbound type of errors.

-Jeff
On 2006-05-06 21:50:43 -0400, Ralph Richard Cook 
<·············@bellsouth.net> said:

> I just tried the same thing in Ubuntu in a Parallels VM in my Intel
> Mac. You have to get the latest CVS portableaserve from sourceforge,
> and anonymous CVS is down for the moment. I had to manually download
> from the CVS web pages, the sbcl subtree from acl-compat and all the
> files from aserve worked for me.
> 
> Jeffery Zhang <····@cornell.edu> wrote:
> 
>> On 2006-05-04 12:31:14 -0400, Ari Johnson <················@gmail.com> said:
>> 
>>> Jeffery Zhang <····@cornell.edu> writes:
>>> 
>>>> I've been trying to install portable allegroserve on sbcl and I keep
>>>> getting these variable unbound errors. The installation files I'm
>>>> using are downloaded using ASDF-INSTALL, so it should be the standard
>>>> distro. Does anyone know what is the problem? Is it sbcl?
>>> 
>>> What version of sbcl are you using?
>> 
>> sbcl 0.9.11 for Intel mac
From: Bill Atkins
Subject: Re: installing portable allegroserve on sbcl
Date: 
Message-ID: <8764kh4r6n.fsf@rpi.edu>
Jeffery Zhang <····@cornell.edu> writes:

> can someone post a link to where i can download a version that works
> out of the box? I tried downloading from sourceforge and it seems to
> be missing a lot of stuff. I get a lot of X is unbound type of errors.
>
> -Jeff
> On 2006-05-06 21:50:43 -0400, Ralph Richard Cook
> <·············@bellsouth.net> said:
>
>> I just tried the same thing in Ubuntu in a Parallels VM in my Intel
>> Mac. You have to get the latest CVS portableaserve from sourceforge,
>> and anonymous CVS is down for the moment. I had to manually download
>> from the CVS web pages, the sbcl subtree from acl-compat and all the
>> files from aserve worked for me.
>>
>> Jeffery Zhang <····@cornell.edu> wrote:
>>
>>> On 2006-05-04 12:31:14 -0400, Ari Johnson <················@gmail.com> said:
>>>
>>>> Jeffery Zhang <····@cornell.edu> writes:
>>>>
>>>>> I've been trying to install portable allegroserve on sbcl and I keep
>>>>> getting these variable unbound errors. The installation files I'm
>>>>> using are downloaded using ASDF-INSTALL, so it should be the standard
>>>>> distro. Does anyone know what is the problem? Is it sbcl?
>>>>
>>>> What version of sbcl are you using?
>>>
>>> sbcl 0.9.11 for Intel mac
>
>

Portable Allegroserve?  Sure, that's right here:

 http://www.cliki.net/araneida

:D

-- 
This is a song that took me ten years to live and two years to write.
 - Bob Dylan
From: Petter Gustad
Subject: Re: installing portable allegroserve on sbcl
Date: 
Message-ID: <87hd41woa6.fsf@gustad.com>
Jeffery Zhang <····@cornell.edu> writes:

> can someone post a link to where i can download a version that works
> out of the box? I tried downloading from sourceforge and it seems to
> be missing a lot of stuff. I get a lot of X is unbound type of errors.

cvs ····················@cvs.sourceforge.net:/cvsroot/portableaserve login

Type return after the password prompt.

cvs -z3 ····················@cvs.sourceforge.net:/cvsroot/portableaserve co -P portableaserve

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?
From: Jeffery Zhang
Subject: Re: installing portable allegroserve on sbcl
Date: 
Message-ID: <e3m32l$h8r$1@ruby.cit.cornell.edu>
I'm still getting
NET.ASERVE:*RESPONSE-FOUND* unbound
NET.ASERVE::CREATE-SRESOURCE undefined
no class named NET.ASERVE:HTTP-REQUEST
MAKE-PROCESS-LOCK: Calling a multiprocessing function on a 
single-threaded sbcl build

-Jeff


On 2006-05-07 16:52:33 -0400, Petter Gustad <·············@gustad.com> said:

> Jeffery Zhang <····@cornell.edu> writes:
> 
>> can someone post a link to where i can download a version that works
>> out of the box? I tried downloading from sourceforge and it seems to
>> be missing a lot of stuff. I get a lot of X is unbound type of errors.
> 
> cvs ····················@cvs.sourceforge.net:/cvsroot/portableaserve login
> 
> Type return after the password prompt.
> 
> cvs -z3 
> ····················@cvs.sourceforge.net:/cvsroot/portableaserve co -P 
> portableaserve
> 
> Petter
From: Anon
Subject: Re: installing portable allegroserve on sbcl
Date: 
Message-ID: <f7-dnc7ghbSjIsPZnZ2dneKdnZydnZ2d@comcast.com>
Jeffery Zhang <····@cornell.edu> wrote in
·················@ruby.cit.cornell.edu: 

> I'm still getting
> NET.ASERVE:*RESPONSE-FOUND* unbound
> NET.ASERVE::CREATE-SRESOURCE undefined
> no class named NET.ASERVE:HTTP-REQUEST
> MAKE-PROCESS-LOCK: Calling a multiprocessing function on a 
> single-threaded sbcl build
> 
> -Jeff
> 
> 
> On 2006-05-07 16:52:33 -0400, Petter Gustad <·············@gustad.com>
> said: 
> 
>> Jeffery Zhang <····@cornell.edu> writes:
>> 
>>> can someone post a link to where i can download a version that works
>>> out of the box? I tried downloading from sourceforge and it seems to
>>> be missing a lot of stuff. I get a lot of X is unbound type of
>>> errors. 
>> 
>> cvs ····················@cvs.sourceforge.net:/cvsroot/portableaserve
>> login 
>> 
>> Type return after the password prompt.
>> 
>> cvs -z3 
>> ····················@cvs.sourceforge.net:/cvsroot/portableaserve co
>> -P portableaserve
>> 
>> Petter
> 
> 

The last message seems to indicate your sbcl does not
support threads.  If you type *features* at the REPL
you should see :SB-THREAD in the list.  I'm not sure
if the other messages are due to this though.

This is SBCL 0.9.12, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
* *features*

(:SB-THREAD :ANSI-CL
            :COMMON-LISP
            :SBCL
            :UNIX
            :SB-DOC
            :SB-TEST
            :SB-PACKAGE-LOCKS
            :SB-UNICODE
            :SB-SOURCE-LOCATIONS
            :IEEE-FLOATING-POINT
            :X86
            :ELF
            :LINUX
            :GENCGC
            :STACK-GROWS-DOWNWARD-NOT-UPWARD
            :C-STACK-IS-CONTROL-STACK
            :STACK-ALLOCATABLE-CLOSURES
            :ALIEN-CALLBACKS
            :LINKAGE-TABLE
            :OS-PROVIDES-DLOPEN
            :OS-PROVIDES-DLADDR
            :OS-PROVIDES-PUTWC)
*
From: Anon
Subject: Re: installing portable allegroserve on sbcl
Date: 
Message-ID: <uI6dnXjWS4ZaVMPZRVn-vA@comcast.com>
Anon wrote:
> Jeffery Zhang <····@cornell.edu> wrote in
> ·················@ruby.cit.cornell.edu: 
> 
>> I'm still getting
>> NET.ASERVE:*RESPONSE-FOUND* unbound
>> NET.ASERVE::CREATE-SRESOURCE undefined
>> no class named NET.ASERVE:HTTP-REQUEST
>> MAKE-PROCESS-LOCK: Calling a multiprocessing function on a 
>> single-threaded sbcl build
>>
>> -Jeff
>>
>>
>> On 2006-05-07 16:52:33 -0400, Petter Gustad <·············@gustad.com>
>> said: 
>>
>>> Jeffery Zhang <····@cornell.edu> writes:
>>>
>>>> can someone post a link to where i can download a version that works
>>>> out of the box? I tried downloading from sourceforge and it seems to
>>>> be missing a lot of stuff. I get a lot of X is unbound type of
>>>> errors. 
>>> cvs ····················@cvs.sourceforge.net:/cvsroot/portableaserve
>>> login 
>>>
>>> Type return after the password prompt.
>>>
>>> cvs -z3 
>>> ····················@cvs.sourceforge.net:/cvsroot/portableaserve co
>>> -P portableaserve
>>>
>>> Petter
>>
> 
> The last message seems to indicate your sbcl does not
> support threads.  If you type *features* at the REPL
> you should see :SB-THREAD in the list.  I'm not sure
> if the other messages are due to this though.
> 
> This is SBCL 0.9.12, an implementation of ANSI Common Lisp.
> More information about SBCL is available at <http://www.sbcl.org/>.
> 
> SBCL is free software, provided as is, with absolutely no warranty.
> It is mostly in the public domain; some portions are provided under
> BSD-style licenses.  See the CREDITS and COPYING files in the
> distribution for more information.
> * *features*
> 
> (:SB-THREAD :ANSI-CL
>             :COMMON-LISP
>             :SBCL
>             :UNIX
>             :SB-DOC
>             :SB-TEST
>             :SB-PACKAGE-LOCKS
>             :SB-UNICODE
>             :SB-SOURCE-LOCATIONS
>             :IEEE-FLOATING-POINT
>             :X86
>             :ELF
>             :LINUX
>             :GENCGC
>             :STACK-GROWS-DOWNWARD-NOT-UPWARD
>             :C-STACK-IS-CONTROL-STACK
>             :STACK-ALLOCATABLE-CLOSURES
>             :ALIEN-CALLBACKS
>             :LINKAGE-TABLE
>             :OS-PROVIDES-DLOPEN
>             :OS-PROVIDES-DLADDR
>             :OS-PROVIDES-PUTWC)
> *

Just to try it out in a system without thread support (Freebsd 6.0)
I downloaded the CVS version as indicated above then:

cd ~/portableaserve

sbcl
This is SBCL 0.9.9, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
* *features*

(:ANSI-CL :COMMON-LISP
           :SBCL
           :UNIX
           :SB-DOC
           :SB-TEST
           :SB-PACKAGE-LOCKS
           :SB-UNICODE
           :SB-SOURCE-LOCATIONS
           :IEEE-FLOATING-POINT
           :X86
           :BSD
           :ELF
           :FREEBSD
           :GENCGC
           :STACK-GROWS-DOWNWARD-NOT-UPWARD
           :C-STACK-IS-CONTROL-STACK
           :STACK-ALLOCATABLE-CLOSURES
           :ALIEN-CALLBACKS
           :LINKAGE-TABLE
           :OS-PROVIDES-DLOPEN
           :OS-PROVIDES-DLADDR
           :OS-PROVIDES-PUTWC)
*

* (load "INSTALL")
.
.
.
* (load "aserve/example.cl")
.
.
.
* (aserve-example:start-simple-server)

(...the REPL won't respond after this step... the server can be stopped 
by control-c and abort...)

then go to your browser and http://localhost:2001/
You should see a welcome page.
From: Jeffery Zhang
Subject: Re: installing portable allegroserve on sbcl
Date: 
Message-ID: <e3oddv$ce5$1@ruby.cit.cornell.edu>
This is what I got

(:ASDF :ANSI-CL
       :COMMON-LISP
       :SBCL
       :UNIX
       :SB-DOC
       :SB-TEST
       :SB-PACKAGE-LOCKS
       :SB-UNICODE
       :SB-SOURCE-LOCATIONS
       :IEEE-FLOATING-POINT
       :X86
       :MACH-O
       :BSD
       :DARWIN
       :GENCGC
       :STACK-GROWS-DOWNWARD-NOT-UPWARD
       :C-STACK-IS-CONTROL-STACK
       :STACK-ALLOCATABLE-CLOSURES
       :ALIEN-CALLBACKS
       :LINKAGE-TABLE
       :OS-PROVIDES-DLOPEN
       :OS-PROVIDES-DLADDR
       :OS-PROVIDES-PUTWC)

I downloaded this from the sbcl site, is there a different download 
with threads?

On 2006-05-07 23:47:10 -0400, Anon <·······@pvofotpmaq.net> said:

> Jeffery Zhang <····@cornell.edu> wrote in
> ·················@ruby.cit.cornell.edu:
>> I'm still getting
>> NET.ASERVE:*RESPONSE-FOUND* unbound
>> NET.ASERVE::CREATE-SRESOURCE undefined
>> no class named NET.ASERVE:HTTP-REQUEST
>> MAKE-PROCESS-LOCK: Calling a multiprocessing function on a 
>> single-threaded sbcl build
>> 
>> -Jeff
>> 
>> 
>> On 2006-05-07 16:52:33 -0400, Petter Gustad <·············@gustad.com>
>> said:
>>> Jeffery Zhang <····@cornell.edu> writes:
>>> 
>>>> can someone post a link to where i can download a version that works
>>>> out of the box? I tried downloading from sourceforge and it seems to
>>>> be missing a lot of stuff. I get a lot of X is unbound type of
>>>> errors.
>>> 
>>> cvs ····················@cvs.sourceforge.net:/cvsroot/portableaserve
>>> login
>>> Type return after the password prompt.
>>> 
>>> cvs -z3 ····················@cvs.sourceforge.net:/cvsroot/portableaserve co
>>> -P portableaserve
>>> 
>>> Petter
>> 
>> 
> 
> The last message seems to indicate your sbcl does not
> support threads.  If you type *features* at the REPL
> you should see :SB-THREAD in the list.  I'm not sure
> if the other messages are due to this though.
> 
> This is SBCL 0.9.12, an implementation of ANSI Common Lisp.
> More information about SBCL is available at <http://www.sbcl.org/>.
> 
> SBCL is free software, provided as is, with absolutely no warranty.
> It is mostly in the public domain; some portions are provided under
> BSD-style licenses.  See the CREDITS and COPYING files in the
> distribution for more information.
> * *features*
> 
> (:SB-THREAD :ANSI-CL
>             :COMMON-LISP
>             :SBCL
>             :UNIX
>             :SB-DOC
>             :SB-TEST
>             :SB-PACKAGE-LOCKS
>             :SB-UNICODE
>             :SB-SOURCE-LOCATIONS
>             :IEEE-FLOATING-POINT
>             :X86
>             :ELF
>             :LINUX
>             :GENCGC
>             :STACK-GROWS-DOWNWARD-NOT-UPWARD
>             :C-STACK-IS-CONTROL-STACK
>             :STACK-ALLOCATABLE-CLOSURES
>             :ALIEN-CALLBACKS
>             :LINKAGE-TABLE
>             :OS-PROVIDES-DLOPEN
>             :OS-PROVIDES-DLADDR
>             :OS-PROVIDES-PUTWC)
> *
From: Anon
Subject: Re: installing portable allegroserve on sbcl
Date: 
Message-ID: <D9qdnW2RPPqRbsLZ4p2dnA@comcast.com>
Jeffery Zhang wrote:
> This is what I got
> 
> (:ASDF :ANSI-CL
>       :COMMON-LISP
>       :SBCL
>       :UNIX
>       :SB-DOC
>       :SB-TEST
>       :SB-PACKAGE-LOCKS
>       :SB-UNICODE
>       :SB-SOURCE-LOCATIONS
>       :IEEE-FLOATING-POINT
>       :X86
>       :MACH-O
>       :BSD
>       :DARWIN
>       :GENCGC
>       :STACK-GROWS-DOWNWARD-NOT-UPWARD
>       :C-STACK-IS-CONTROL-STACK
>       :STACK-ALLOCATABLE-CLOSURES
>       :ALIEN-CALLBACKS
>       :LINKAGE-TABLE
>       :OS-PROVIDES-DLOPEN
>       :OS-PROVIDES-DLADDR
>       :OS-PROVIDES-PUTWC)
> 
> I downloaded this from the sbcl site, is there a different download with 
> threads?
> 

You may be out of luck with sbcl and threads (for now) on systems
other than Linux.  However, CMUCL seems to support multiprocessing
under Freebsd.  You may want to give that a try from source.
From: Anon
Subject: Re: installing portable allegroserve on sbcl
Date: 
Message-ID: <5tCdnfc5geZd9MfZnZ2dnUVZ_sKdnZ2d@comcast.com>
Jeffery Zhang <····@cornell.edu> wrote in news:e3d7nl$1u2$1
@ruby.cit.cornell.edu:

> I've been trying to install portable allegroserve on sbcl and I keep 
> getting these variable unbound errors. The installation files I'm using 
> are downloaded using ASDF-INSTALL, so it should be the standard distro. 
> Does anyone know what is the problem? Is it sbcl?
> 
> -Jeff
> 

Try dowloading PAS from CVS and run using

(load "/somepath.../portableaserve/INSTALL")

(in-package :net.aserve)
(start :port 2001 :listeners 20) 
From: Petter Gustad
Subject: Re: installing portable allegroserve on sbcl
Date: 
Message-ID: <877j50is0x.fsf@gustad.com>
Jeffery Zhang <····@cornell.edu> writes:

> I've been trying to install portable allegroserve on sbcl and I keep
> getting these variable unbound errors. The installation files I'm
> using are downloaded using ASDF-INSTALL, so it should be the standard
> distro. Does anyone know what is the problem? Is it sbcl?

I've been using mostly CMUCL with aserve/webactions, but some earlier
thread made me test SBCL. It seems like the distribution included with
Gentoo Linux works. After doing (I'm on AMD64, hence the
ACCEPT_KEYWORDS="~amd64") with "nptl threads" as part of my USE
variable:

ACCEPT_KEYWORDS="~amd64" emerge sbcl
ACCEPT_KEYWORDS="~amd64" emerge cl-aserve

I can:

(asdf:operate 'asdf:load-op :aserve)
(in-package :net.aserve)

(publish :path "/" 
         :content-type "text/html"
         :function #'(lambda (req ent)
                       (with-http-response (req ent)
                         (with-http-body (req ent)
                           (html
                             (:head "allegroserve"
                               (:h1 (:princ (format nil "sbcl ~S with aserve ~S" (lisp-implementation-version) net.aserve:*aserve-version*)))))))))

(start :port 8080 :chunking nil)

Then starting a browser with http://localhost:8080/ as the URL I can
read the following in the browser window:

sbcl "0.9.3" with aserve (1 2 42)

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?
From: Petter Gustad
Subject: Re: installing portable allegroserve on sbcl
Date: 
Message-ID: <873bfoira8.fsf@gustad.com>
Petter Gustad <·············@gustad.com> writes:

> Then starting a browser with http://localhost:8080/ as the URL I can
> read the following in the browser window:
> 
> sbcl "0.9.3" with aserve (1 2 42)

There was a small typo in my message which caused h1 to be output
inside a head. Anyway, here's the html for the above posted code:

<head>allegroserve<h1>sbcl "0.9.3" with aserve (1 2 42)</h1></head>

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?