提交 8ea339ad 编写于 作者: T Tom Zanussi 提交者: Ingo Molnar

perf trace/scripting: Add Fedora libperl install note to doc

Fedora needs perl-ExtUtils-Embed for Perl scripting, which also
brings along libperl-devel; note this info for the convenience
of Fedora users.
Signed-off-by: NTom Zanussi <tzanussi@gmail.com>
Cc: fweisbec@gmail.com
Cc: rostedt@goodmis.org
Cc: anton@samba.org
Cc: hch@infradead.org
LKML-Reference: <1259565529-6407-5-git-send-email-tzanussi@gmail.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 61381de0
...@@ -36,8 +36,8 @@ INSTALLATION ...@@ -36,8 +36,8 @@ INSTALLATION
Building perf with perf trace Perl scripting should install this Building perf with perf trace Perl scripting should install this
module in the right place. module in the right place.
You should make sure libperl is installed first e.g. apt-get install You should make sure libperl and ExtUtils/Embed.pm are installed first
libperl-dev. e.g. apt-get install libperl-dev or yum install perl-ExtUtils-Embed.
DEPENDENCIES DEPENDENCIES
......
...@@ -577,7 +577,9 @@ struct scripting_ops perl_scripting_ops = { ...@@ -577,7 +577,9 @@ struct scripting_ops perl_scripting_ops = {
void setup_perl_scripting(void) void setup_perl_scripting(void)
{ {
fprintf(stderr, "Perl scripting not supported." fprintf(stderr, "Perl scripting not supported."
" Install libperl-dev[el] and rebuild perf to get it.\n"); " Install libperl and rebuild perf to enable it. e.g. "
"apt-get install libperl-dev (ubuntu), yum install "
"perl-ExtUtils-Embed (Fedora), etc.\n");
} }
#else #else
void setup_perl_scripting(void) void setup_perl_scripting(void)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册