Re: pil21 + OpenBSD

2021-12-22 Thread Alexander Burger
Hi Frithjof, > Thanks, works fine. Great! :) > The Makefile still needs some modifications, but I don't think that > introducing > more complexity there would be the right thing. Yes, let's keep it simple. The Makefile would need a lot more variations to be completely general, and is easier

Re: pil21 + OpenBSD

2021-12-22 Thread Frithjof Schulze
On Wed Dec 22, 2021 at 5:32 PM CET, Alexander Burger wrote: > I've included your patch, and released a new pil21 (version 21.12.22). > Can you > check when you have time? Thanks, works fine. $ pil @lib/xhtml.l @lib/http.l --server and $ bin/httpGate $ echo $? 0 $ curl

Re: pil21 + OpenBSD

2021-12-22 Thread Alexander Burger
Hi Frithjof, > attached is a small patch to make httpGate work on OpenBSD (IPV6 only). > Tested successfully. Cool, thanks a lot! I've included your patch, and released a new pil21 (version 21.12.22). Can you check when you have time? ☺/ A!ex -- UNSUBSCRIBE:

Re: pil21 + OpenBSD

2021-12-22 Thread Frithjof Schulze
Hi Alex, hi Mike, attached is a small patch to make httpGate work on OpenBSD (IPV6 only). Tested successfully. diff --git a/src/httpGate.c b/src/httpGate.c index dc8b58d..6c4f2be 100644 --- a/src/httpGate.c +++ b/src/httpGate.c @@ -232,8 +232,10 @@ static int gatePort(unsigned short port) {

Re: pil21 + OpenBSD

2021-05-11 Thread Frithjof Schulze
On 11.05.21 10:30, Mike wrote: >> >> I will try to find out more. The problem is in 'listen' so the 'wait' or >> 'accept'. I can send from PicoLisp to a listening netcat, but sending >> from netcat to a listening PicoLisp hangs. > > Please run your code on latest pil21 from now or show us example

Re: pil21 + OpenBSD

2021-05-11 Thread Mike
> > I will try to find out more. The problem is in 'listen' so the 'wait' or > 'accept'. I can send from PicoLisp to a listening netcat, but sending > from netcat to a listening PicoLisp hangs. Please run your code on latest pil21 from now or show us example of code. BTW, sending over udp works:

Re: pil21 + OpenBSD

2021-05-11 Thread Mike
hi all, > pil21 on OpenBSD still works fine, except for networking, because 'port' > in @lib/net.l creates an IPv6 socket (domain AF_INET6), and then tries > to set the IPV6_V6ONLY option. This option is read-only in OpenBSD and > always set to true. OpenBSD is not tier1 support system and

Re: pil21 + OpenBSD

2021-05-11 Thread Frithjof Schulze
Hi, Alex, On 11.05.21 07:25, Alexander Burger wrote: >> I tried to remove those few lines and use IPv6-only for some tests, but >> so far wasn't successful. So I resorted to just use PicoLisp on Linux, >> which is fine by me ;) > Can anybody try to find out what else goes wrong? I will try to

Re: pil21 + OpenBSD

2021-05-10 Thread Alexander Burger
Hi Mike, > OpenBSD is not tier1 support system and requires additional request to fix > portability. > Apply this patch and (port) will start work on OpenBSD, tested. Cool, thanks! This seems the same as the conditional I've just inserted into @lib/net.l and released. So it should work now. ☺/

Re: pil21 + OpenBSD

2021-05-10 Thread Alexander Burger
Hi Frithjof, > The comments in @lib/net.l indicate, that it was at least expected, that > this wouldn't work on OpenBSD. Looking into pil64, I see that this setsockopt() call was conditionally assembled only for non-OpenBSD. So I now did the same for pil21 and released it. > I tried to remove

Re: pil21 + OpenBSD

2021-05-10 Thread Frithjof Schulze
Hi all, pil21 on OpenBSD still works fine, except for networking, because 'port' in @lib/net.l creates an IPv6 socket (domain AF_INET6), and then tries to set the IPV6_V6ONLY option. This option is read-only in OpenBSD and always set to true. https://man.openbsd.org/ip6.4#IPV6_V6ONLY

Re: pil21 + OpenBSD

2021-03-10 Thread Mike
>> Cool, good news! Thanks a lot! Updated for OpenBSD https://git.envs.net/mpech/pil21-tests/src/branch/master/INSTALL-.md (mike) -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Re: pil21 + OpenBSD

2021-03-10 Thread Mike
> Is there a simpler way? No, let me describe my steps then if you interested in. (mike) -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Re: pil21 + OpenBSD

2021-03-10 Thread Frithjof Schulze
Hi! On 09.03.21 16:26, Alexander Burger wrote: >> I have successfully compiled and run tests for pil21 on openbsd 6.8 >> Documentation and full system portability is a question of future research. >> >> [...] >> : (call 'uname '-a) >> OpenBSD openbsd.localdomain 6.8 GENERIC.MP#5 amd64 >> [...] >

pil21 + OpenBSD

2021-03-09 Thread Mike
hi all, I have successfully compiled and run tests for pil21 on openbsd 6.8 Documentation and full system portability is a question of future research. $ pil + : (version) 21.3.5 -> (21 3 5) : (call 'uname '-a) OpenBSD openbsd.localdomain 6.8 GENERIC.MP#5 amd64 : (** 2 222) ->

Re: pil21 + OpenBSD

2021-03-09 Thread Alexander Burger
Hi Mike, > I have successfully compiled and run tests for pil21 on openbsd 6.8 > Documentation and full system portability is a question of future research. > > $ pil + > : (version) > 21.3.5 > -> (21 3 5) > : (call 'uname '-a) > OpenBSD openbsd.localdomain 6.8 GENERIC.MP#5 amd64 > : (** 2 222)