unable to locate pari.cfg

52 views
Skip to first unread message

Samuel Lelievre

unread,
Jul 25, 2020, 2:46:27 PM7/25/20
to sage-devel
On macOS 10.14.6 "Mojave", I get the following error:
```
configure: error: unable to locate pari.cfg
```

after running the following
```
$ WHERE='/Applications'
$ CLONE='git clone --single-branch --branch develop --tags'
$ DIRNAME=SageMath
$ cd $WHERE
$ $CLONE $REMOTE $DIRNAME
$ cd $DIRNAME
$ MAKE='make -j4 -s V=0'
$ make configure
$ ./configure \
  --enable-experimental-packages \
  --enable-download-from-upstream-url \
  --enable-scipoptsuite=yes \
  --enable-modular_decomposition=yes \
  --enable-pandoc_attributes=yes \
  --enable-tides=yes \
  --enable-glucose=yes \
  --enable-frobby=yes \
  --enable-awali=yes \
  --enable-ninja_build=yes \
  --enable-kenzo=yes \
  --enable-cunningham_tables=yes \
  --enable-perl_term_readline_gnu=yes \
  --enable-database_symbolic_data=yes \
  --enable-ccache=yes \
  --enable-pandoc=yes \
  --enable-gdb=no \
  --enable-tdlib=yes \
  --enable-python_igraph=yes \
  --enable-deformation=yes \
  --enable-igraph=yes \
  --enable-cryptominisat=yes \
  --enable-bliss=yes \
  --enable-cmake=yes \
  --enable-singular_jupyter=yes \
  --enable-pari_seadata=yes \
  --enable-r_jupyter=yes \
  --enable-boost=yes \
  --enable-dot2tex=yes \
  --enable-compilerwrapper=yes \
  --enable-libogg=yes \
  --enable-saclib=yes \
  --enable-gp2c=no \
  --enable-scons=yes \
  --enable-buckygen=yes \
  --enable-pari_galpol=yes \
  --enable-csdp=yes \
  --enable-plantri=yes \
  --enable-git_trac=yes \
  --enable-cocoalib=yes \
  --enable-sage_numerical_backends_gurobi=yes \
  --enable-4ti2=yes \
  --enable-database_stein_watkins_mini=yes \
  --enable-sirocco=yes \
  --enable-polymake=yes \
  --enable-lidia=yes \
  --enable-pysingular=yes \
  --enable-database_stein_watkins=yes \
  --enable-sage_numerical_backends_cplex=yes \
  --enable-gap_jupyter=yes \
  --enable-cbc=yes \
  --enable-database_jones_numfield=yes \
  --enable-speaklater=yes \
  --enable-libsemigroups=yes \
  --enable-mpfrcx=yes \
  --enable-fricas=yes \
  --enable-database_mutation_class=yes \
  --enable-surf=yes \
  --enable-python_openid=yes \
  --enable-database_cremona_ellcurve=yes \
  --enable-rst2ipynb=yes \
  --enable-e_antic=yes \
  --enable-termcap=yes \
  --enable-jupymake=yes \
  --enable-polylib=yes \
  --enable-gambit=yes \
  --enable-coxeter3=yes \
  --enable-p_group_cohomology=yes \
  --enable-benzene=yes \
  --enable-libtheora=yes \
  --enable-database_kohel=yes \
  --enable-lie=yes \
  --enable-notedown=yes \
  --enable-giacpy_sage=yes \
  --enable-lrslib=yes \
  --enable-latte_int=yes \
  --enable-isl=yes \
  --enable-pynormaliz=yes \
  --enable-sip=yes \
  --enable-d3js=yes \
  --enable-atlas=yes \
  --enable-pari_jupyter=yes \
  --enable-sage_numerical_backends_coin=yes \
  --enable-pari_elldata=yes \
  --enable-database_odlyzko_zeta=yes \
  --enable-openssl=yes \
  --enable-gap3=yes \
  --enable-primecount=yes \
  --enable-pari_nftables=yes \
  --enable-valgrind=no \
  --enable-barvinok=yes \
  --enable-mcqd=yes \
  --enable-polytopes_db_4d=yes \
  --enable-topcom=yes \
  --enable-texlive=yes \
  --enable-normaliz=yes \
  --enable-perl_cpan_polymake_prereq=yes \
  --enable-gap_packages=yes \
  --enable-pycosat=yes \
  --enable-meataxe=yes \
  --enable-qepcad=yes \
  --enable-qhull=yes \
  --with-python=3 \
  --with-system-arb=no \
  --with-system-gcc=no \
  --with-system-flint=no \
  --with-system-mpfr=no \
  --with-system-gmp=no \
  --with-system-mpir=no \
  --with-mp=mpir \
  --with-system-ntl=no \
  --with-system-atlas=no \
  --with-system-openblas=no \
  --with-blas=openblas \
  --with-system-gfortran=no \
  --with-system-boost=no \
  --with-system-boost_cropped=no \
  --with-system-brial=no \
  --with-system-m4ri=no \
  --with-system-libpng=no \
  --with-system-zlib=no \
  --with-system-bzip2=no \
  --with-system-cbc=no \
  --with-system-cddlib=no \
  --with-system-cliquer=no \
  --with-system-cmake=no \
  --with-system-coxeter3=no \
  --with-system-curl=no \
  --with-system-eclib=no \
  --with-system-pari=no \
  --with-system-readline=no \
  --with-system-ncurses=no \
  --with-system-ecm=no \
  --with-system-fflas_ffpack=no \
  --with-system-givaro=no \
  --with-system-flintqs=no \
  --with-system-fplll=no \
  --with-system-freetype=no \
  --with-system-gf2x=no \
  --with-system-gfan=no \
  --with-system-git=no \
  --with-system-glpk=no \
  --with-system-gp2c=no \
  --with-system-gsl=no \
  --with-system-iconv=no \
  --with-system-iml=no \
  --with-system-isl=no \
  --with-system-lcalc=no \
  --with-system-libatomic_ops=no \
  --with-system-libbraiding=no \
  --with-system-libffi=no \
  --with-system-libgd=no \
  --with-system-libsemigroups=no \
  --with-system-lrcalc=no \
  --with-system-m4rie=no \
  --with-system-mpc=no \
  --with-system-mpfi=no \
  --with-system-nauty=no \
  --with-system-ninja_build=no \
  --with-system-palp=no \
  --with-system-pandoc=no \
  --with-system-pari_elldata=no \
  --with-system-pari_galdata=no \
  --with-system-pari_galpol=no \
  --with-system-pari_nftables=no \
  --with-system-pari_seadata=no \
  --with-system-pari_seadata_small=no \
  --with-system-patch=no \
  --with-system-pcre=no \
  --with-system-perl_cpan_polymake_prereq=no \
  --with-system-perl_term_readline_gnu=no \
  --with-system-pkgconf=no \
  --with-system-planarity=no \
  --with-system-ppl=no \
  --with-system-python3=no \
  --with-system-sqlite=no \
  --with-system-xz=no \
  --with-system-r=no \
  --with-system-rw=no \
  --with-system-suitesparse=no \
  --with-system-symmetrica=no \
  --with-system-sympow=no \
  --with-system-tachyon=no \
  --with-system-yasm=no \
  --with-system-zeromq=no \
  -q
```

