Hello Peter,

* Peter Johansson wrote on Thu, Aug 13, 2009 at 08:27:56PM CEST:
> 
> I use automake and libtool in a project and when I run `make
> distcheck' I get the following warning sent to stderror:
> 
> libtool: install: warning: remember to run `libtool --finish 
> /home/peter/projec
> ts/pristine/yat-trunk/build/yat-0.6pre/_inst/lib'
> 
> Am I doing something wrong here or why do I get that warning? It seems
> I get the same warning when I issue:
> 
>  make install DESTDIR=`pwd`/tmp > stdout

Problem is, when you install like that, libtool cannot run $finish_cmds,
as that typically (e.g., 'ldconfig -n' on GNU/Linux) requires libraries
to show up at their final location, not in a temporary staging
directory.  So once the libraries are in their final location, you can
either wait for a reboot (or ldconfig) to happen by some system
mechanism, or you can run the --finish command line to achieve the same
goal.

You can safely ignore the warning during distcheck, as that just
exercises a DESTDIR install.

Cheers,
Ralf


Reply via email to