Comments (5)
Same problem with me on Win10 32bit, see here: http://stackoverflow.com/questions/32487166/cargo-build-error-file-missing
Anyone?
from curl-rust.
I have the same problem with windows 10 64bit, moving the project to C:\ as suggested in the SO thread didn't help in my case.
from curl-rust.
I got the same error, windows 8.1 64bit, still looking for a fix also tried moving the project to C:\ but it didn't work.
from curl-rust.
I'm getting this error while trying to install cargo-edit. I'm on Windows 7 64-bit.
Compiling curl-sys v0.1.26
failed to run custom build command for `curl-sys v0.1.26`
Process didn't exit successfully: `C:\Users\Seeker\Desktop\cargo-edit\target\rel
ease\build\curl-sys-f4d12d0ac911a4c8\build-script-build` (exit code: 101)
--- stdout
Couldn't find libcurl from pkgconfig ("failed to run `\"pkg-config\" \"--libs\"
\"--cflags\" \"libcurl\"`: The system cannot find the file specified. (os error
2)"), 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-f4d1
2d0ac911a4c8\out
cargo:include=C:\Users\Seeker\Desktop\cargo-edit\target\release\build\curl-sys-f
4d12d0ac911a4c8\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/Users/Seeker/.cargo/registry/src/github.com-0a35038f75765ae4/c
url-sys-0.1.26/curl/configure" "--with-winssl" "--enable-static=yes" "--enable-s
hared=no" "--enable-optimize" "--prefix=C:\\Users\\Seeker\\Desktop\\cargo-edit\\
target\\release\\build\\curl-sys-f4d12d0ac911a4c8\\out" "--without-librtmp" "--w
ithout-libidn" "--without-libssh2" "--without-nghttp2" "--disable-ldap" "--disab
le-ldaps" "--disable-ftp" "--disable-rtsp" "--disable-dict" "--disable-telnet" "
--disable-tftp" "--disable-pop3" "--disable-imap" "--disable-smtp" "--disable-go
pher" "--disable-manual"
--- stderr
thread '<main>' panicked at 'cmd.status() return the error The system cannot fin
d the file specified. (os error 2)', C:\Users\Seeker\.cargo\registry\src\github.
com-0a35038f75765ae4\curl-sys-0.1.26\build.rs:130
from curl-rust.
This indicates that "sh" isn't an executable in PATH, which probably means that you're not running inside an MSYS2 shell. Some possible fixes are:
- Compiles can happen from an MSYS2 shell instead of another.
- "sh" can be added to PATH manually
- The MSVC-targeting compilers could be used instead of the MinGW ones
In general though there could be some better error messages here.
from curl-rust.
Related Issues (20)
- 16K max response size for easy::Easy.transfer.write_function()? HOT 2
- How to retrieve body only? HOT 1
- Incorrect comment for CURL_HTTP_VERSION_3 HOT 3
- curl smashes moka cache HOT 4
- Link to custom libcurl on macOS
- bundled libcurl limits cookie expiry date to the year 2038 HOT 1
- Crashes on run on macOS Sonoma 14.0 Beta (23A5312d) HOT 14
- one of your examples doesnt work HOT 3
- Library with command line arguments always returns 301 HOT 4
- Best way to use Easy2 when downloading large files and can resume download if connection fails
- Can't compile curl-sys v0.4.68+curl-8.4.0 on M1 Pro with Sonoma HOT 1
- Versioning up of this crate
- How to make OpenSSL as the TLS backend on Windows and macOS? HOT 2
- HTTP response version HOT 5
- Missing debug_function in curl::easy::Easy2
- v0.4.69 release cannot be compiled because it's missing its copy of curl HOT 2
- Adopt openssl@3 HOT 1
- more easily get access to headers in Easy2 client HOT 2
- 0.4.45: Compilation issue HOT 2
- EOF error parsing large JSON response HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from curl-rust.