Re: Manually install (newest) PIL21 on Debian/WSL2

2021-08-24 Thread Thorsten Jolitz
Hi Mike, Hi Karl,
yes shame on me, I somehow forgot temporarily that it's PIL21 now, ;-(
Cheers
Thorsten

PS
with this line from INSTALL:
$ sudo apt install make clang llvm libreadline-dev libffi-dev libssl-dev
pkg-config

nbv3@nbox:~/bin/pil21$ (cd src/; make)
nbv3@nbox:~/bin/pil21$ ./pil +
: (version)
21.8.20
-> (21 8 20)

Am So., 22. Aug. 2021 um 23:18 Uhr schrieb Karl-Heinz Kreis <
karl-heinz.kr...@gmx.de>:

>
> Hi,
>
> opt is part of llvm assembler, version 11 .
> The Toolchain needs other fairly actual versions, perl3 ...
>
> Greetings Karl
>


Re: Manually install (newest) PIL21 on Debian/WSL2

2021-08-22 Thread Karl-Heinz Kreis

Hi, 

opt is part of llvm assembler, version 11 .
The Toolchain needs other fairly actual versions, perl3 ...

Greetings Karl


pgp1cI895aZLv.pgp
Description: Digitale Signatur von OpenPGP


Re: Manually install (newest) PIL21 on Debian/WSL2

2021-08-22 Thread Mike
> 
> When I download the "rolling release" version, and try to install it locally, 
> I'm asked to first
> install MAKE and CLANG. 

Wrong, INSTALL file tells you install more software if you want to compile 
pil21 from sources.
"opt" tool is part of LLVM ecosystem you miss.

(mike)

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


Manually install (newest) PIL21 on Debian/WSL2

2021-08-22 Thread Thorsten Jolitz
Hi List,
on Win10 with WSL2 and Debian unstable, I can install Pil21 by "sudo
apt-get picolisp", and I get :

nbv3@nbox:~$ pil +
: (version )
21.6.30


When I download the "rolling release" version, and try to install it
locally, I'm asked to first install MAKE and CLANG. Then I get the error in
PS.
(There is an /OPT directory in this debian install, if that's what the
error refers to)

Did anyone try (and maybe solve) this too?
Cheers
Thorsten

PS
*Error*
nbv3@nbox:~/bin/pil21$ (cd src/; make)
make: opt: No such file or directory
make: *** [Makefile:40: base.bc] Error 127

*src/Makefile: *

# 19aug21 Software Lab. Alexander Burger

SILENT:

CC = clang
PIL = ../pil  # pil
* ASM = opt -O3  # llvm-as  *
[...]
base.bc: base.ll

  *   $(ASM) -o base.bc base.ll*