> On May 30, 2022, at 18:18, Alexander Burger <a...@software-lab.de> wrote:
>
> Hi Jean-Christophe,
>
>> It looks like I'm slowly getting somewhere...
>> ...
>
> Great! :)
>
>
>> ./pil: line 2: exec:
>> /Users/suzume/Documents/Repositories/pil21+/src/../bin/picolisp: cannot
>> execute: No such file or directory
>
> That's an easy one. It tries to bootstrap, but bin/picolisp does not exist
> yet.
> For that reason the pre-build *.ll files are included in the distro. Just
> (re)install these.
Yes, but now, I'm back to my readline errors...
➜ pil21+ git:(master) ✗ (cd src; make)
clang -O3 -w -c -o lib.bc -D_OS='"Darwin"' -D_CPU='"x86_64"' `pkg-config
--cflags libffi` -emit-llvm lib.c
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;
^
(etc.)
I'm using this in .profile:
## libffi
export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig:$PKG_CONFIG_PATH"
export LDFLAGS="-L/usr/local/opt/libffi/lib:$LDFLAGS"
export CPPFLAGS="-I/usr/local/opt/libffi/include:$CPPFLAGS"
## openssl
export PATH="/usr/local/opt/openssl@3/bin:$PATH"
export LDFLAGS="-L/usr/local/opt/openssl@3/lib:$LDFLAGS"
export CPPFLAGS="-I/usr/local/opt/openssl@3/include:$CPPFLAGS"
## readline
export PKG_CONFIG_PATH="/usr/local/opt/readline/lib/pkgconfig:$PKG_CONFIG_PATH"
export LDFLAGS="-L/usr/local/opt/readline/lib:$LDFLAGS"
export CPPFLAGS="-I/usr/local/opt/readline/include:$CPPFLAGS"
## llvm
export PATH="/usr/local/opt/llvm@11/bin:$PATH"
export LDFLAGS="-L/usr/local/opt/llvm@11/lib:$LDFLAGS"
export CPPFLAGS="-I/usr/local/opt/llvm@11/include:$CPPFLAGS"
JC :(
--
Jean-Christophe Helary @brandelune
https://mac4translators.blogspot.com
https://sr.ht/~brandelune/omegat-as-a-book/
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe