For what it is worth, here are the contents of every file named 'pil' in the
3.1.9 tarball.
hobbes@metalbaby:~/src/pil319/picoLisp$ find . -name pil -exec head -1000 {} +
==> ./bin/pil <==
#!/usr/bin/picolisp /usr/lib/picolisp/lib.l
(load "@lib/misc.l" "@lib/btree.l" "@lib/db.l" "@lib/pilog.l")
==> ./ersatz/pil <==
#!/bin/sh
# 29nov10abu
# Run Ersatz PicoLisp
exec java -DPID=$$ -cp .:tmp:${0%/*}/picolisp.jar PicoLisp ${0%/*}/lib.l "$@"
==> ./pil <==
#!/bin/sh
exec ${0%/*}/bin/picolisp ${0%/*}/lib.l @ext.l "$@"
NB the one that explicitly calls /usr/bin/picolisp (which is probably still the
one installed by your package manager) and interprets the rest of the file as
lisp source.
Cheers,
--Dave
p.s. Here's what I use for my interactive REPL:
hobbes@metalbaby:~/src/mb.pl.emu$ cat pil
#!/bin/sh
BROWSER=x-www-browser exec ${0%/*}/bin/picolisp ${0%/*}/lib.l @ext.l
@lib/misc.l @lib/btree.l @lib/db.l @lib/pilog.l "$@"
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf
> Of Alexander Burger
> Sent: Saturday, February 07, 2015 12:29 AM
> To: [email protected]
> Subject: Re: Installation issues
>
> Hi Lawrence,
>
> > I've gotten the latest picolisp, 3.1.9, and am trying to install locally.
>
> OK
>
> > Following the instructions for 64-bit on my linux, I've built the
> > executable picolisp all right. But the bin directory's pil seems to
> > pick up the previous version I installed before from Ubuntu:
>
> I think I know what the problem is. It may be that the wrong 'pil' is
> executed,
> because there is another one in <installation>/bin, which is intended for the
> global installation.
>
> You need to install <installation>/pil, e.g.
>
> $ cd <installation>
> $ ./pil +
>
> (the '+' at the end is recommended, to get into debug mode).
>
> You can run it from any place, e.g. with an absolute path
>
> $ /path/to/my/installation/pil +
>
> or with a relative path
>
> $ ../../installation/pil +
>
> or whatever.
>
> ♪♫ Alex
PԔ � &j)m����X�����zV�u�.n7