Skip to content

在Ubuntu下sh autoinstallroot624.sh,由于clad导致的失败 #1

@liuxinchn

Description

@liuxinchn

编译root出现如下报错:

CMake Error at clad-stamp/clad-download-Release.cmake:37 (message):
  Command failed: 1
   '/usr/bin/cmake' '-P' '/home/lx/buildroot62402/interpreter/cling/tools/plugins/clad/clad-prefix/tmp/clad-gitclone.cmake'
  See also
    /home/lx/buildroot62402/interpreter/cling/tools/plugins/clad/clad-prefix/src/clad-stamp/clad-download-*.log

-- stdout output is:
-- Had to git clone more than once:
          3 times.

-- stderr output is:
正克隆到 'clad'...
fatal: 无法访问 'https://github.com/vgvassilev/clad.git/':Could not resolve host: github.com
正克隆到 'clad'...
fatal: 无法访问 'https://github.com/vgvassilev/clad.git/':Could not resolve host: github.com
正克隆到 'clad'...
fatal: 无法访问 'https://github.com/vgvassilev/clad.git/':Could not resolve host: github.com
CMake Error at /home/lx/buildroot62402/interpreter/cling/tools/plugins/clad/clad-prefix/tmp/clad-gitclone.cmake:31 (message):
  Failed to clone repository: 'https://github.com/vgvassilev/clad.git'

CMake Error at clad-stamp/clad-download-Release.cmake:47 (message):
  Stopping after outputting logs.

经查询,在cmake后添加 -Dclad=OFF 可顺利编译并安装。
不清楚是否是因为无法访问外网的问题,以及想请教一下,关闭clad是否对后续使用有影响。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions