Thanks. It appears that while you have pari installed, gp, i.e. pari's
CLI, is not in your PATH.

## Checking whether SageMath should install SPKG pari... ##
## ----------------------------------------------------- ##
real_configure:25214: checking whether any of gmp readline is
installed as or will be installed as SPKG
real_configure:25224: result: no
real_configure:25229: checking for gp
real_configure:25268: result: no
real_configure:25273: gp is not found
real_configure:25725: no suitable system package found for SPKG pari



Somehow the configure script still decided that you have a functioning
pari install, but it's actually not.

There also appears a stale bit of pari installation in the directory
you're building:

## Checking whether SageMath should install SPKG gp2c... ##
## ----------------------------------------------------- ##
real_configure:30871: checking whether any of pari is installed as or
will be installed as SPKG
real_configure:30876: result: yes; install gp2c as well
real_configure:31145: pari.cfg is $SAGE_LOCAL/lib/pari/pari.cfg


The easiest would be to wipe out $SAGE_LOCAL,
(make distclean)
reinstall pari
(and don't forget to install pari-galdata, and the other pari-* - formulae)
and make sure that you can invoke gp in the terminal session.


And repeat the run of

./configure
make


On Fri, Nov 28, 2025 at 9:37 AM Aatman Supkar <[email protected]> wrote:
>
> Please let me know if this is the file you're looking for.
>
> On Fri, Nov 28, 2025 at 10:00 AM Dima Pasechnik <[email protected]> wrote:
>>
>> Please post your config.log
>>
>>
>>
>>
>> On November 27, 2025 3:29:52 PM CST, Aatman Supkar <[email protected]> 
>> wrote:
>>>
>>> I am on a MacOS 15.4 with an M2 chip, and I've been trying to build Sage 
>>> for the first time, in an attempt to contribute. So I tried to set up the 
>>> developers' branch. I use Homebrew as my package manager. I'm doing it on 
>>> an external SSD due to space issues. However, the build failed, with the 
>>> following error that I found in the log files:
>>>
>>> ...
>>> [spkg-install]
>>> [spkg-install] ../meson.build:65:10: ERROR: C shared or static library 
>>> 'pari' not found
>>> [spkg-install]
>>> [spkg-install] A full log can be found at 
>>> /Volumes/amazon/maths/sagemath-dev/sage/local/var/lib/sage/venv-python3.12.5/var/tmp/sage/build/cypari-2.2.4/src/.mesonpy-j4lsdd3u/meson-logs/meson-log.txt
>>> [spkg-install]
>>> [spkg-install] ERROR Backend subprocess exited when trying to invoke 
>>> build_wheel
>>> ...
>>>
>>> I'm not sure what I am doing wrong. Please let me know what further 
>>> information I should provide for diagnosis. I don't think the SSD 
>>> disconnected at any point, because right after the failure I tried running 
>>> 'ls' and it worked smoothly.
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "sage-devel" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion visit 
>> https://groups.google.com/d/msgid/sage-devel/6EEC789A-D0A1-4083-A927-CDFD1C7FFF83%40gmail.com.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion visit 
> https://groups.google.com/d/msgid/sage-devel/CAJD2D6s7EEsLrhv%3D5YkmcGpG7g%3De9Z6X3neGYf%2B%3DLxGVBxX_dQ%40mail.gmail.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq35DxxSySNNqsJUa2hh1Tdi8bw%3DzYAu4brJUNTLV-RcHQ%40mail.gmail.com.

Reply via email to