bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: /⍨


From: hudson
Subject: Re: /⍨
Date: Wed, 8 Jun 2022 10:59:12 -0300 (BRT)

Hi Jürgen,

----- Em 7 de Jun de 2022, em 13:56, Dr. Jürgen Sauermann 
mail@jürgen-sauermann.de escreveu:

> Hi Hudson,
> 
> I believe that I fixed the double execution for executable scripts,
> Looks like the OS handles executable scripts differently than
> non-executable ones. SVN 1560 .

Thanks.

Now, executable scripts need "-f" to be run directly ( ./script.apl ).

   #!/usr/bin/env -S apl -s -f

Otherwise, apl waits for stdin input (the script is not executed),
and apl cannot be terminated by killall apl — only by ")off" or kill <PNUM>.


> 
> The F ← {⍵ × (?⍨⍵) ,¨ ⍳⍵} bug is something that I cannot reproduce.
> I wonder if it happens always or lnly sometimes.

It happened always, for ⍵>35 around. But the errors were different
for every argument value. See attachment.


> I have some suggestions
> for you and others that make my life easier:
> 
> * run " make develop " in the top-level directory.
>
[...]

Thank you for the explanation. It was useful.
After some testing, my conclusions are:


1) The errors seem be caused by parallel processing. I was using

   ./configure DEVELOP_WANTED=yes CORE_COUNT_WANTED=2

   (Now I run ./configure without options.)


2) With  make develop / make apl.lines / ./apl, the program worked fine
   inside src/ directory.


3) I got the same bugs after "sudo make install", running /usr/local/bin/apl.


4) No problems if "sudo make uninstall" before reconfiguring and recompiling.
   That suggests me that some residues of previous versions were remaining.


5) README-2-configure suggests running

   autoreconf --force --install
   ./configure
   make

   but I need also calling autoupdate:

   autoupdate
   autoreconf --force --install
   ./configure
   make


Best regards,
Hudson





Attachment: BUGS.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]