[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130709131926.GA3260@ghostprotocols.net>
Date: Tue, 9 Jul 2013 10:19:26 -0300
From: Arnaldo Carvalho de Melo <acme@...stprotocols.net>
To: Al Cooper <alcooperx@...il.com>
Cc: Peter Zijlstra <peterz@...radead.org>, mingo@...radead.org,
Jiri Olsa <jolsa@...hat.com>,
Namhyung Kim <namhyung@...il.com>,
David Ahern <dsahern@...il.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Build failure when python-devel not installed
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@...dy 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists