您当前的位置: 首页 >  ui

柳鲲鹏

暂无认证

  • 0浏览

    0关注

    4642博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

Mac编译OpenJDK8:configure: error: Xcode 4 is required to build JDK 8, the version found was 10.1config

柳鲲鹏 发布时间:2022-02-08 13:33:13 ,浏览量:0

  • 具体错误:
configure: error: Xcode 4 is required to build JDK 8, the version found was 10.1. Use --with-xcode-path to specify the location of Xcode 4 or make Xcode 4 active by using xcode-select.
configure exiting with result code 1
  • 解决办法:

common/autoconf/generated-configure.sh

搜索Xcode 4 is require,把as_fn_error改为echo即可.

    # Fail-fast: verify we're building on Xcode 4, we cannot build with Xcode 5 or later
    XCODE_VERSION=`$XCODEBUILD -version | grep '^Xcode ' | sed 's/Xcode //'`
    XC_VERSION_PARTS=( ${XCODE_VERSION//./ } )
    if test ! "${XC_VERSION_PARTS[0]}" = "4"; then
      echo $? "Xcode 4 is required to build JDK 8, the version found was $XCODE_VERSION. Use --with-xcode-path to specify the location of Xcode 4 or make Xcode 4 active by using xcode-select." "$LINENO" 5
    fi

关注
打赏
1665724893
查看更多评论
立即登录/注册

微信扫码登录

0.0567s