Here is the config.log file:

Dima Pasechnik

unread,
Jul 25, 2020, 4:25:58 PM7/25/20
to sage-devel
try adding

--with-system-pari=no

although indeed this looks like a bug to me

--
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 sage-devel+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/87d0a3e3-30c8-4715-89dc-07984f4c1fdfo%40googlegroups.com.

Samuel Lelièvre

unread,
Jul 25, 2020, 5:30:25 PM7/25/20
to Sage-devel
2020-05-25 20:25:58 UTC, Dima Pasechnik:
>
> try adding
>
> --with-system-pari=no
>
> although indeed this looks like a bug to me

Thanks! In fact `--with-system-pari=no` is already there.
(The flags are in the order found in `./configure --help`.)

Samuel Lelievre

unread,
Jul 26, 2020, 6:00:45 PM7/26/20
to sage-devel
2020-07-25 21:30:25 UTC Samuel Lelièvre:
Should I open a ticket? If so what should I call it?

Zachary Scherr

unread,
Jul 26, 2020, 6:32:14 PM7/26/20
to sage-devel
In an attempt to be helpful I tried to recreate the error with fewer options to configure.  It appears that on Catalina the error is caused by:

./configure --with-system-gp2c=no

Dima Pasechnik

unread,
Jul 26, 2020, 7:14:36 PM7/26/20
to sage-devel, mic...@orlitzky.com
indeed, this is a bug introduced in b5d16d9927a
--- the search for pari.cfg is carried out even if Sage will install Pari.
> --
> 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 sage-devel+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/770c56bd-7faf-472d-90bf-47bc0215308en%40googlegroups.com.

Matthias Koeppe

unread,
Jul 27, 2020, 2:05:50 AM7/27/20
to sage-devel


On Sunday, July 26, 2020 at 4:14:36 PM UTC-7, Dima Pasechnik wrote:
indeed, this is a bug introduced in b5d16d9927a
--- the search for pari.cfg is carried out even if Sage will install Pari.


On Sun, Jul 26, 2020 at 11:32 PM Zachary Scherr <zsc...@gmail.com> wrote:
>
> In an attempt to be helpful I tried to recreate the error with fewer options to configure.  It appears that on Catalina the error is caused by:
>
> ./configure --with-system-gp2c=no
>
> On Sunday, July 26, 2020 at 6:00:45 PM UTC-4 Samuel Lelievre wrote:
>>
>> 2020-07-25 21:30:25 UTC Samuel Lelièvre:
>>
>> >
>> > 2020-05-25 20:25:58 UTC, Dima Pasechnik:
>> > >
>> > > try adding
>> > >
>> > > --with-system-pari=no
>> > >
>> > > although indeed this looks like a bug to me
>> >
>> > Thanks! In fact `--with-system-pari=no` is already there.
>> > (The flags are in the order found in `./configure --help`.)
>>
>> Should I open a ticket? If so what should I call it?
>
> --
> 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 sage-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages