Re: [tip:perf/core] perf tools: Fix libdw-dev package name in error message

From: Valdis . Kletnieks
Date: Tue Apr 27 2010 - 09:49:17 EST


On Tue, 27 Apr 2010 12:59:19 -0000, tip-bot for Stefan Hajnoczi said:
> Commit-ID: f93830fbb06b67848c762f2177c06cc3cbb97deb
> Gitweb: http://git.kernel.org/tip/f93830fbb06b67848c762f2177c06cc3cbb97deb
> Author: Stefan Hajnoczi <stefanha@xxxxxxxxxxxxxxxxxx>
> AuthorDate: Mon, 26 Apr 2010 15:39:54 -0300
> Committer: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
> CommitDate: Mon, 26 Apr 2010 15:39:54 -0300
>
> perf tools: Fix libdw-dev package name in error message
>
> The headers required for DWARF support are provided by the libdw-dev
> package in Debian-based distros.

Not all the world is Debian based. As I mentioned before, the package needed
is elfutils-devel on Redhat/Fedora systesm. For those boxes, you're changing a
'elfutil-dev' that the user can guess is supposed to be -devel, to a package
that doesn't exist on Redhat/Fedora. And to compound it, if the user guesses
that you meant libdwarf-devel, that still fails, because that does *not*
provide the libdw.h header - that's still in elfutil-devel.

Attachment: pgp00000.pgp
Description: PGP signature