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

Installation fails #166

Open
samuelbodin opened this issue Jul 18, 2018 · 2 comments
Open

Installation fails #166

samuelbodin opened this issue Jul 18, 2018 · 2 comments

Comments

@samuelbodin
Copy link

samuelbodin commented Jul 18, 2018

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
Copy link

Looks similar to #161
What is your rust version? Can you try updating?

@samuelbodin
Copy link
Author

cargo 1.27.0 (1e95190e5 2018-05-27)
rustc 1.27.1 (5f2b325f6 2018-07-07)
rustup 1.12.0 (573895abc 2018-07-07)

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

No branches or pull requests

2 participants