Cannot compile OpenJDK 11 (visual studio fail)
Erik Joelsson
erik.joelsson at oracle.com
Thu Oct 25 16:34:45 UTC 2018
Filed https://bugs.openjdk.java.net/browse/JDK-8212986
/Erik
On 2018-10-25 09:30, Erik Joelsson wrote:
> I think we need to make this check less strict to allow for different
> languages.
>
> /Erik
>
>
> On 2018-10-24 22:44, Artur Khusainov wrote:
>> I also reported this earlier.
>>
>> You should install English (US) language pack for Visual Studio. And
>> maybe
>> uninstall your current language pack.
>>
>> чт, 25 окт. 2018 г., 9:26 Franco Gastón Pellegrini <
>> francogpellegrini at gmail.com>:
>>
>>> Hello, I'm trying to compile OpenJDK 11 from hg sources, but when I
>>> use:
>>>
>>> bash ./configure --enable-debug --with-target-bits=32
>>> --with-toolchain-version=2017 --with-jvm-variants=client
>>>
>>> --with-boot-jdk="/home/Franco/Java/jdk10/build/windows-x86-normal-client-fastdebug/jdk/";
>>>
>>>
>>> it fail, because:
>>>
>>> checking for cl... /cygdrive/c/Program Files (x86)/Microsoft Visual
>>> Studio
>>> 14.0/VC/BIN/cl
>>> configure: Rewriting CC to "/cygdrive/c/progra~3/micros~1.0/vc/bin/cl"
>>> checking resolved symbolic links for CC... no symlink
>>> configure: The C compiler (located as
>>> /cygdrive/c/progra~3/micros~1.0/vc/bin/cl) does not seem to be the
>>> required
>>> microsoft compiler.
>>> configure: The result from running it was: "Compilador de
>>> optimizaci▒n de
>>> C/C++ de Microsoft (R) versi▒n 19.00.24234.1 para x86"
>>> configure: error: A microsoft compiler is required. Try setting
>>> --with-tools-dir.
>>> configure exiting with result code 1
>>>
>>> I already tried installing visual studio 2013, 2015, and 2017 (using
>>> the
>>> corresponding --with-toolchain-version), but all of them fail too.
>>> 2013
>>> version fail in other way at the end, at compiling come security
>>> features.
>>>
>>> I'm using windows 7 32 bits (I need a 32 bits version for some
>>> specific old
>>> PCs).
>>>
>>> what should I do?
>>>
>>> --
>>> Franco Pellegrini
>>>
>
More information about the build-dev
mailing list