Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error while installing aserve(AllegroServe)

54 views
Skip to first unread message

yixin li

unread,
Jun 15, 2013, 12:13:27 AM6/15/13
to
Hi everyone, I am new to lisp (and to programming in general) and am learning lisp with the book Practical Common Lisp. Accordng to chapter 26 I need to build a web application with the web server AllegroServe.

So I downloaded the software from GitHub and try (load "directory-name/load.cl") in my REPL. An error occured:

"There is no package named "USER"".

I tried the option "[MAKE-NICKNAME] Make "USER" be a nickname for package "CL-USER"" from the Restarts. And then another error occured:

"Module SOCK was not provided by any function on CCL:*MODULE-PROVIDER-FUNCTIONS*."

So I tried to install aserve with quicklisp. I tried (ql:quickload "aserve") and one more time, an error occured:

"There is no applicable method for the generic function:
#<STANDARD-GENERIC-FUNCTION MAKE-INSTANCE #xC00FC3E>
when called with arguments:
(#<CCL:FORWARD-REFERENCED-CLASS CL-SOURCE-FILE.CL>)"

I use Clozure CL from lispbox and my OS is windows 7. I download AllegroServe from https://github.com/franzinc/aserve .

I don't know how to handle these errors(I don't even know what the problem exactly is). Can anyone help?

Thanks for reading this post. Any comment will be really appreciated.

Jocelyn Fréchot

unread,
Jun 15, 2013, 7:04:40 AM6/15/13
to
On 15/06/2013 06:13, yixin li wrote:

> I use Clozure CL from lispbox and my OS is windows 7. I download AllegroServe from https://github.com/franzinc/aserve .

I guess the answer is written on that page:

“Platforms

AllegroServe works on all versions of Allegro Common Lisp since 6.0.”

And from chapter 26 of the PCL:

“If you're not using Allegro, you can use PortableAllegroServe,
a friendly fork of the AllegroServe code base, which includes
an Allegro compatibility layer that allows PortableAllegroServe
to run on most Common Lisps.”


--
Jocelyn Fréchot

yixin li

unread,
Jun 16, 2013, 10:00:03 AM6/16/13
to
In fact I downloaded PortableAllegroServe and it didn't work either. The project seems to be inact since 2004, so version may not be the problem in this case.

I think there are two ways now. I can use linux(and maybe sbcl) or I can learn and use another lisp web server to finish the web application in the book PCL. Right now I will try the latter.

Still, thank you for your comment!
0 new messages