Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build on Windows #58

Closed
engstad opened this issue Jan 26, 2015 · 5 comments · Fixed by #105
Closed

Can't build on Windows #58

engstad opened this issue Jan 26, 2015 · 5 comments · Fixed by #105

Comments

@engstad
Copy link

engstad commented Jan 26, 2015

   Compiling curl-sys v0.1.5
Build failed, waiting for other jobs to finish...
failed to run custom build command for `curl-sys v0.1.5`
Process didn't exit successfully: `C:\GitHub\mtg-rust\target\build\curl-sys-c3e3bf354b130c95\build-script-build.exe` (status=101)
--- stderr
thread '<main>' panicked at 'called `Option::unwrap()` on a `None` value', C:\bot\slave\nightly-dist-rustc-win-64\build\src\libcore\option.rs:361


Compilation exited abnormally with code 101 at Mon Jan 26 15:17:55
@marcusball
Copy link

I'm getting the same error on v0.1.25

failed to run custom build command for `curl-sys v0.1.25`
Process didn't exit successfully: `[Path-to-project]\target\debug\build\curl-sys-b582fd2220a1331e\build-scrip
t-build` (exit code: 101)
--- stdout
cargo:rustc-link-search=[Path-to-project]\target\debug\build\curl-sys-b582fd2220a1331e\out/lib
cargo:rustc-link-lib=static=curl
cargo:root=[Path-to-project]\target\debug\build\curl-sys-b582fd2220a1331e\out
cargo:include=[Path-to-project]\target\debug\build\curl-sys-b582fd2220a1331e\out/include
cargo:rustc-flags=-l ws2_32

--- stderr
thread '<main>' panicked at 'called `Option::unwrap()` on a `None` value', ../src/libcore\option.rs:363

@alexcrichton
Copy link
Owner

Hm, could you try running with RUST_BACKTRACE=1 and gist the error? This crate should in theory build just fine on Windows (as Cargo depends on it and uses it quite a bit), but there's often weird build environment things on Windows to deal with!

@marcusball
Copy link

After trying to investigate an unrelated issue, I realized I'm a derp and needed to actually have curl installed. I'm dumb sometimes. 😥

@alexcrichton
Copy link
Owner

Hm in theory this shouldn't require you to have curl installed locally, it should be sufficient to just have a C compiler (as this will build from source if it can't find it installed).

@alexcrichton
Copy link
Owner

I think this is the same as #71, so I'm going to close in favor of that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants