Re: building on macos

2022-05-28 Thread Jean-Christophe Helary
> On May 25, 2022, at 18:45, Mike wrote: > > hi all, > >> They used to work (I have a working build of pil21 21.9.3), but they don't >> anymore. >> Maybe there is something wrong with my system but I have no idea what it is. > > Did you built picolisp? How would I go about building picolis

Re: building on macos

2022-05-28 Thread Jean-Christophe Helary
> On May 28, 2022, at 19:24, Mike wrote: > > > >> On May 28, 2022, at 13:13, Jean-Christophe Helary >> wrote: >> >>  >> >>> On May 25, 2022, at 18:45, Mike wrote: >>> >>> hi all, >>> They used to work (I have a working build of pil21 21.9.3), but they don't anymore. M

Re: building on macos

2022-05-28 Thread Andras Pahi
Hi, I use the following Makefile to build pil21 on macOS Mojave (10.14.6) x86_64, libreadline, libffi and OpenSSL 3 is used from MacPorts. I have checked with picoLisp-22.3.tgz version 22.3.16 and pil21.tgz (the rolling release) version 22.5.26. Regards, Andras Pahi ~~ cut here ~~ # 24

New 'input' and 'output' functions

2022-05-28 Thread Alexander Burger
Hi all, with version 22.5.26 PicoLisp has two new powerful functions: 'input' and 'output' (haha, no kidding!). They offer some quite interesting possibilities. See the references at https://software-lab.de/doc/refI.html#input and https://software-lab.de/doc/refO.html#output They operate on the

Re: building on macos

2022-05-28 Thread Jean-Christophe Helary
Thank you Andras for the Makefile. I get the same message as with Mike's Makefile, so I suppose there is an issue with my system... Probably an incompatibility between Brew and Macport. I'm going to thoroughly check that. JC > On May 28, 2022, at 22:57, Andras Pahi wrote: > > Hi, > > I

Re: building on macos

2022-05-28 Thread Jean-Christophe Helary
> On May 29, 2022, at 0:16, Mike wrote: > >> >> Probably an incompatibility between Brew and Macport. > > Correct, i already wrote about this incompatibility and this is what error > message says. I just removed my whole brew install and I get the same error: ➜ pil21+ git:(master) ✗ br

Re: building on macos

2022-05-28 Thread Jean-Christophe Helary
I've just reinstalled my whole macport and I still have the same error. ➜ pil21+ git:(master) ✗ port installed The following ports are currently installed: bzip2 @1.0.8_0 (active) gettext-runtime @0.21_0 (active) icu @67.1_4 (active) libcxx @5.0.1_4 (ac

Re: building on macos

2022-05-28 Thread Jean-Christophe Helary
> On May 29, 2022, at 4:16, Mike wrote: > >> >> ➜ pil21+ git:(master) ✗ (cd src; make) >> /opt/local/libexec/llvm-10/bin/llvm-link: lib.bc: error: Unknown attribute >> kind (68) (Producer: 'APPLE_1_1300.0.29.30_0' Reader: 'LLVM 10.0.1') >> /opt/local/libexec/llvm-10/bin/llvm-link: error: loa

Re: building on macos

2022-05-28 Thread Alexander Burger
Hi Jean-Christophe, > lib.c:119:4: error: use of undeclared identifier 'rl_catch_signals' >rl_catch_signals = 0; >^ > lib.c:121:4: error: use of undeclared identifier 'rl_input_available_hook' >rl_input_available_hook = rlAvail; >^ > ... They are all from the readline library. ☺/

Re: building on macos

2022-05-28 Thread Jean-Christophe Helary
> On May 29, 2022, at 5:10, Alexander Burger wrote: > > Hi Jean-Christophe, > >> lib.c:119:4: error: use of undeclared identifier 'rl_catch_signals' >> rl_catch_signals = 0; >> ^ >> lib.c:121:4: error: use of undeclared identifier 'rl_input_available_hook' >> rl_input_available_hook = r

Re: building on macos

2022-05-28 Thread Alexander Burger
On Sun, May 29, 2022 at 01:04:19PM +0900, Jean-Christophe Helary wrote: > >> lib.c:119:4: error: use of undeclared identifier 'rl_catch_signals' > >> rl_catch_signals = 0; > >> ^ > >> lib.c:121:4: error: use of undeclared identifier 'rl_input_available_hook' > >> rl_input_available_hook = rlA