libtool
[Top][All Lists]
Advanced

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

Re: silent installs


From: Ralf Wildenhues
Subject: Re: silent installs
Date: Sun, 31 Jan 2010 08:38:38 +0100
User-agent: Mutt/1.5.20 (2009-10-28)

[ moving to libtool@ from automake@; this is
  
<http://thread.gmane.org/gmane.comp.sysutils.automake.general/11347/focus=11374>
  this particular message is about whether the relinking warning and the
  warning about the need to --finish should be changed to be notices
  only, which would cause them to not be displayed with `libtool --silent'
  which implies that an Automake --enable-silent-rules build would not
  show them at `make install' time.
]

> > If you additionally would like to not see output from libtool, pass
> >   LIBTOOLFLAGS=--silent
> 
> I do so but still see those msgs. It just occurred to me
> that ltmain.sh could change those line from func_warning
> to func_verbose instead:

My problem with that change is that, the relinking and finish
really are information that some users need to know about.
If you don't --finish, then your libraries won't be found by
the runtime linker.  If relinking happens as another user than
the one who ran `make all', that is a problem to know about, too,
because it can lead to problems with file ownership and directory
write permission.

So the question really is whether to make their life harder for
making your life easier.

I'd like to know what other libtool people think about this, so
feedback appreciated.

Thanks,
Ralf

> --- ltmain.sh (revision 57662)
> +++ ltmain.sh (working copy)
> @@ -2028,7 +2028,7 @@
>           relink_command=`$ECHO "X$relink_command" | $Xsed -e 
> "address@hidden@%%"`
>         fi
> 
> -       func_warning "relinking \`$file'"
> +       func_verbose "relinking \`$file'"
>         func_show_eval "$relink_command" \
>           'func_fatal_error "error: relink \`$file'\'' with the above command 
> before installing it"'
>       fi
> @@ -2269,7 +2269,7 @@
>      done
> 
>      test -n "$future_libdirs" && \
> -      func_warning "remember to run \`$progname --finish$future_libdirs'"
> +      func_verbose "remember to run \`$progname --finish$future_libdirs'"
> 
>      if test -n "$current_libdirs"; then
>        # Maybe just do a dry run.




reply via email to

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