config-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Rust on Win10 curl build failure


From: Raum Dellamorte
Subject: Rust on Win10 curl build failure
Date: Sun, 18 Jun 2017 11:09:10 -0800

Tried to install crate cargo-edit and it appears to have failed compiling curl

...
   Compiling unicode-bidi v0.3.3
error: failed to run custom build command for `curl-sys v0.1.35`
process didn't exit successfully: `C:\Users\Raum\AppData\Local\Temp\cargo-install.iMTvQfFLUzlp\release\build\curl-sys-6b447b76832a6da2\build-scrip
t-build` (exit code: 101)
--- stdout
Couldn't find libcurl from pkgconfig ("`\"pkg-config\" \"--libs\" \"--cflags\" \"libcurl\"` did not exit successfully: exit code: 1\n--- stderr\nP
ackage libcurl was not found in the pkg-config search path.\r\nPerhaps you should add the directory containing `libcurl.pc\'\r\nto the PKG_CONFIG_
PATH environment variable\r\nNo package \'libcurl\' found\r\n"), compiling it from source...
cargo:rustc-link-search=C:\Users\Raum\AppData\Local\Temp\cargo-install.iMTvQfFLUzlp\release\build\curl-sys-35a18f0331ca73b1\out/lib

cargo:rustc-link-lib=static=curl
cargo:root=C:\Users\Raum\AppData\Local\Temp\cargo-install.iMTvQfFLUzlp\release\build\curl-sys-35a18f0331ca73b1\out
cargo:include=C:\Users\Raum\AppData\Local\Temp\cargo-install.iMTvQfFLUzlp\release\build\curl-sys-35a18f0331ca73b1\out/include
cargo:rustc-flags=-l ws2_32
OPT_LEVEL = Some("3")
TARGET = Some("x86_64-pc-windows-gnu")
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
PROFILE = "">running: "sh" "/c/Users/Raum/.cargo/registry/src/github.com-1ecc6299db9ec823/curl-sys-0.1.35/curl/configure" "--with-winssl" "--enable-static=yes"
 "--enable-shared=no" "--enable-optimize" "--prefix=C:\\Users\\Raum\\AppData\\Local\\Temp\\cargo-install.iMTvQfFLUzlp\\release\\build\\curl-sys-35
a18f0331ca73b1\\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 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/Users/Raum/.cargo/registry/src/github.com-1ecc6299db9ec823/curl-sys-0.1.35/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/Users/Raum/.cargo/registry/src/github.com-1ecc6299db9ec823/curl-sys-0.1.35/curl/config.guess) is already up to date, pl
ease
send the following data and any information you think might be
pertinent to <address@hidden> in order to provide the needed
information to handle your system.

config.guess timestamp = 2013-06-10

uname -m = x86_64
uname -r = 2.7.0(0.306/5/3)
uname -s = MSYS_NT-10.0
uname -v = 2017-02-14 08:57

/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.7.0(0.306/5/3)
UNAME_SYSTEM  = MSYS_NT-10.0
UNAME_VERSION = 2017-02-14 08:57
configure: error: cannot guess build type; you must specify one
thread 'main' panicked at 'assertion failed: t!(cmd . status (  )).success()', C:\Users\Raum\.cargo\registry\src\github.com-1ecc6299db9ec823\curl-
sys-0.1.35\build.rs:142
note: Run with `RUST_BACKTRACE=1` for a backtrace.

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\Raum\AppData\Local\Temp\cargo-install.iMTvQfFLUzlp`

reply via email to

[Prev in Thread] Current Thread [Next in Thread]