Re: 4.4 backport request: perf tools: Fix build failure on perl script context

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

 



On Thu, Nov 02, 2017 at 02:07:28AM +0200, Tuomas Tynkkynen wrote:
> Hi Greg,
> 
> Please apply the following commit from 4.8 to 4.4.y. It fixes a perf
> build failure on distros with modern Perl:

Now queued up.

But how are you getting past this error when building perf on Arch
Linux:

~/linux/stable/linux-4.4.y/tools/perf $ make
  BUILD:   Doing 'make -j4' parallel build
config/Makefile:448: Missing perl devel files. Disabling perl scripting support, please install perl-ExtUtils-Embed/libperl-dev
make[3]: *** No rule to make target '/usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/include/stddef.h', needed by 'fixdep.o'.  Stop.
make[2]: *** [Makefile:36: fixdep-in.o] Error 2
make[1]: *** [/home/gregkh/linux/stable/linux-4.4.y/tools/build/Makefile.include:7: fixdep] Error 2
make: *** [Makefile:69: all] Error 2

And yes, ExtUtils:Embed is installed :(

thanks,

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]