automake
[Top][All Lists]
Advanced

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

Re: distcheck warning: libtool --finish...


From: Ralf Wildenhues
Subject: Re: distcheck warning: libtool --finish...
Date: Thu, 13 Aug 2009 23:31:27 +0200
User-agent: Mutt/1.5.20 (2009-08-09)

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

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