编译OpenJDK8报错:configure: error: Failed to determine Xcode version.

简介: 编译OpenJDK8报错:configure: error: Failed to determine Xcode version.
  • 具体错误
configure: error: Failed to determine Xcode version.
/Users/taishansoft/Downloads/tsjdk8-project/ts-jdk8/common/autoconf/generated-configure.sh: line 82: 5: Bad file descriptor
  • 解决办法

下载安装Xcode。把整个Xcode.app目录移动到/Applications目录下。然后执行以下命令:

sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
目录
相关文章
|
编译器 Go 开发工具
常见问题之Golang——cgo: C compiler "gcc" not found: exec: "gcc": executable file not found in %PATH%错误
本文主要是对我日常在使用golang时遇到的一些问题与解决方式进行的汇总,在此提供给大家便于排查一些遇到的问题,其中有更好的解决方案可在评论区留言。
949 0
常见问题之Golang——cgo: C compiler "gcc" not found: exec: "gcc": executable file not found in %PATH%错误
|
9月前
|
Windows
CMake 如何设置 Debug 和 Release 下的不同配置
CMake 设置 Debug 和 Release 下不同的工程依赖库,编译选项宏隔离等
413 0
CMake 如何设置 Debug 和 Release 下的不同配置
|
12月前
|
iOS开发
Xcode运行报错Failed to prepare device for development.解决办法
Xcode运行报错Failed to prepare device for development.解决办法
528 0
|
iOS开发
编译OpenJDK8报错:configure: error: Failed to determine Xcode version.
编译OpenJDK8报错:configure: error: Failed to determine Xcode version.
93 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
94 0
|
Java
解决办法:Invalid Gradle JDK configuration found
解决办法:Invalid Gradle JDK configuration found
468 1
编译x264出现错误:No working C compiler found.
编译x264出现错误:No working C compiler found.
260 0
codeblocks中出现#error This file requires compiler and library support for the错误时的解决方案
codeblocks中出现#error This file requires compiler and library support for the错误时的解决方案
473 0
codeblocks中出现#error This file requires compiler and library support for the错误时的解决方案
解决办法:configure: error: C compiler cannot create executables错误
解决办法:configure: error: C compiler cannot create executables错误
436 0
|
API 开发工具 Android开发
Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager.
Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager.
795 0
Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager.