Bill Allombert on Sat, 25 Apr 2020 20:05:59 +0200


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

Re: OSX binaries -- bug


On Tue, Feb 05, 2019 at 11:57:13AM -0600, Steven Norton wrote:
> I was very pleased to see that OSX binaries were available, since I don't
> have much knowledge or experience with compiling from source.
> Unfortunately, running PARI on my MacPro2,1 with OSX 10.9.5 resulted in the
> program quickly encountering an error, and logging out:
> 
>                              GP/PARI CALCULATOR Version 2.11.1 (released)
> >                      i386 running darwin (x86-64/GMP-6.0.0 kernel) 64-bit
> > version
> >         compiled: Nov 21 2018, Apple LLVM version 6.0 (clang-600.0.57)
> > (based on LLVM 3.5svn)
> >                                        threading engine: single
> >                             (readline v6.3 enabled, extended help enabled)
> >
> >                                 Copyright (C) 2000-2018 The PARI Group
> >
> > PARI/GP is free software, covered by the GNU General Public License, and
> > comes WITHOUT ANY WARRANTY
> > WHATSOEVER.
> >
> > Type ? for help, \q to quit.
> > Type ?17 for how to get moral (and possibly technical) support.
> >
> > parisize = 8000000, primelimit = 500000
> > Illegal instruction: 4
> > logout
> >
> > [Process completed]

We received a similar bug report:
<https://pari.math.u-bordeaux.fr/cgi-bin/bugreport.cgi?bug=2220>

> Likewise, an attempt to run gphelp was unsuccessful:
> 
> > MacPro:~ shn$ /Applications/PariGP.app/Contents/Resources/bin/gphelp ;
> > exit;
> > Could not find translation file,
> > docdir='/Applications/PariGP.app/Contents/Resources/bin' at
> > /Applications/PariGP.app/Contents/Resources/bin/gphelp line 153.

This one is not a bug: the file

/Volumes/PariGP-full-2.11.4-single/PariGP.app/Contents/MacOS/PariGP
set some environment variables so that gphelp find the documentation:

export GPDOCDIR='${ROOT}/share/pari/doc'

Cheers,
Bill