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
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?
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
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.
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
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
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?
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
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)
*
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.
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)
> *
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.
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)
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?
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?