Hi, Dima Pasechnik writes: > However, gphelp installed by the latest (pari 2.15.4) port is broken: > > $ gphelp -k "elliptic curves" > Could not find translation file, docdir='/usr/local/bin' at /usr/local/bin/gp > help line 151.
It's been quite some time, but I've fixed this in our package. Thanks for the report. > Needless to say, this has to be fixed in port, either by > directly adjusting the paths get_docdir is using, or, less hackily, > use install-doctex and other similar Makefile targets of pari/gp. > These targets do "the right thing" to gphelp if one specifies > DOCDIR env. var., as > > gmake DOCDIR=/usr/local/share/doc/pari install I made the hacky choice to hardcode docdir in the script. When I tried setting DOCDIR during make, it seemed to have weird effects like not installing the documentation files at all. After struggling for a bit, I went with the simple solution.