Hi,

I use WSL 1 to build OpenJDK on Windows 10.
However, it has a problem in fixpath.sh, so I've posted PR for it.

  https://github.com/openjdk/jdk/pull/1889

You can build OpenJDK if you apply it.


Thanks,

Yasumasa


On 2021/01/08 0:20, Anirvan Sarkar wrote:
++ build-dev

On Thu, 7 Jan 2021 at 8:19 AM, - <liangchenb...@gmail.com> wrote:

Hello,

I am a Windows 10 user trying to build OpenJDK HEAD
<https://github.com/openjdk/jdk> so that I can try to fix a bug in
javadoc.

However, when I run make configure, my configure fails because it cannot
detect a regular microsoft visual studio installation, which contains
spaces in its directory name.

I have tried to reinstall microsoft visual studio to a directory without
spaces in name and pointed VSCOMMTOOLS system var to that directory. It
succeeded but failed subsequently for other dependencies that have spaces
in directory names.

I have determined that the problem arises after this commit:
d29c78da19ba78214efe9e7856cde30fdd9ba8ab
<
https://github.com/openjdk/jdk/commit/d29c78da19ba78214efe9e7856cde30fdd9ba8ab


When I checkout the commit before, 74be819
<
https://github.com/openjdk/jdk/commit/74be819088e13e244131cfb32d7d498ab213d075
,
when the "fixpath.c" was used rather than "fixpath.sh", I can run "make
configure" successfully, without failing for subsequent space problems.

I think this problem lies within the "fixpath.sh" bash script.
Unfortunately, I am no good at shell. I hope Magnus Ihse Bursie, who did
the c to bash migration, can find a solution to this space in windows
directory name failing fixpath problem.

Best,
liangchenb...@gmail.com

Reply via email to