我按照 GNOME 维基上的新手指南操作。一切都很顺利,直到在指南中运行以下命令
$ jhbuild build adwaita-icon-theme dconf glib-networking gvfs libcanberra
在终端上它给出以下输出(仅错误部分):
Makefile:464: recipe for target 'dconf-dconf-update.o' failed
make[2]: *** [dconf-dconf-update.o] Error 1
make[2]: Leaving directory '/home/mkykadir/.cache/jhbuild/build/dconf/bin'
Makefile:387: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/mkykadir/.cache/jhbuild/build/dconf'
Makefile:327: recipe for target 'all' failed
make: *** [all] Error 2
*** Error during phase build of dconf: ########## Error running make -j 3 *** [23/30]
[1] Rerun phase build
[2] Ignore error and continue to install
[3] Give up on module
[4] Start shell
[5] Yapılandırmayı yeniden yükle
[6] Go to phase "dizini temizle ve baştan başla"
[7] Go to phase "configure"
[8] Go to phase "clean"
[9] Go to phase "distclean"
seçim:
接下来要执行哪个操作,我尝试了 1、4 和 6 个选项,但它们并没有改变情况。我在双核机器上使用 Ubuntu GNOME。
答案1
我通过详细查看终端输出找到了问题所在。在输出中,它给出了一个错误dconf-更新.c有一些语法错误。在我的系统中,代码文件是~/jhbuild/checkout/dconf/bin
,错误是由
catch0_g_fıle_error
正如你所见,(我认为,但不确定)Vala 解释器把我不是 ASCII 字符,而是我,我搜索过文件使用我的文本编辑器在源代码中并进行更改我与我并选择选项 1(重新运行阶段构建) 并且它起作用了。