Skip to content

Instantly share code, notes, and snippets.

@Seeker14491
Created October 28, 2015 07:38
Show Gist options
  • Save Seeker14491/d57637490f3eaf8ba162 to your computer and use it in GitHub Desktop.
Save Seeker14491/d57637490f3eaf8ba162 to your computer and use it in GitHub Desktop.
Seeker@Seeker-PC MSYS ~
$ cd "C:\Users\Seeker\Desktop\cargo-edit"
Seeker@Seeker-PC MSYS /c/Users/Seeker/Desktop/cargo-edit
$ cargo build --release
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading matches v0.1.2
Downloading aho-corasick v0.3.4
Downloading memchr v0.1.6
Downloading winapi-build v0.1.1
Downloading libc v0.1.10
Downloading regex v0.1.41
Downloading curl v0.2.12
Downloading toml v0.1.23
Downloading url v0.2.37
Downloading tempdir v0.3.4
Downloading pad v0.1.4
Downloading pnacl-build-helper v1.4.10
Downloading log v0.3.2
Downloading pkg-config v0.3.6
Downloading libressl-pnacl-sys v2.1.6
Downloading curl-sys v0.1.26
Downloading getopts v0.2.14
Downloading strsim v0.3.0
Downloading semver v0.1.20
Downloading regex-syntax v0.2.2
Downloading rustc-serialize v0.3.16
Downloading docopt v0.6.74
Downloading advapi32-sys v0.1.2
Downloading quick-error v0.1.4
Downloading winapi v0.2.4
Downloading libz-sys v0.1.9
Downloading unicode-width v0.1.3
Downloading gcc v0.3.19
Downloading openssl-sys v0.6.7
Downloading rand v0.3.11
Downloading assert_cli v0.2.0
Downloading difference v0.4.1
Downloading ansi_term v0.6.3
Compiling winapi-build v0.1.1
Compiling strsim v0.3.0
Compiling rustc-serialize v0.3.16
Compiling semver v0.1.20
Compiling regex-syntax v0.2.2
Compiling winapi v0.2.4
Compiling pkg-config v0.3.6
Compiling advapi32-sys v0.1.2
Compiling memchr v0.1.6
Compiling aho-corasick v0.3.4
Compiling log v0.3.2
Compiling unicode-width v0.1.3
Compiling pad v0.1.4
Compiling regex v0.1.41
Compiling quick-error v0.1.4
Compiling docopt v0.6.74
Compiling toml v0.1.23
Compiling url v0.2.37
Compiling gcc v0.3.19
Compiling curl-sys v0.1.26
Compiling libz-sys v0.1.9
failed to run custom build command for `curl-sys v0.1.26`
Process didn't exit successfully: `C:\Users\Seeker\Desktop\cargo-edit\target\release\build\curl-sys-f4d12d0ac911a4c8\build-script-bu ild` (exit code: 101)
--- stdout
Couldn't find libcurl from pkgconfig ("`\"pkg-config\" \"--libs\" \"--cflags\" \"libcurl\"` did not exit successfully: exit code: 1\ n--- stderr\nPackage libcurl was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libcurl. pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'libcurl\' found\n"), compiling it from source...
cargo:rustc-link-search=C:\Users\Seeker\Desktop\cargo-edit\target\release\build\curl-sys-f4d12d0ac911a4c8\out/lib
cargo:rustc-link-lib=static=curl
cargo:root=C:\Users\Seeker\Desktop\cargo-edit\target\release\build\curl-sys-f4d12d0ac911a4c8\out
cargo:include=C:\Users\Seeker\Desktop\cargo-edit\target\release\build\curl-sys-f4d12d0ac911a4c8\out/include
cargo:rustc-flags=-l ws2_32
OPT_LEVEL = Some("3")
PROFILE = Some("release")
TARGET = Some("x86_64-pc-windows-gnu")
debug=false opt-level=3
HOST = Some("x86_64-pc-windows-gnu")
TARGET = Some("x86_64-pc-windows-gnu")
TARGET = Some("x86_64-pc-windows-gnu")
HOST = Some("x86_64-pc-windows-gnu")
CC_x86_64-pc-windows-gnu = None
CC_x86_64_pc_windows_gnu = None
HOST_CC = None
CC = None
TARGET = Some("x86_64-pc-windows-gnu")
HOST = Some("x86_64-pc-windows-gnu")
CFLAGS_x86_64-pc-windows-gnu = None
CFLAGS_x86_64_pc_windows_gnu = None
HOST_CFLAGS = None
CFLAGS = None
running: "sh" "/c/msys64/home/Seeker/.cargo/registry/src/github.com-0a35038f75765ae4/curl-sys-0.1.26/curl/configure" "--with-winssl" "--enable-static=yes" "--enable-shared=no" "--enable-optimize" "--prefix=C:\\Users\\Seeker\\Desktop\\cargo-edit\\target\\release\\b uild\\curl-sys-f4d12d0ac911a4c8\\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" "--disabl e-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 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
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc.exe
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc.exe accepts -g... yes
checking for gcc.exe option to accept ISO C89... none needed
checking whether gcc.exe understands -c and -o together... yes
checking how to run the C preprocessor... gcc.exe -E
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of gcc.exe... gcc3
checking curl version... 7.39.1-DEV
checking build system type...
--- stderr
/c/msys64/home/Seeker/.cargo/registry/src/github.com-0a35038f75765ae4/curl-sys-0.1.26/curl/config.guess: unable to guess system type
This script, last modified 2013-06-10, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
and
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
If the version you run (/c/msys64/home/Seeker/.cargo/registry/src/github.com-0a35038f75765ae4/curl-sys-0.1.26/curl/config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to <config-patches@gnu.org> in order to provide the needed
information to handle your system.
config.guess timestamp = 2013-06-10
uname -m = x86_64
uname -r = 2.3.0(0.290/5/3)
uname -s = MSYS_NT-6.1
uname -v = 2015-10-20 10:04
/usr/bin/uname -p = unknown
/bin/uname -X =
hostinfo =
/bin/universe =
/usr/bin/arch -k =
/bin/arch = x86_64
/usr/bin/oslevel =
/usr/convex/getsysinfo =
UNAME_MACHINE = x86_64
UNAME_RELEASE = 2.3.0(0.290/5/3)
UNAME_SYSTEM = MSYS_NT-6.1
UNAME_VERSION = 2015-10-20 10:04
configure: error: cannot guess build type; you must specify one
thread '<main>' panicked at 'assertion failed: t!(cmd . status ( )).success()', C:\msys64\home\Seeker\.cargo\registry\src\github.co m-0a35038f75765ae4\curl-sys-0.1.26\build.rs:130
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment