Attempting to configure jake

Phoenyx33 Cynaed phoenyx33 at gmail.com
Mon Jan 2 19:41:01 UTC 2017


I have downloaded the Jigsaw(Jake) repositorys per the instructions, I have
JDK8 installed and Visual Studio 12 installed. When I run configure from
the top directory it dies on the Visual Studio test as below:

configure: Found Visual Studio installation at /C/Program Files
(x86)/Microsoft Visual Studio 12.0/Common7/Tools//../.. using
VS120COMNTOOLS variable
configure: Found Microsoft Visual Studio 2013
configure: Rewriting VS_ENV_CMD to
"/c/progra~2/micros~1.0/vc/bin/amd64/vcvars64.bat"
configure: Trying to extract Visual Studio environment variables
configure: Setting extracted environment variables
checking for Visual Studio variables... ok
configure: Rewriting ipath to "/c/progra~2/micros~1.0/vc/include"
configure: Rewriting ipath to "/c/progra~2/wi3cf2~1/8.1/include/shared"
configure: Rewriting ipath to "/c/progra~2/wi3cf2~1/8.1/include/um"
configure: Rewriting ipath to "/c/progra~2/wi3cf2~1/8.1/include/winrt"
configure: Rewriting libpath to "/c/progra~2/micros~1.0/vc/lib/amd64"
configure: Rewriting libpath to
"/c/progra~2/wi3cf2~1/8.1/lib/winv6.3/um/x64"
checking for cl... /c/Program Files (x86)/Microsoft Visual Studio
12.0/VC/BIN/amd64/cl
configure: Rewriting CC to "/c/progra~2/micros~1.0/vc/bin/amd64/cl"
checking resolved symbolic links for CC... no symlink
configure: Using microsoft C compiler version 18.00.40629 [Microsoft (R)
C/C++ Optimizing Compiler Version 18.00.40629 for x64]
checking whether the C compiler works... no
configure: error: in `/d/users/kenneth/workspace/openjdk/jake':
configure: error: C compiler cannot create executables
See `config.log' for more details

The relevant section from config.log:

Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.

conftest.c
Microsoft (R) Incremental Linker Version 12.00.40629.0
Copyright (C) Microsoft Corporation.  All rights reserved.

/out:conftest.exe
conftest.obj
LINK : fatal error LNK1104: cannot open file 'LIBCMT.lib'
configure:33947: $? = 2
configure:33985: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OpenJDK"
| #define PACKAGE_TARNAME "openjdk"
| #define PACKAGE_VERSION "jdk9"
| #define PACKAGE_STRING "OpenJDK jdk9"
| #define PACKAGE_BUGREPORT "build-dev at openjdk.java.net"
| #define PACKAGE_URL "http://openjdk.java.net"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:33990: error: in `/d/users/kenneth/workspace/openjdk/jake':
configure:33992: error: C compiler cannot create executables

Checking the vc\lib\amd64  there is no lib by that name. Checking Visual
Studio 14 I found that and copied it to VS12, re-ran cofigure, it needed
libvcruntime which I copied, re-ran and it needed libucrt.lib... this file
is found in Windows Kit/10/Lib. I am running Windows 10 so a mention of
this to Windows 10 users needs to be included or they won't be able to
build. Thank you for your attention.


More information about the jigsaw-dev mailing list