From: Arnaldo Carvalho de Melo <arnaldo.melo@gmail.com>
To: Linus Torvalds <torvalds@linux-foundation.org>,
Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Ingo Molnar <mingo@kernel.org>,
Thomas Gleixner <tglx@linutronix.de>,
Jiri Olsa <jolsa@kernel.org>, Namhyung Kim <namhyung@kernel.org>,
Clark Williams <williams@redhat.com>,
Kate Carcia <kcarcia@redhat.com>,
linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org,
Adrian Hunter <adrian.hunter@intel.com>,
Dmitrii Dolgov <9erthalion6@gmail.com>,
Ian Rogers <irogers@google.com>,
James Clark <james.clark@arm.com>,
Kang Minchul <tegongkang@gmail.com>,
Kan Liang <kan.liang@linux.intel.com>,
Kautuk Consul <kconsul@ventanamicro.com>,
Leo Yan <leo.yan@linaro.org>,
Masami Hiramatsu <mhiramat@kernel.org>,
Nikita Shubin <n.shubin@yadro.com>,
Yang Jihong <yangjihong1@huawei.com>,
Steven Rostedt <rostedt@goodmis.org>,
Andrii Nakryiko <andrii@kernel.org>,
Arnaldo Carvalho de Melo <acme@redhat.com>
Subject: Re: [GIT PULL] perf tools changes for v6.2: 1st batch
Date: Sat, 17 Dec 2022 17:37:28 -0300 [thread overview]
Message-ID: <67193F2E-ED6B-4EE3-A69E-A09DBC73AF69@gmail.com> (raw)
In-Reply-To: <CAHk-=wjpO5LBx-mVD8+GBj3u7iNJHXn5y4OreKxsoRGi+4vMCQ@mail.gmail.com>
On December 17, 2022 4:55:25 PM GMT-03:00, Linus Torvalds <torvalds@linux-foundation.org> wrote:
>On Sat, Dec 17, 2022 at 8:50 AM Arnaldo Carvalho de Melo
><acme@kernel.org> wrote:
>>
>> The python3-setuptools package is needed to build the python binding, so
>> that one can use things like:
>
>So this fixes the error, but there's some other reason for it.
>
>I have
>
> Package python3-setuptools-59.6.0-3.fc36.noarch is already installed.
>
>and with that patch the 'perf' build now works for me, but it says:
>
> Makefile.config:898: Missing python setuptools, the python binding
>won't be built, please install python3-setuptools or equivalent
>
>and then (pre-existing)
>
> Makefile.config:921: Python interpreter too old (older than 3.6)
>disabling jevent generation
>
>but I have
>
> python3-3.10.8-3.fc36.x86_64
>
>Now, for some reason I *also* have python2 installed, but that one is
>called "python2".
>
>[ Me trying to figure things out ]
>
>Ok, so if I uninstall my old python2 install, I now get
>
> Makefile.config:880: No python interpreter was found: disables
>Python support - please install python-devel/python-dev
> Makefile.config:915: No python interpreter disabling jevent generation
>
>ok, so I didn't have 'python3-devel' installed. Installing that fixes
>some things, but then I get
>
> Makefile.config:889: No 'Python.h' (for Python 2.x support) was
>found: disables Python support - please install
>python-devel/python-dev
>
>so apparently perf really wants *both* python2 and python3 installed.
>Isn't that a bit excessive?
Well, perf used python2, then python3 became and option, had to be explicitly selected, then the default moved to python3.
Now probably the sensible thing is to get rid of all things related to python2, I'll spend some time on this...
>Anyway, it's clearly something about the install on this laptop, but
>the error messages and the "this package is missing" things are
>clearly not entirely right.
>
>Whatever. It does build cleanly now for me, and I'll ignore that "No
>'Python.h' (for Python 2.x support)" thing.
Ok, thanks for testing it.
- Arnaldo
next prev parent reply other threads:[~2022-12-17 20:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-16 14:36 Arnaldo Carvalho de Melo
2022-12-16 19:41 ` Linus Torvalds
2022-12-17 14:50 ` Arnaldo Carvalho de Melo
2022-12-17 16:05 ` Steven Rostedt
2022-12-17 19:55 ` Linus Torvalds
2022-12-17 20:37 ` Arnaldo Carvalho de Melo [this message]
2022-12-20 13:08 ` Arnaldo Carvalho de Melo
2022-12-16 19:44 ` pr-tracker-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=67193F2E-ED6B-4EE3-A69E-A09DBC73AF69@gmail.com \
--to=arnaldo.melo@gmail.com \
--cc=9erthalion6@gmail.com \
--cc=acme@kernel.org \
--cc=acme@redhat.com \
--cc=adrian.hunter@intel.com \
--cc=andrii@kernel.org \
--cc=irogers@google.com \
--cc=james.clark@arm.com \
--cc=jolsa@kernel.org \
--cc=kan.liang@linux.intel.com \
--cc=kcarcia@redhat.com \
--cc=kconsul@ventanamicro.com \
--cc=leo.yan@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=mhiramat@kernel.org \
--cc=mingo@kernel.org \
--cc=n.shubin@yadro.com \
--cc=namhyung@kernel.org \
--cc=rostedt@goodmis.org \
--cc=tegongkang@gmail.com \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
--cc=williams@redhat.com \
--cc=yangjihong1@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®