RFR: JDK-8271142: package help is not displayed for missing X11/extensions/Xrandr.h [v2]

Matthias Baesken mbaesken at openjdk.java.net
Fri Jul 23 14:08:30 UTC 2021


On Fri, 23 Jul 2021 08:30:28 GMT, Christoph Langer <clanger at openjdk.org> wrote:

> > Hi Christoph, thanks for looking into it. Should we do the same for the other package managers in the case statement (like yum, apt-get) as well ? I only observed it on SLES15 (where zypper was detected) but it might be also an issue on the others.
> > Btw should I better use *zypper because I think it will always the suffix of the string?
> 
> Using just *zypper probably makes sense. For the other package managers it could also make sense to relax the check. I guess you should check it on relevant systems...

Checked on RHEL and we have the same issue there too.
before :

configure: error: Could not find cups!  
configure exiting with result code 1

after adding my fix  :

configure: error: Could not find cups! You might be able to fix this by running 'sudo yum install cups-devel'. 
configure exiting with result code 1

So yes, the other distros/pkg handlers had the same issue.

-------------

PR: https://git.openjdk.java.net/jdk/pull/4873



More information about the build-dev mailing list