Doug - you need to install ipv6 support on linux. Look for an ipv6 package for your distro On Feb 23, 2012 1:28 AM, "Doug Snead" <[email protected]> wrote:
> Might be even easier to reproduce ... just try the port function: > > # picoLisp-2.2.7.tgz ... > ~/lisp/picoLisp > $ ./p > : (port 1234) > -> 3 > > That's ok, but the most recent version, > > # picoLisp-3.0.9.tgz > # ./pil > : (port 1234) > !? (port 1234) > IP socket error: Address family not supported by protocol > ? > > > > > > > --- On Wed, 2/22/12, Doug Snead <[email protected]> wrote: > > > From: Doug Snead <[email protected]> > > Subject: server - IP socket error: Address family not supported by > protocol > > To: [email protected] > > Date: Wednesday, February 22, 2012, 10:07 PM > > Hi Alex, > > > > I'm tying to get the example in doc/app.html > > (picoLisp-3.0.9.tgz on a pretty standard linux box) to > > serve. Here's my .l file: > > > > # cat test_html_app.l > > ######################################################################## > > (html 0 "Hello" "@lib.css" NIL > > "Hello World!" ) > > ######################################################################## > > > > (renamed from project.l but otherwise identical) > > > > But when I try to start the server, like this: > > > > # ./pil @lib/http.l @lib/xhtml.l @lib/form.l -'server 8080 > > "test_html_app.l"' + > > > > Picolisp tells me: > > > > !? (port *Port) > > IP socket error: Address family not supported by protocol > > ? > > > > Same for a different port number: > > > > # ./pil @lib/http.l @lib/xhtml.l @lib/form.l -'server 54321 > > "test_html_app.l"' + > > !? (port *Port) > > IP socket error: Address family not supported by protocol > > ? > > > > This is the linux platform I am using (Linux 2.6.30.5 #1 SMP > > Tue Sep 1 15:48:26 GMT-8 2009 i686 GNU/Linux). > > > > I could easily be doing something wrong ... but I think the > > above should work. > > > > Cheers, > > > > Doug > > > > > > > -- > UNSUBSCRIBE: mailto:[email protected]?subjectUnsubscribe >
