Compilation centos7编译openjdk8运行get_source.sh出错

Compilation centos7编译openjdk8运行get_source.sh出错,compilation,centos7,Compilation,Centos7,运行get\u source.sh时出错 ./get_source.sh错误:需要初始存储库才能使用此脚本 这就是历史: 1. hg init jdk8 2. hg -r pull 20 http://hg.openjdk.java.net/jdk8/jdk8 3. hg pull -r 500 http://hg.openjdk.java.net/jdk8/jdk8 4. hg pull -r 941 http://hg.openjdk.java.net/jdk8/jdk8 5. c

运行
get\u source.sh
时出错

./get_source.sh错误:需要初始存储库才能使用此脚本

这就是历史:

 1. hg init jdk8
 2. hg -r pull 20 http://hg.openjdk.java.net/jdk8/jdk8
 3. hg pull -r 500 http://hg.openjdk.java.net/jdk8/jdk8
 4. hg pull -r 941 http://hg.openjdk.java.net/jdk8/jdk8
 5. chmod +x get_source.sh
 6. ./get_source.sh
  • hg init jdk
  • cd jdk/.hg
  • eamcs-西北hgrc
  • 示例存储库配置(有关更多信息,请参阅“hg帮助配置”) [路径] 默认值=

    URL或文件系统路径中此repo的其他克隆的路径别名 (有关更多信息,请参阅“hg help config.path”) #

    默认推送=ssh://jdoe@示例.net/hg/jdoes-fork 我的叉子=ssh://jdoe@示例.net/hg/jdoes-fork 我的克隆=/home/jdoe/jdoes克隆 [用户界面]

    名称和电子邮件(此存储库的本地,可选),例如。 用户名=无名氏 结束

  • hg init jdk
  • cd jdk/.hg
  • eamcs-西北hgrc
  • 示例存储库配置(有关更多信息,请参阅“hg帮助配置”) [路径] 默认值=

    URL或文件系统路径中此repo的其他克隆的路径别名 (有关更多信息,请参阅“hg help config.path”) #

    默认推送=ssh://jdoe@示例.net/hg/jdoes-fork 我的叉子=ssh://jdoe@示例.net/hg/jdoes-fork 我的克隆=/home/jdoe/jdoes克隆 [用户界面]

    名称和电子邮件(此存储库的本地,可选),例如。 用户名=无名氏
    结束

    您可以按照我从文件中下载源代码的以下说明进行操作。他们为我工作

    hg clone http://hg.openjdk.java.net/jdk8/jdk8 YourOpenJDK 
    cd YourOpenJDK 
    bash ./get_source.sh
    

    您可以按照我从文件中获取的以下说明下载源代码。他们为我工作

    hg clone http://hg.openjdk.java.net/jdk8/jdk8 YourOpenJDK 
    cd YourOpenJDK 
    bash ./get_source.sh
    
    #示例存储库配置(有关详细信息,请参阅“hg help config”)#[path]default=#URL或文件系统路径中此repo的其他克隆的路径别名#(有关详细信息,请参阅“hg help config.path”)#默认推送=ssh://jdoe@example.net/hg/jdoes-fork#my fork=ssh://jdoe@example.net/hg/jdoes-fork#my clone=/home/jdoe/jdoes clone#[ui]#名称和电子邮件(此存储库本地,可选),例如#username=Jane Doe#示例存储库配置(有关详细信息,请参阅“hg help config”)#[path]default=#URL或文件系统路径中此repo的其他克隆的路径别名#(有关详细信息,请参阅“hg help config.path”)#默认推送=ssh://jdoe@example.net/hg/jdoes-fork#my fork=ssh://jdoe@example.net/hg/jdoes-fork#my clone=/home/jdoe/jdoes clone#[ui]#名称和电子邮件(此存储库的本地,可选),例如#username=Jane Doe