Hello,

I just verified that

sudo make install

does indeed put integral.py in my /usr/local/bin, with execute perms.

I must still have something wrong with my Python setup, though:

$ echo "2 sqrt(x³)" | python3 /usr/local/bin/integral.py
<→WRAPPER-STARTED→>.
<→MODULES-IMPORTED→>.
Traceback (most recent call last):
  File "/usr/local/bin/integral.py", line 133, in <module>
    expr    = input_filter(input())
EOFError: EOF when reading a line

$ python3 --version
Python 3.9.2

-Russ


On Wed, Jan 28, 2026 at 9:33 AM Dr. Jürgen Sauermann <
mail@jürgen-sauermann.de> wrote:

> Hi,
>
> what is the current status of this issue?
>
> The plan is that *sudo make install* installs *integral.py* in the same
> directory as the GNU APL binary (that is, in */usr/local/bin* by default):
>
>
>
>
>
>
>
> *make[3]: Entering directory '/home/eedjsa/apl-1.9/src'  /usr/bin/mkdir -p
> '/usr/local/bin'   /bin/bash ../libtool   --mode=install /usr/bin/install
> -c apl '/usr/local/bin' libtool: install: /usr/bin/install -c apl
> /usr/local/bin/apl  /usr/bin/mkdir -p '/usr/local/bin'  /usr/bin/install -c
> integral.py '/usr/local/bin' make[3]: Leaving directory
> '/home/eedjsa/apl-1.9/src'*
>
> You can install it manually, but then please check that that it is
> executable.
> You can even run *integral.py *directly from python (and without GNU APL):
>
>
>
>
>
>
>
>
>
>
> * echo "2 sqrt(x³)" | python3 /usr/local/bin/integral.py
> <→WRAPPER-STARTED→>. <→MODULES-IMPORTED→>.       _____ 2⋅x⋅╲╱  x³
> ───────────      5      <→DONE→>. (/usr/local/bin/integral.py) *
> Best Regards,
> Jürgen
>
>
> On 1/6/26 18:08, Russtopia wrote:
>
> I can confirm with SVN 1940 that 'integral.py' is no longer empty, but
> after build and `make install`, the results are the same for me.
>
> I tried manually installing the script into /usr/local/bin since )MORE
> indicated APL was looking there, but no help.
>
> When I get some time I can try debugging the dispatch logic with my setup
> to see what else might be missing. Thanks for looking into it anyhow.
>
> -Russ
>
>
> On Wed, Dec 31, 2025 at 9:01 AM <[email protected]> wrote:
>
>> Send Bug-apl mailing list submissions to
>>         [email protected]
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>         https://lists.gnu.org/mailman/listinfo/bug-apl
>> or, via email, send a message with subject or body 'help' to
>>         [email protected]
>>
>> You can reach the person managing the list at
>>         [email protected]
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Bug-apl digest..."
>>
>>
>> Today's Topics:
>>
>>    1. Re: Bug-apl Digest, Vol 146, Issue 13 (Dr. Jürgen Sauermann)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Wed, 31 Dec 2025 13:45:21 +0100
>> From: Dr. Jürgen Sauermann <[email protected]>
>> To: Christian Robert <[email protected]>, [email protected]
>> Subject: Re: Bug-apl Digest, Vol 146, Issue 13
>> Message-ID:
>>         <[email protected]>
>> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>>
>> Hi,
>>
>> thanks, fixed in *SVN 1940*.
>>
>> Best Regards,
>> Jürgen
>>
>>
>> On 12/31/25 01:09, Christian Robert wrote:
>> > I can confirm that the file is empty.
>> >
>> > Xtian.
>> >
>> > On 2025-12-30 15:58, Russtopia wrote:
>> >> Aha. There is no PYTHONHOME env var set in my Linux default
>> >> environment, thus also not in the returned results of ⎕ENV; and
>> >>
>> >>       2 ⌹.integral "sqrt(x³)"
>> >> DOMAIN ERROR+
>> >>       2⌹[20]'sqrt(x³)'
>> >>       ^ ^
>> >>       )more
>> >> No python script 'integral.py' in the current directory or in
>> >> /usr/local/bin
>> >>
>> >> What should the 'integral.py' script contain, and is it
>> >> auto-generated by GNU APL during build, or is it supposed to be
>> >> installed by the Python 'sympy' package?
>> >> It is not present in my setup.
>> >>
>> >> I see, after building GNU APL, there is a zero-byte 'integral.py'
>> >> file in src/ and I see the Makefile just uses 'touch' to create that.
>> >>
>> >> -Russ
>> >>
>> >>
>> >> On Tue, Dec 30, 2025 at 2:46 AM Dr. Jürgen Sauermann
>> >> <mail@jürgen-sauermann.de <mailto:mail@j%C3%BCrgen-sauermann.de>>
>> wrote:
>> >>
>> >>     Hi,
>> >>
>> >>     I am not really a python expert, but trying my best.
>> >>
>> >>     On my box I have installed python and sympy and it works.
>> >>     I therefore suppose your problem is related to your installation.
>> >>
>> >>     Having that said, could you please send me the the
>> >>     *)MORE* information right after the *DOMAIN ERROR*?
>> >>
>> >>     Other things to check:
>> >>
>> >>     *⎕ENV* in apl, in particular *PYTHONHOME* and friends.
>> >>
>> >>     BTW python is checked at runtime therefore the *,/configure* output
>> >>     does not matter,
>> >>
>> >>
>> >>     Thanks,
>> >>     Jürgen
>> >>
>> >>
>> >>     On 12/30/25 06:24, Russtopia wrote:
>> >>>     Hello,
>> >>>
>> >>>     In regards to the new ⌹.integral support -- I am seeing the
>> >>>     DOMAIN ERROR as mentioned in docs
>> >>>     (https://www.gnu.org/software/apl/apl.html#Integral-B), yet I
>> >>>     have installed python sympy package.
>> >>>     It is locally installed, in $HOME/.local/bin as both 'sympy' and
>> >>>     'isympy' on my system.
>> >>>
>> >>>     I ensured $HOME/.local/bin was in my $PATH prior to running the
>> >>>     newly-installed GNU APL, and can run 'sympy' from there by
>> >>>     itself from bash to evaluate expressions.
>> >>>
>> >>>     My system has Python 3.9.20, installed as /usr/bin/python3 ->
>> >>>     python-exec2c
>> >>>
>> >>>     Is there any additional config or debug I should enable to
>> >>>     troubleshoot this failure to find sympy?
>> >>>
>> >>>     $ apl --cfg
>> >>>
>> >>>     configurable options:
>> >>>     ---------------------
>> >>>         ASSERT_LEVEL_WANTED=1 (default)
>> >>>         SECURITY_LEVEL_WANTED=0 (default)
>> >>>         APSERVER_PATH=/tmp/GNU-APL/APserver (default)
>> >>>         APSERVER_PORT=16366 (default)
>> >>>         APSERVER_TRANSPORT=0 (default)
>> >>>         CORE_COUNT_WANTED=8
>> >>>         DYNAMIC_LOG_WANTED=no (default)
>> >>>         MAX_RANK_WANTED=8 (default)
>> >>>         RATIONAL_NUMBERS_WANTED=yes
>> >>>         SHORT_VALUE_LENGTH_WANTED=12, therefore:
>> >>>             sizeof(Value)       : 464 bytes
>> >>>             sizeof(Cell)        :  24 bytes
>> >>>             sizeof(Value header): 176 bytes
>> >>>
>> >>>         VALUE_CHECK_WANTED=no (default)
>> >>>         VALUE_HISTORY_WANTED=no (default)
>> >>>         VF_TRACING_WANTED=no (default)
>> >>>         VISIBLE_MARKERS_WANTED=no (default)
>> >>>
>> >>>     how ./configure was (probably) called:
>> >>>     --------------------------------------
>> >>>         ./configure  '--with-ctrld_del=yes'
>> >>>     'RATIONAL_NUMBERS_WANTED=yes' 'CORE_COUNT_WANTED=8'
>> >>>
>> >>>     BUILDTAG:
>> >>>     ---------
>> >>>         Project:        GNU APL
>> >>>         Version / SVN:  1.9 / SVN: 1937
>> >>>         Build Date:     2025-12-29 21:01:38 PST
>> >>>         Build OS:       Linux 6.5.10_p1-debian-sources x86_64
>> >>>         config.status:  default ./configure options
>> >>>         Archive SVN:    1935
>> >>>
>> >>>     Thanks,
>> >>>     -Russ
>> >>>
>> >>>
>> >>>     On Sun, Dec 28, 2025 at 9:00 AM <[email protected]> wrote:
>> >>>
>> >>>         Send Bug-apl mailing list submissions to
>> >>>         [email protected]
>> >>>
>> >>>         To subscribe or unsubscribe via the World Wide Web, visit
>> >>>         https://lists.gnu.org/mailman/listinfo/bug-apl
>> >>>         or, via email, send a message with subject or body 'help' to
>> >>>         [email protected]
>> >>>
>> >>>         You can reach the person managing the list at
>> >>>         [email protected]
>> >>>
>> >>>         When replying, please edit your Subject line so it is more
>> >>>         specific
>> >>>         than "Re: Contents of Bug-apl digest..."
>> >>>
>> >>>
>> >>>         Today's Topics:
>> >>>
>> >>>            1. ⌹.integral (Dr. Jürgen Sauermann)
>> >>>
>> >>>
>> >>>
>>  ----------------------------------------------------------------------
>> >>>
>> >>>         Message: 1
>> >>>         Date: Sat, 27 Dec 2025 21:08:39 +0100
>> >>>         From: Dr. Jürgen Sauermann <[email protected]>
>> >>>         To: bug-apl <[email protected]>
>> >>>         Subject: ⌹.integral
>> >>>         Message-ID:
>> >>>
>> >>>         <
>> [email protected]>
>> >>>         Content-Type: text/plain; charset="utf-8"; Format="flowed"
>> >>>
>> >>>         Hi,
>> >>>
>> >>>         as a late Xmas present, there is a new GNU APL function
>> >>>         *⌹.integral* which,
>> >>>         nomen est omen, computes the indefinite integral of an
>> >>>         expression *B*:
>> >>>
>> >>>         *      2 ⌹.integral "sqrt(x³)"
>> >>>                _____
>> >>>         2⋅x⋅╲╱  x³
>> >>>         ───────────
>> >>>               5
>> >>>         *
>> >>>         *SVN 1937.*
>> >>>
>> >>>         Enjoy.
>> >>>         Jürgen
>> >>>         -------------- next part --------------
>> >>>         An HTML attachment was scrubbed...
>> >>>         URL:
>> >>>         <
>> https://lists.gnu.org/archive/html/bug-apl/attachments/20251227/0c22f990/attachment.htm
>> >
>> >>>
>> >>>         ------------------------------
>> >>>
>> >>>         Subject: Digest Footer
>> >>>
>> >>>         _______________________________________________
>> >>>         Bug-apl mailing list
>> >>>         [email protected]
>> >>>         https://lists.gnu.org/mailman/listinfo/bug-apl
>> >>>
>> >>>
>> >>>         ------------------------------
>> >>>
>> >>>         End of Bug-apl Digest, Vol 146, Issue 13
>> >>>         ****************************************
>> >>>
>> >>
>> >
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <
>> https://lists.gnu.org/archive/html/bug-apl/attachments/20251231/e3ab6c63/attachment.htm
>> >
>>
>> ------------------------------
>>
>> Subject: Digest Footer
>>
>> _______________________________________________
>> Bug-apl mailing list
>> [email protected]
>> https://lists.gnu.org/mailman/listinfo/bug-apl
>>
>>
>> ------------------------------
>>
>> End of Bug-apl Digest, Vol 146, Issue 16
>> ****************************************
>>
>
>

Reply via email to