Re: Install portable allegroserve under clisp (Missing IPADDR-TO-DOTTED )
- From: Ken Tilton <kennytilton@xxxxxxxxxxxxx>
- Date: Fri, 29 Feb 2008 15:02:11 -0500
[to list and direct]
fjalor wrote:
Hi,
Personal Background (skip this if you are interested in the technical
question):
I'm new to Lisp and am very fascinating about the possibilities
the language offers you, but I also must admit, that I'm a bit
irritated whith missing standards (such as documented librarys etc.).
This shouldn't be underestimated when the question arises whether
lisp is being used alot or not. Or when the question arises whether
lisp is popular or not. It _is_ very difficult even for experienced
programmers to get into it, not speaking of beginners.
That's not so because the principles of the language are so
hard to learn (at least for me), but because of the lacking
standards.
That being said ;) here is my concern:
Question:
I run clisp 2.38 on Ubuntu 4.0.3 and want to use portable allegro.
After downloading portable allegro from sourceforge.net and running
clisp as root from the same directory where INSTALL.lisp is, I tried
to load INSTALL.lisp:
(load "INSTALL.lisp")
It seems that all the required files are correctly loaded. But when
it comes to compiling the first error I get is:
Compiling file /usr/share/common-lisp/source/aserve/main.cl ...
*** - READ von #<INPUT BUFFERED FILE-STREAM CHARACTER #P"/usr/share/
common-lisp/source/aserve/main.cl" @1522>: In
#<PACKAGE SOCKET>
there doesn't exist an extern symbol with the name "IPADDR-TO-
DOTTED"
I do not know anything about Portable Aserve (except that I hear more about Hunchentoot these days) but it might just be a package problem. In situations like this, step #1 for me is to see if the symbol is out there at all:
(apropos "IPADDR-TO-DOTTED")
Assuming it is, note in which package it is defined. Perhaps (I am totally just guessing) you then just need to:
(in-package :wherever-it-is)
And then:
(load "install.lisp")
btw, if you at least get past the first error, there may be a read-me out there somewhere with installation instructions you missed.
Sorry for all the guesswork.
kenny
In the cookbook-section about sockets
http://cl-cookbook.sourceforge.net/sockets.html
I tried out
(resolve-host-ipaddr "www.lisp.org") and (resolve-host-ipaddr
"128.18.65.4")
which happened to run well, but again when I tried
(dotted-to-ipaddr "128.18.65.4") or (ipaddr-to-dotted 2148679940) from
the cookbook
I get the same error, telling me that both functions are not defined.
Am I missing something, or does anybody know how to solve this
problem?
1. Do I have to write those functions myself?
2. If so, is there any specification to what the input values and
output values of 'ipadr' are?
3. Still if so: In which file should I write those functions?
I hope not to bother anyone with those questions, but I found it very
frustrating to searched 2 whole days (and a big part of nights) about
how to install portable aserve with cl and not to solve the problem.
Any comment is appreciated.
Thanks for reading this post.
--
http://smuglispweeny.blogspot.com/
http://www.theoryyalgebra.com/
"In the morning, hear the Way;
in the evening, die content!"
-- Confucius
.
- References:
- Prev by Date: Re: Pocket Reference for Common Lisp
- Next by Date: Re: Pocket Reference for Common Lisp
- Previous by thread: Install portable allegroserve under clisp (Missing IPADDR-TO-DOTTED )
- Index(es):
Relevant Pages
|