Doug,

I ran into the same problem a while ago, and Alex told me (on IRC)
that 64bit picolisp's networking functions require ipv6 (as Joe said).

If you have the ipv6 kernel modulle already compiled (most distro's
kernel config's will at least compile it as a module, even if they
don't enable it), and if your /etc/hosts has the right ipv6 localhost
address ("::1 localhost"), then you should just be able to `modprobe`
the module, and be on your way :)

--
Regards,
       Imran Rafique

On 22 February 2012 22:07, Doug Snead <semaphore_2...@yahoo.com> wrote:
> 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_appl"' +
>
> 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:picolisp@software-lab.de?subject=Unsubscribe
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to