Created
February 26, 2017 05:53
-
-
Save masaeedu/475aa03570af8f548430f85652071530 to your computer and use it in GitHub Desktop.
MSVC toolchain attempt to install cargo-edit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cargo install cargo-edit | |
Updating registry `https://github.com/rust-lang/crates.io-index` | |
Compiling regex-syntax v0.3.9 | |
Compiling log v0.3.6 | |
Compiling libc v0.2.20 | |
Compiling unicode-normalization v0.1.4 | |
Compiling strsim v0.5.2 | |
Compiling quick-error v1.1.0 | |
Compiling utf8-ranges v1.0.0 | |
Compiling winapi v0.2.8 | |
Compiling regex-syntax v0.4.0 | |
Compiling utf8-ranges v0.1.3 | |
Compiling lazy_static v0.2.2 | |
Compiling matches v0.1.4 | |
Compiling winapi-build v0.1.1 | |
Compiling void v1.0.2 | |
Compiling nom v1.2.4 | |
Compiling unreachable v0.1.1 | |
Compiling unicode-width v0.1.4 | |
Compiling pkg-config v0.3.9 | |
Compiling rustc-serialize v0.3.22 | |
Compiling unicode-bidi v0.2.5 | |
Compiling kernel32-sys v0.2.2 | |
Compiling memchr v0.1.11 | |
Compiling aho-corasick v0.5.3 | |
Compiling semver v0.2.3 | |
Compiling gcc v0.3.43 | |
Compiling memchr v1.0.1 | |
Compiling idna v0.1.0 | |
Compiling aho-corasick v0.6.2 | |
Compiling pad v0.1.4 | |
Compiling url v1.4.0 | |
Compiling libz-sys v1.0.13 | |
Compiling curl-sys v0.1.35 | |
Compiling toml v0.1.30 | |
Build failed, waiting for other jobs to finish... | |
error: failed to compile `cargo-edit v0.1.6`, intermediate artifacts can be found at `C:\Users\masae\AppData\Local\Temp\cargo-install.Px5OCTOgUXGW` | |
Caused by: | |
failed to run custom build command for `curl-sys v0.1.35` | |
process didn't exit successfully: `C:\Users\masae\AppData\Local\Temp\cargo-install.Px5OCTOgUXGW\release\build\curl-sys-be892a48b34deddd\build-script-build` (exit code: 101) | |
--- stdout | |
Couldn't find libcurl from pkgconfig ("MSVC target detected. If you are using the MSVC ABI rust build, please use the GNU ABI build instead."), compiling it from source... | |
cargo:rustc-link-search=C:\Users\masae\AppData\Local\Temp\cargo-install.Px5OCTOgUXGW\release\build\curl-sys-8b4c3b78a7e0c8ff\out/lib | |
cargo:rustc-link-lib=static=curl | |
cargo:root=C:\Users\masae\AppData\Local\Temp\cargo-install.Px5OCTOgUXGW\release\build\curl-sys-8b4c3b78a7e0c8ff\out | |
cargo:include=C:\Users\masae\AppData\Local\Temp\cargo-install.Px5OCTOgUXGW\release\build\curl-sys-8b4c3b78a7e0c8ff\out/include | |
cargo:rustc-flags=-l ws2_32 | |
running: "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\14.0\\VC\\bin\\amd64\\nmake.exe" "/f" "Makefile.vc" "MODE=static" "ENABLE_IDN=yes" "DEBUG=no" "GEN_PDB=no" "ENABLE_WINSSL=yes" "ENABLE_SSPI=yes" "MACHINE=x64" "WITH_ZLIB=static" "WITH_DEVEL=C:\\Users\\masae\\AppData\\Local\\Temp\\cargo-install.Px5OCTOgUXGW\\release\\build\\libz-sys-5f84a412b4973fd9\\out" | |
configuration name: libcurl-vc-x64-release-static-zlib-static-ipv6-sspi-winssl | |
cl.exe /O2 /DNDEBUG /MD /DCURL_STATICLIB /I. /I ../lib /I../include /nologo /W3 /EHsc /DWIN32 /FD /c /DBUILDING_LIBCURL /I"C:\Users\masae\AppData\Local\Temp\cargo-install.Px5OCTOgUXGW\release\build\libz-sys-5f84a412b4973fd9\out/include" /DHAVE_ZLIB_H /DHAVE_ZLIB /DHAVE_LIBZ /DUSE_WIN32_IDN /DWANT_IDN_PROTOTYPES /DUSE_IPV6 /DUSE_WINDOWS_SSPI /DUSE_SCHANNEL /Fo"..\builds\libcurl-vc-x64-release-static-zlib-static-ipv6-sspi-winssl-obj-lib/file.obj" ..\lib\file.c | |
file.c | |
c:\users\masae\.cargo\registry\src\github.com-1ecc6299db9ec823\curl-sys-0.1.35\curl\lib\curl_setup.h(132): fatal error C1083: Cannot open include file: 'curl/curlbuild.h': No such file or directory | |
--- stderr | |
Microsoft (R) Program Maintenance Utility Version 14.00.24218.2 | |
Copyright (C) Microsoft Corporation. All rights reserved. | |
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\Shared\14.0\VC\bin\amd64\cl.exe"' : return code '0x2' | |
Stop. | |
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\Shared\14.0\VC\bin\amd64\nmake.exe"' : return code '0x2' | |
Stop. | |
thread 'main' panicked at 'assertion failed: t!(cmd . status ( )).success()', .cargo\registry\src\github.com-1ecc6299db9ec823\curl-sys-0.1.35\build.rs:142 | |
note: Run with `RUST_BACKTRACE=1` for a backtrace. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment