One year later...

(I don't even remember sending that older mail... 😅)


Building on macOS (13) seems to work fine with the following instructions:

https://picolisp.com/wiki/?alternativeMacOSRepository

*and*

Mike's Makefile here:

https://git.envs.net/mpech/pil21-tests/raw/branch/master/Makefile.macos


One question to Mike:

Would it be possible that you merge your makefile with Alex's most recent and 
add conditionals to check whether the system is macOS?

That way, we would not need any special instructions to build on macOS :)


If not, I'll update the instructions and will add a link to your Makefile.


And then, Mia's blog article could be updated to reflect the current status :)

https://picolisp-explored.com/how-to-install-picolisp


Jean-Christophe

> On May 30, 2022, at 13:39, Jean-Christophe Helary 
> <li...@traduction-libre.org> wrote:
> 
> 
> 
>> 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

-- 
Jean-Christophe Helary @jchel...@emacs.ch
https://traductaire-libre.org
https://mac4translators.blogspot.com
https://sr.ht/~brandelune/omegat-as-a-book/


--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to