无法使用JHBuild构建gnome-builder

时间:2015-10-08 13:00:31

标签: ubuntu gnome jhbuild

我正在尝试使用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

1 个答案:

答案 0 :(得分:0)

我希望您遵循手册如何install JHBuild。之后

$ jhbuild sanitycheck

似乎~/jhbuild/checkout存在问题。运行

mkdir ~/jhbuild/checkout

如果不存在,

sudo chmod -R 777 ~/jhbuild/checkout

如有必要,可以更改权限。

如果已经安装了官方Ubuntu docbook-xmldocbook-xsl软件包,则可以通过安装xmlto来删除其他错误

sudo apt-get update
sudo apt-get install xmlto