New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JDK-8271142: package help is not displayed for missing X11/extensions/Xrandr.h #4873
Conversation
|
Webrevs
|
@MBaesken This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 31 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.
|
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. |
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. configure: error: Could not find cups! after adding my fix : configure: error: Could not find cups! You might be able to fix this by running 'sudo yum install cups-devel'. So yes, the other distros/pkg handlers had the same issue. |
@MBaesken This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
/integrate |
Going to push as commit b7f75c0.
Your commit was automatically rebased without conflicts. |
Please review the following change.
On SUSE Linux 15 configure was running into this error, because of a missing X11 header :
checking for X11/extensions/Xrandr.h... no
configure: error: Could not find all X11 headers (shape.h Xrender.h Xrandr.h XTest.h Intrinsic.h).
I wondered about the missing package help output, we should display some hint what packages are missing.
In help.m4, PKGHANDLER was detected as /usr/bin/zypper .
However only the exact string zypper is checked, this should be relaxed.
Afterwards, the package - help was working nicely :
checking for X11/extensions/Xrandr.h... no
configure: error: Could not find all X11 headers (shape.h Xrender.h Xrandr.h XTest.h Intrinsic.h).
You might be able to fix this by running 'sudo zypper install libX11-devel libXext-devel libXrender-devel libXrandr-devel libXtst-devel libXt-devel libXi-devel'.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/4873/head:pull/4873
$ git checkout pull/4873
Update a local copy of the PR:
$ git checkout pull/4873
$ git pull https://git.openjdk.java.net/jdk pull/4873/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 4873
View PR using the GUI difftool:
$ git pr show -t 4873
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/4873.diff