编译OpenJDK8:a microsoft compiler is required

简介: 编译OpenJDK8:a microsoft compiler is required

  编译出错,有点束手无策。网上搜索,参考别人的做法,成功解决。

  1. 打开文件:common/autoconf/generated-configure.sh
  2. 删除或注释类似如下语句。原因是代码判断错了,实际上不影响编译。
as_fn_error $? "GCC compiler is required. Try setting --with-tools-dir." "$LINENO" 5
as_fn_error $? "A $TOOLCHAIN_TYPE compiler is required. Try setting --with-tools-dir." "$LINENO" 5

  这个语句有多个,可以全部删除。

目录
相关文章
|
4月前
|
Java 开发工具
开发工具系类 之 Cannot determine path to ‘tools.jar‘ library for 17 (D:/Program Files/Java/jdk-17.0.9)
这篇文章讲述了作者在升级JDK至17版本后遇到IDEA无法识别`tools.jar`的问题,并提供了两种解决方法:升级IDEA版本或降低JDK版本,并提供了相关版本的IDEA兼容性信息。
开发工具系类 之 Cannot determine path to ‘tools.jar‘ library for 17 (D:/Program Files/Java/jdk-17.0.9)
|
4月前
|
Java
No compiler detected, make sure you are running on top of a JDK instead of a JRE
No compiler detected, make sure you are running on top of a JDK instead of a JRE
63 1
|
5月前
|
Java
关于idea报错:Cannot determine path to 'tools.jar' library for 17 (E:\java-jdk\jdk17)的解决办法
关于idea报错:Cannot determine path to 'tools.jar' library for 17 (E:\java-jdk\jdk17)的解决办法
|
4月前
|
Java
cxf 动态调用 WebService No compiler detected, make sure you are running on top of a JDK instead of a JRE
cxf 动态调用 WebService No compiler detected, make sure you are running on top of a JDK instead of a JRE
81 0
|
Java Linux Maven
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
197 0
|
Java iOS开发
Mac编译OpenJDK8:configure: error: Xcode 4 is required to build JDK 8, the version found was 10.1config
Mac编译OpenJDK8:configure: error: Xcode 4 is required to build JDK 8, the version found was 10.1config
138 0
编译OpenJDK12:a microsoft compiler is required
编译OpenJDK12:a microsoft compiler is required
83 0
编译OpenJDK8:a microsoft compiler is required
编译OpenJDK8:a microsoft compiler is required
94 0
|
iOS开发
编译OpenJDK8报错:configure: error: Failed to determine Xcode version.
编译OpenJDK8报错:configure: error: Failed to determine Xcode version.
115 0
|
Android开发
eclipse下载支持compiler compliance level 1.8的插件
eclipse下载支持compiler compliance level 1.8的插件
115 0