Installation fails
samuelbodin opened this issue · 2 comments
samuelbodin commented
Trying to install following these instructions https://stackoverflow.com/a/27335584/3067688
Receiving the following build error:
> cargo build
Compiling pkg-config v0.3.11
Compiling rand_core v0.2.1
Compiling libc v0.2.42
Compiling gcc v0.3.54
Compiling rand v0.5.4
Compiling ncurses v5.93.0
error[E0308]: mismatched types
--> /home/samuel/.cargo/registry/src/github.com-1ecc6299db9ec823/ncurses-5.93.0/build.rs:80:12
|
80 | if let Some(lib) = ncurses_lib {
| ^^^^^^ expected reference, found enum `std::option::Option`
|
= note: expected type `&std::option::Option<pkg_config::Library>` found type `std::option::Option<_>`
error: aborting due to previous error
error: Could not compile `ncurses`.
warning: build failed, waiting for other jobs to finish...
error: build failed
Any ideas?
AlexArgoAi commented
Looks similar to #161
What is your rust version? Can you try updating?
samuelbodin commented
cargo 1.27.0 (1e95190e5 2018-05-27)
rustc 1.27.1 (5f2b325f6 2018-07-07)
rustup 1.12.0 (573895abc 2018-07-07)