* Build failure when python-devel not installed
@ 2013-07-09 13:19 Arnaldo Carvalho de Melo
2013-07-09 14:19 ` David Ahern
0 siblings, 1 reply; 2+ messages in thread
From: Arnaldo Carvalho de Melo @ 2013-07-09 13:19 UTC (permalink / raw)
To: Al Cooper
Cc: Peter Zijlstra, mingo, Jiri Olsa, Namhyung Kim, David Ahern,
Linux Kernel Mailing List
Hi,
While trying to build perf on a freshly installed Fedora 18
machine I couldn't do it if python-devel isn't installed.
The expected behaviour is for a warning to be emitted and the
build to continue.
I bisected it down to:
commit 31160d7feab786c991780d7f0ce2755a469e0e5e
"perf tools: Fix GNU make v3.80 compatibility issue"
If I revert this changeset, everything works as expected, I get:
config/Makefile:319: The path '/usr/bin/python-config' is not executable.
config/Makefile:323: No python-config tool was found
config/Makefile:323: Python support will not be built
and I get a perf binary with no python support.
When python-devel is not installed and I have the above cset, I
get:
CHK gtk2
CHK -DHAVE_GTK_INFO_BAR
CHK perl
config/Makefile:319: The path '/usr/bin/python-config' is not executable.
config/Makefile:319: *** Please set 'PYTHON_CONFIG' appropriately. Stop.
make: Leaving directory `/home/acme/git/linux/tools/perf'
[acme@sandy linux]$
Can you take a look at this?
Jiri, this brings another situation to be tested on the 'cd
tools/perf ; make -f tools/make' suite: removing/installing packages
needed to build with some feature to check that it just warns the user
that such feature won't be included instead of stopping the build :-)
- Arnaldo
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Build failure when python-devel not installed
2013-07-09 13:19 Build failure when python-devel not installed Arnaldo Carvalho de Melo
@ 2013-07-09 14:19 ` David Ahern
0 siblings, 0 replies; 2+ messages in thread
From: David Ahern @ 2013-07-09 14:19 UTC (permalink / raw)
To: Arnaldo Carvalho de Melo
Cc: Al Cooper, Peter Zijlstra, mingo, Jiri Olsa, Namhyung Kim,
Linux Kernel Mailing List
On 7/9/13 7:19 AM, Arnaldo Carvalho de Melo wrote:
> Hi,
>
> While trying to build perf on a freshly installed Fedora 18
> machine I couldn't do it if python-devel isn't installed.
>
> The expected behaviour is for a warning to be emitted and the
> build to continue.
>
> I bisected it down to:
>
> commit 31160d7feab786c991780d7f0ce2755a469e0e5e
> "perf tools: Fix GNU make v3.80 compatibility issue"
>
> If I revert this changeset, everything works as expected, I get:
>
> config/Makefile:319: The path '/usr/bin/python-config' is not executable.
> config/Makefile:323: No python-config tool was found
> config/Makefile:323: Python support will not be built
https://lkml.org/lkml/2013/4/15/148
Suggested patch at the bottom of https://lkml.org/lkml/2013/4/16/577
David
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-09 14:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-09 13:19 Build failure when python-devel not installed Arnaldo Carvalho de Melo
2013-07-09 14:19 ` David Ahern
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox