Jeffrey Walton on Thu, 07 Jan 2021 15:39:33 +0100


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

Re: --libdir and pari.cfg file location


On Thu, Jan 7, 2021 at 9:38 AM Bill Allombert
<Bill.Allombert@math.u-bordeaux.fr> wrote:
>
> On Thu, Jan 07, 2021 at 08:55:03AM -0500, Jeffrey Walton wrote:
> > Hi Everyone,
> >
> > I'm building the latest tarball. I'm using --prefix=/usr/local and
> > --libdir=/usr/local/lib64.
> >
> > After the install I notice:
> >
> >     $ ls /usr/local/lib
> >     pari
> >     $ ls /usr/local/lib/pari/
> >     pari.cfg
> >
> > It looks like $libdir is not being used for the config file. (Using
> > $libdir for the config file is a little odd unto itself. I usually see
> > $sysconfdir used for config files).
>
> Yes, it is installed in $sysdatadir.
> (pari.cfg is not what I would call a config file)

I don't think there is a sysdatadir. Also see
https://www.gnu.org/prep/standards/html_node/Directory-Variables.html.

Jeff