libtool
[Top][All Lists]
Advanced

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

Re: silent installs


From: Joakim Tjernlund
Subject: Re: silent installs
Date: Sun, 31 Jan 2010 12:10:11 +0100

Ralf Wildenhues <address@hidden> wrote on 2010/01/31 08:38:38:
>
> [ 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.

But they are not errors so they should not be directed to stderr no matter what.
Then one can argue if --silent should suppress these msgs too or not.

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

Not really, I think autotools(including libtool) should support
both the user trying to build some SW pkg he/she has downloaded and
the developer who is working to improve the said pkg in his daliy
work. I am in the latter group

>
> 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]