跳到主要内容
CNode

linux环境下源码安装找不到cares.gyp

问答
Zzruihao68发布于 10 年前最后回复 10 年前
230500

./configure 后最后报gyp: /opt/node/node-v4.4.4/deps/cares/cares.gyp not found (cwd: /opt/node/node-v4.4.4) while loading dependencies of /opt/node/node-v4.4.4/node.gyp while trying to load /opt/node/node-v4.4.4/node.gyp Error running GYP make make: *** No rule to make target deps/http_parser/http_parser.gyp', needed by out/Makefile'. Stop.

查看回复

回复 (2)

Z
zruihao68#210 年前

deps目录下cares gtest http_parser npm全是空的

Z
zruihao68#110 年前

./confugure 完整内容 creating ./icu_config.gypi { 'target_defaults': { 'cflags': [], 'default_configuration': 'Release', 'defines': [], 'include_dirs': [], 'libraries': []}, 'variables': { 'asan': 0, 'gas_version': '2.24', 'host_arch': 'x64', 'icu_small': 'false', 'node_byteorder': 'little', 'node_install_npm': 'true', 'node_prefix': '/usr/local', 'node_release_urlbase': '', 'node_shared_http_parser': 'false', 'node_shared_libuv': 'false', 'node_shared_openssl': 'false', 'node_shared_zlib': 'false', 'node_tag': '', 'node_use_dtrace': 'false', 'node_use_etw': 'false', 'node_use_lttng': 'false', 'node_use_openssl': 'true', 'node_use_perfctr': 'false', 'openssl_fips': '', 'openssl_no_asm': 0, 'target_arch': 'x64', 'uv_parent_path': '/deps/uv/', 'uv_use_dtrace': 'false', 'v8_enable_gdbjit': 0, 'v8_enable_i18n_support': 0, 'v8_no_strict_aliasing': 1, 'v8_optimized_debug': 0, 'v8_random_seed': 0, 'v8_use_snapshot': 'true', 'want_separate_host_toolset': 0}} creating ./config.gypi creating ./config.mk gyp: /opt/node/node-v4.4.4/deps/cares/cares.gyp not found (cwd: /opt/node/node-v4.4.4) while loading dependencies of /opt/node/node-v4.4.4/node.gyp while trying to load /opt/node/node-v4.4.4/node.gyp Error running GYP

参与回复

登录后即可参与回复。登录