> On May 29, 2022, at 18:52, Mike <tankf33...@disroot.org> wrote:
>
>>
>> I've installed readline from macport as you suggested and I'm using your
>> Makefile.
>>
>> Also I'm not finding any path to brew installs in your Makefile. There is no
>> reference to /usr/local anywhere.
>>
>> Which line in the Makefile would that be ?
>
> /usr/local/opt is symlink to /usr/local/Cellar
>
> ===
> $ brew list readline
> /usr/local/Cellar/readline/8.1.2/include/readline/ (8 files)
> /usr/local/Cellar/readline/8.1.2/lib/libhistory.8.1.dylib
> /usr/local/Cellar/readline/8.1.2/lib/libreadline.8.1.dylib
> /usr/local/Cellar/readline/8.1.2/lib/pkgconfig/readline.pc
> /usr/local/Cellar/readline/8.1.2/lib/ (6 other files)
> /usr/local/Cellar/readline/8.1.2/share/doc/ (3 files)
> /usr/local/Cellar/readline/8.1.2/share/info/ (3 files)
> /usr/local/Cellar/readline/8.1.2/share/man/ (2 files)
> /usr/local/Cellar/readline/8.1.2/share/readline/ (16 files)
> $
> $ cat ~/pil21/src/Makefile | grep readline
> MAIN = -lm -ldl -lreadline -lffi -lncurses -L/usr/local/opt/readline/lib
> $(CC) -O3 -w -c -o lib.bc -D_OS='"$(OS)"' -D_CPU='"$(CPU)"'
> -I/usr/local/opt/libffi/include -I/usr/local/opt/readline/include -emit-llvm
> lib.c
> $
> ===
Ok. I have readline installed both with brew and port:
➜ pil21+ git:(master) ✗ brew list readline
/usr/local/Cellar/readline/8.1.2/include/readline/ (8 files)
/usr/local/Cellar/readline/8.1.2/lib/libhistory.8.1.dylib
/usr/local/Cellar/readline/8.1.2/lib/libreadline.8.1.dylib
/usr/local/Cellar/readline/8.1.2/lib/pkgconfig/readline.pc
/usr/local/Cellar/readline/8.1.2/lib/ (6 other files)
/usr/local/Cellar/readline/8.1.2/share/doc/ (3 files)
/usr/local/Cellar/readline/8.1.2/share/info/ (3 files)
/usr/local/Cellar/readline/8.1.2/share/man/ (2 files)
/usr/local/Cellar/readline/8.1.2/share/readline/ (16 files)
➜ pil21+ git:(master) ✗ port installed readline
The following ports are currently installed:
readline @8.1.2.000_0 (active)
➜ pil21+ git:(master) ✗
And now, I have
➜ 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: loading file 'lib.bc'
make: *** [picolisp.bc] Error 1
Which brings me back to last night's mail where you replied:
===
$ cd pil21/src
$ rm *.bc
$ make
===
And when I do that, I get the same results:
➜ pil21+ git:(master) ✗ cd src
➜ src git:(master) ✗ rm *.bc
➜ src git:(master) ✗ 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: loading file 'lib.bc'
make: *** [picolisp.bc] Error 1
btw:
➜ src git:(master) ✗ pwd
/Users/suzume/Documents/Repositories/pil21+/src
--
Jean-Christophe Helary @brandelune
https://mac4translators.blogspot.com
https://sr.ht/~brandelune/omegat-as-a-book/
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe