Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: compudj@krystal.dyndns.org (Mathieu Desnoyers)
Subject: [ltt-dev] UST usability nit
Date: Mon, 16 Aug 2010 10:19:40 -0400	[thread overview]
Message-ID: <20100816141940.GD4734@Krystal> (raw)
In-Reply-To: <4C68B175.60508@polymtl.ca>

* Pierre-Marc Fournier (pierre-marc.fournier at polymtl.ca) wrote:
> On 08/10/2010 10:06 AM, Mathieu Desnoyers wrote:
>> Hi Pierre-Marc,
>>
>> Just tried UST on my machine and ran into the basic deployment nit:
>> ldconfig is not executed by the make install script, so usttrace could
>> not find the shared object. There was a message saying that in the log
>> file, but this can be a major inconvenience for new users.
>>
>> Can you add a ldconfig execution to the make install script ?
>
> Isn't the standard with automake-built projects is to let the user run  
> ldconfig by himself? The installation instructions for ust mention the  
> need to run ldconfig after installation, and in my mind, making the  
> install script run ldconfig on the user's system is taking too much  
> liberty and too surprising. I'll be convinced otherwise if you can  
> provide examples of notable projects that do so.

Looking around, here is what some other projects do:
(http://osdir.com/ml/linux.drivers.gnokii/2003-07/msg00062.html)

So then let's settle for having

make install

print a message at the end, e.g.:

"Note: You may need to run ldconfig on your system."

We can assume that the average user will expect that

./configure
make
make install

will do the job for a userspace application. So we should tell them if a
supplementary step is needed. Again, it's in the spirit of making
adoption as easy and smooth as possible for the user.

Thanks,

Mathieu

>
> Thanks.
>
> pmf
>

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com



      reply	other threads:[~2010-08-16 14:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-10 14:06 Mathieu Desnoyers
2010-08-10 14:10 ` Mathieu Desnoyers
2010-08-16  3:39   ` Pierre-Marc Fournier
2010-08-16 14:09     ` Mathieu Desnoyers
2010-08-10 14:16 ` David Goulet
2010-08-16  3:35   ` Pierre-Marc Fournier
2010-08-16 14:10     ` Mathieu Desnoyers
2010-08-16  3:33 ` Pierre-Marc Fournier
2010-08-16 14:19   ` Mathieu Desnoyers [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100816141940.GD4734@Krystal \
    --to=compudj@krystal.dyndns.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox