【发布时间】:2023-03-17 23:04:01
【问题描述】:
我正在尝试使用 JHBuild 在 Ubuntu 12.04 上构建 gnome-builder 代码,但 JHBuild 给出了一些错误:
1) 正在运行jhbuild sanitycheck
checkout root (~/jhbuild/checkout) is not writable
Could not find DocBook XML DTD V4.1.2 in XML catalog
Could not find DocBook XSL Stylesheets in XML catalog
我已尝试安装所有可能的依赖项。
2) 还有jhbuild sysdeps --install 显示:
list of dependencies ..
jhbuild sysdeps: Don't know how to install packages on this system
3) 当我尝试构建它时,如下所示:
jhbuild -m gnome-world build gnome-builder
它显示:
jhbuild build: failed to parse /usr/share/jhbuild/modulesets/gnome-apps-3.20.modules: [Errno 2] No such file or directory: u'/usr/share/jhbuild/modulesets/gnome-apps-3.20.modules'
我已将示例 jhbuildrc 文件粘贴到主目录中,就像之前显示的那样
unable to load config file ~/.jhbuildrc not found
【问题讨论】:
-
jhbuild 不知道所有的包系统。例如在 Arch linux 上,您需要自己安装软件包,使用 pkgfile 搜索 .pc 文件。