gpt4 book ai didi

google-chrome-devtools - 为什么我无法下载chrome的源代码?

转载 作者:行者123 更新时间:2023-12-04 05:30:38 26 4
gpt4 key购买 nike

只想知道发生了什么...

为什么 gyp_chromium 返回非零退出状态?我应该怎么做来处理这个问题?

我试过运行 sync第二次,得到同样的错误......

    linux_x86: updated to version 9870.
Updating /home/thinke365/fun/src/native_client/toolchain/.tars/naclsdk_linux_x86.tgz
from https://commondatastorage.googleapis.com/nativeclient-

archive2/toolchain/9870/naclsdk_linux_x86.tgz.
......................................
|------------------------------------------------|
..................................................
linux_x86_newlib: updated to version 9870.
Updating /home/thinke365/fun/src/native_client/toolchain/.tars/naclsdk_pnacl_linux_x86.tgz
from https://commondatastorage.googleapis.com/nativeclient-archive2/toolchain/9854/naclsdk_pnacl_linux_x86.tgz.
.............................................................
|------------------------------------------------|
..................................................
pnacl_linux_x86: updated to version 9854.
Updating /home/thinke365/fun/src/native_client/toolchain/.tars/naclsdk_pnacl_translator.tgz
from https://commondatastorage.googleapis.com/nativeclient-archive2/toolchain/9854/naclsdk_pnacl_translator.tgz.
...................
|------------------------------------------------|
..................................................
pnacl_translator: updated to version 9854.

________ running '/usr/bin/python src/tools/clang/scripts/update.py --mac-only' in '/home/thinke365/fun'

________ running '/usr/bin/python src/build/win/setup_cygwin_mount.py --win-only' in '/home/thinke365/fun'

________ running '/usr/bin/python src/build/util/lastchange.py -o src/build/util/LASTCHANGE' in '/home/thinke365/fun'

________ running '/usr/bin/python src/build/gyp_chromium' in '/home/thinke365/fun'
Updating projects from gyp files...
Package nss was not found in the pkg-config search path.
Perhaps you should add the directory containing `nss.pc'
to the PKG_CONFIG_PATH environment variable
No package 'nss' found
gyp: Call to 'pkg-config --cflags nss' returned exit status 1. while loading dependencies of /home/thinke365/fun/src/base/base.gyp while loading dependencies of /home/thinke365/fun/src/build/all.gyp while trying to load /home/thinke365/fun/src/build/all.gyp
Error: Command /usr/bin/python src/build/gyp_chromium returned non-zero exit status 1 in /home/thinke365/fun
thinke365@lab:~/fun$
thinke365@lab:~/fun$
thinke365@lab:~/fun$ n
bash: n: command not found
thinke365@lab:~/fun$ echo $?
127

编辑1:

即使对某些无法安装到系统的软件包进行注释,也无法运行 install-build-deps.sh。
Note, selecting 'libjpeg62-dev' instead of 'libjpeg-dev'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libkrb5-dev : Depends: krb5-multidev (= 1.8.3+dfsg-4squeeze6) but it is not going to be installed
libnspr4-dev : Depends: libnspr4-0d (>= 4.8.6) but it is not going to be installed
Depends: libnspr4-0d (<= 4.8.6-1.1~) but it is not going to be installed
libnss3-dev : Depends: libnss3-1d (= 3.12.8-1+squeeze5) but it is not going to be installed
libpcre3-dbg : Depends: libpcre3 (= 8.02-1.1) but 1:8.30-5 is to be installed
rpm : Depends: libnss3-1d (>= 3.12.0~1.9b1) but it is not going to be installed
Depends: librpm1 (>= 4.8.0) but it is not going to be installed
Depends: librpmbuild1 (>= 4.8.0) but it is not going to be installed
Depends: librpmio1 (>= 4.8.0) but it is not going to be installed
Depends: rpm2cpio but it is not going to be installed
E: Broken packages

最佳答案

http://dev.chromium.org/developers/how-tos/get-the-code 所述您需要先运行 build/install-build-deps.sh 才能运行 gyp

关于google-chrome-devtools - 为什么我无法下载chrome的源代码?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12670766/

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