[Gentle Reminder] openjdk9-android:X11 header error
David Holmes
david.holmes at oracle.com
Fri Apr 27 11:15:49 UTC 2018
Hi,
As far as I know the build is dependent on X11, even if building a
headless configuration.
David
On 27/04/2018 9:10 PM, JIGAR MISTRY wrote:
> 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.
>
More information about the mobile-dev
mailing list