ubuntu12.10下编译chrome时执行/src/build/install-build-deps.sh出错

来源:互联网 发布:西安少儿编程培训班 编辑:程序博客网 时间:2024/04/30 01:08

这是因为脚本中限制了ubuntu的版本,把这一段注释掉就可以了。

ubuntu_versions="10\.04|10\.10|11\.04|11\.10|12\.04"

ubuntu_codenames="lucid|maverick|natty|oneiric|precise"


if ! egrep -q "Ubuntu ($ubuntu_versions|$ubuntu_codenames)" /etc/issue; then
  echo "ERROR: Only Ubuntu 10.04 (lucid) through 12.04 (precise) are currently"\
      "supported" >&2
  exit 1

fi


注释后:

#if ! egrep -q "Ubuntu ($ubuntu_versions|$ubuntu_codenames)" /etc/issue; then
#  echo "ERROR: Only Ubuntu 10.04 (lucid) through 12.04 (precise) are currently"\
#      "supported" >&2
#  exit 1
#fi

原创粉丝点击