Hi all,
This patch series is the result of getting "make tools/perf" working on
Ubuntu 24.04.3 LTS.
There was one remaining issue, which I could fix manually, but I don't
know a good way to auto-suggest this to the user when needed.
Initially, I was greeted with:
Makefile.config:1161: No openjdk development package found, please install JDK package, e.g. openjdk-8-jdk, java-latest-openjdk-devel
However, installing openjdk-8-jdk (or the latest version) did not help.
Apparently tools/perf/Makefile.config sets JDIR to the first Java
environment found. Hence if a Java environment was already installed,
but it is not a full environment (e.g. just openjdk-21-jre) and lacks
the <jvmti.h> header file, the build always fails. Only installing the
matching full jdk version (i.e. openjdk-21-jdk in my case) can fix that.
Thanks for your comments!
Geert Uytterhoeven (2):
perf build: Fix confusing "No python interpreter needed" message
perf build: Add Debian/Ubuntu python-is-python3
tools/perf/Makefile.config | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--
2.43.0
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds