Re: [PATCH] perf: Fix libdw-dev package name in error message

From: Valdis . Kletnieks
Date: Mon Apr 26 2010 - 12:33:33 EST


On Mon, 26 Apr 2010 15:27:03 BST, Stefan Hajnoczi said:
> The headers required for DWARF support are provided by the libdw-dev
> package in Debian-based distros. This patch corrects the elfutils-dev
> package name to libdw-dev in the Makefile error message when libdw.h is
> not found.
>
> Signed-off-by: Stefan Hajnoczi <stefanha@xxxxxxxxxxxxxxxxxx>
> ---
> I don't think any distro has an elfutils-dev package but the name was chosen
> because of the usual RedHat/Debian -devel/-dev convention.

elfutils-dev is wrong, elfutils-devel is right, at least for Fedora.

% repoquery -ql elfutils-devel.x86_64
/usr/include/dwarf.h
/usr/include/elfutils
/usr/include/elfutils/elf-knowledge.h
/usr/include/elfutils/libasm.h
/usr/include/elfutils/libdw.h
/usr/include/elfutils/libdwfl.h
/usr/include/elfutils/libebl.h
/usr/include/elfutils/version.h
/usr/lib64/libasm.so
/usr/lib64/libdw.so
/usr/lib64/libebl.a

Attachment: pgp00000.pgp
Description: PGP signature