[Gentle Reminder] openjdk9-android:X11 header error

JIGAR MISTRY jigarmistry at outlook.com
Fri Apr 27 11:10:42 UTC 2018


Hello,
I am using the following version of JDK.
hg checkout JDK-9+181

Command I used to configure is:
bash configure --enable-option-checking=fatal --host=i686-unknown-linux-gnu --build=x86_64-pc-linux-gnu --disable-warnings-as-errors --enable-headless-only --with-jdk-variant=normal --with-jvm-variants=client --with-cups-include=$CUPS_DIR --with-devkit=$ANDROID_DEVKIT --with-debug-level=release --with-freetype-lib=$FREETYPE_DIR/lib --with-freetype-include=$FREETYPE_DIR/include/freetype2

on this, I am getting the following error:
configure error: Could not find X11 libraries. You might be able to fix this by running 'sudo apt-get install libx11-dev libxext-dev libxrender-dev libxtst-dev libxt-dev'.

I also rerun the configure command with --openjdk-target=i686-unknown-linux-gnu switch. But still, I am getting the same error.

I assume it shouldn't be dependent on X11.
How to resolve this issue?
Any help would be highly appreciated. Thank you in anticipation.



I have also attached complete logs of both the runs. PFA.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: jdk9_issue.txt
URL: <http://mail.openjdk.java.net/pipermail/mobile-dev/attachments/20180427/34452186/jdk9_issue-0001.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: jdk9_issue_2.txt
URL: <http://mail.openjdk.java.net/pipermail/mobile-dev/attachments/20180427/34452186/jdk9_issue_2-0001.txt>


More information about the mobile-dev mailing list