bug-texinfo
[Top][All Lists]
Advanced

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

Re: minor quibble with installation warning


From: Gavin Smith
Subject: Re: minor quibble with installation warning
Date: Tue, 22 Nov 2022 17:39:25 +0000

On Tue, Nov 22, 2022 at 06:24:35AM -0800, David Bacon wrote:
> In texinfo-7.0, with "make install prefix=$HOME" (after configuring and
> making without specifying an installation prefix), I get the warning
> 
> libtool: warning: remember to run 'libtool --finish /usr/local/lib/texinfo'
> 
> It should say /home/bacon/lib/texinfo if anything.
> 
> Thanks,
> 
>   dB

I don't know if this is correct or not: in Info node
"(autoconf)Installation Directory Variables" it says

       Most of these variables have values that rely on ‘prefix’ or
    ‘exec_prefix’.  It is deliberate that the directory output variables
    keep them unexpanded: typically ‘@datarootdir@’ is replaced by
    ‘${prefix}/share’, not ‘/usr/local/share’, and ‘@datadir@’ is replaced
    by ‘${datarootdir}’.

       This behavior is mandated by the GNU Coding Standards, so that when
    the user runs:

    ‘make’
         she can still specify a different prefix from the one specified to
         ‘configure’, in which case, if needed, the package should hard code
         dependencies corresponding to the make-specified prefix.

    ‘make install’
         she can specify a different installation location, in which case
         the package _must_ still depend on the location which was compiled
         in (i.e., never recompile when ‘make install’ is run).  This is an
         extremely important feature, as many people may decide to install
         all the files of a package grouped together, and then install links
         from the final locations to there.

The Libtool files installed by "make install" still have original path in
them, e.g. in MiscXS.la.

# Directory that this library needs to be installed in:
libdir='/usr/local/lib/texinfo' 

I don't know myself what this is used for but it does not seem surprising
that the message would refer to /usr/local/lib/texinfo if that is the
location that was "compiled in".




reply via email to

[Prev in Thread] Current Thread [Next in Thread]