Skip to content

Instantly share code, notes, and snippets.

@Seeker14491
Created October 28, 2015 23:04
Show Gist options
  • Save Seeker14491/89fe77d1d4af458eb7fa to your computer and use it in GitHub Desktop.
Save Seeker14491/89fe77d1d4af458eb7fa to your computer and use it in GitHub Desktop.
Administrator@WIN-25P08VE0STQ MSYS /c/Users/Administrator/Desktop
$ git clone "https://github.com/alexcrichton/curl-rust.git" --branch "update-curl"
Cloning into 'curl-rust'...
remote: Counting objects: 3853, done.
remote: Total 3853 (delta 0), reused 0 (delta 0), pack-reused 3853
Receiving objects: 100% (3853/3853), 3.93 MiB | 4.77 MiB/s, done.
Resolving deltas: 100% (1722/1722), done.
Checking connectivity... done.
Administrator@WIN-25P08VE0STQ MSYS /c/Users/Administrator/Desktop
$ cd curl-rust/
Administrator@WIN-25P08VE0STQ MSYS /c/Users/Administrator/Desktop/curl-rust
$ git submodule update --init
Submodule 'curl-sys/curl' (https://github.com/alexcrichton/curl) registered for path 'curl-sys/curl'
Cloning into 'curl-sys/curl'...
remote: Counting objects: 111787, done.
remote: Total 111787 (delta 0), reused 0 (delta 0), pack-reused 111786
Receiving objects: 100% (111787/111787), 32.10 MiB | 5.61 MiB/s, done.
Resolving deltas: 100% (86840/86840), done.
Checking connectivity... done.
Submodule path 'curl-sys/curl': checked out '98bab1ed7a5667a49504f03989e7f5dba2046924'
Administrator@WIN-25P08VE0STQ MSYS /c/Users/Administrator/Desktop/curl-rust
$ cargo build
Updating registry `https://github.com/rust-lang/crates.io-index`
Compiling winapi-build v0.1.1
Compiling libc v0.1.12
Compiling log v0.3.3
Compiling matches v0.1.2
Compiling advapi32-sys v0.1.2
Compiling pkg-config v0.3.6
Compiling rustc-serialize v0.3.16
Compiling winapi v0.2.4
Compiling url v0.2.37
Compiling gcc v0.3.19
Compiling curl-sys v0.1.25 (file:///C:/Users/Administrator/Desktop/curl-rust)
Compiling libz-sys v0.1.9
curl-sys\build.rs:109:43: 109:55 warning: use of deprecated item: renamed to join, #[warn(deprecated)] on by default
curl-sys\build.rs:109 config_opts.connect(" "))
^~~~~~~~~~~~
<std macros>:2:26: 2:57 note: in this expansion of format_args!
curl-sys\build.rs:108:23: 109:56 note: in this expansion of format! (defined in <std macros>)
failed to run custom build command for `curl-sys v0.1.25 (file:///C:/Users/Administrator/Desktop/curl-rust)`
Process didn't exit successfully: `C:\Users\Administrator\Desktop\curl-rust\target\debug\build\curl-sys-bb3a6e93dd0669e6\build-script-build` (exit code: 101)
--- stdout
cargo:rustc-link-search=C:\Users\Administrator\Desktop\curl-rust\target\debug\build\curl-sys-bb3a6e93dd0669e6\out/lib
cargo:rustc-link-lib=static=curl
cargo:root=C:\Users\Administrator\Desktop\curl-rust\target\debug\build\curl-sys-bb3a6e93dd0669e6\out
cargo:include=C:\Users\Administrator\Desktop\curl-rust\target\debug\build\curl-sys-bb3a6e93dd0669e6\out/include
cargo:rustc-flags=-l ws2_32
running: "sh" "-c" "/c/Users/Administrator/Desktop/curl-rust/curl-sys/curl/configure --with-winssl --enable-static=yes --enable-shared=no --enable-optimize --prefix=/c/Users/Administrator/Desktop/curl-rust/target/debug/build/curl-sys-bb3a6e93dd0669e6/out --without-librtmp --without-libidn --without-libssh2 --without-nghttp2 --disable-ldap --disable-ldaps --disable-ftp --disable-rtsp --disable-dict --disable-telnet --disable-tftp --disable-pop3 --disable-imap --disable-smtp --disable-gopher --disable-manual"
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether to enable debug build options... no
checking whether to enable compiler optimizer... yes
checking whether to enable strict compiler warnings... no
checking whether to enable compiler warnings as errors... no
checking whether to enable curl debug memory tracking... no
checking whether to enable hiding of library internal symbols... yes
checking whether to enable c-ares for DNS lookups... no
checking whether to disable dependency on -lrt... (assumed no)
;;
*
no
checking for path separator... :
checking for sed... /usr/bin/sed
checking for grep... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ar... /mingw64/bin/ar
--- stderr
configure: error: cannot find install-sh, install.sh, or shtool in "/c/Users/Administrator/Desktop/curl-rust/curl-sys/curl" "/c/Users/Administrator/Desktop/curl-rust/curl-sys/curl/.." "/c/Users/Administrator/Desktop/curl-rust/curl-sys/curl/../.."
thread '<main>' panicked at 'assertion failed: t!(cmd . status ( )).success()', curl-sys\build.rs:134
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment