[lkml]   [2022]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [GIT PULL] perf tools changes for v6.2: 1st batch
On Sat, Dec 17, 2022 at 8:50 AM Arnaldo Carvalho de Melo
<> 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


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

so apparently perf really wants *both* python2 and python3 installed.
Isn't that a bit excessive?

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.


 \ /
  Last update: 2022-12-17 20:59    [W:0.072 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site