gpt4 book ai didi

macos - OSX El Capitan 上 gtk+ 的 jhbuild Bootstrap 出错

转载 作者:行者123 更新时间:2023-12-02 01:30:16 28 4
gpt4 key购买 nike

我尝试在装有 OSX 10.11 的 iMac 上安装 GTK+$ sh gtk-osx-build-setup.sh没有任何错误,但说“yelp-tools not available”。
当我做$ jhbuild bootstrap我收到以下错误/输出:

W: bash has a dependency on unknown "readline" module
*** Checking out xz *** [1/22]
curl --continue-at - -L http://tukaani.org/xz/xz-5.2.1.tar.bz2 -o /Users/Noemi/gtk/source/pkgs/xz-5.2.1.tar.bz2
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1158k 100 1158k 0 0 2424k 0 --:--:-- --:--:-- --:--:-- 2423k
bunzip2 -dc "/Users/Noemi/gtk/source/pkgs/xz-5.2.1.tar.bz2" | tar xf -
*** Configuring xz *** [1/22]
./configure --prefix /Users/Noemi/gtk/inst --libdir '/Users/Noemi/gtk/inst/lib'
./configure: line 154: /Users/Noemi/gtk/inst/bin/bash: No such file or directory
./configure: line 154: exec: /Users/Noemi/gtk/inst/bin/bash: cannot execute: No such file or directory
*** Error during phase configure of xz: ########## Error running ./configure --prefix /Users/Noemi/gtk/inst --libdir '/Users/Noemi/gtk/inst/lib' *** [1/22]

[1] Rerun phase configure
[2] Ignore error and continue to build
[3] Give up on module
[4] Start shell
[5] Reload configuration
[6] Go to phase "wipe directory and start over"
[7] Go to phase "clean"
[8] Go to phase "distclean"
choice:

最佳答案

来自 .jhbuildrc:

# El Capitan needs bash to work around SIP. If you're using a
# common bootstrap directory (e.g. $HOME/.local) then override
# CONFIG_SHELL in .jhbuildrc-custom after calling setup_sdk().

所以我补充说:
os.environ['CONFIG_SHELL'] = '/bin/bash'

进入我的 .jhbuildrc-custom,就在 setup_sdk 行之后,它似乎正在工作

关于macos - OSX El Capitan 上 gtk+ 的 jhbuild Bootstrap 出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34678212/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com