Giter Site home page Giter Site logo

Won't build on OSX 10.10? about exa HOT 8 CLOSED

ogham avatar ogham commented on May 4, 2024
Won't build on OSX 10.10?

from exa.

Comments (8)

ogham avatar ogham commented on May 4, 2024

There was a problem with current_dir using the new Path library, but I'm still using the old one everywhere (and will have to for a little while longer).

from exa.

ctgreybeard avatar ctgreybeard commented on May 4, 2024

I see a similar problem with both libgit2-sys and libssh2-sys ...

from exa.

ogham avatar ogham commented on May 4, 2024

Yeah, I'm getting the following error when I try to build it:

native library `openssl` is being linked to by more than one package, and can only be linked to by one package

  openssl-sys v0.5.0
  openssl-sys v0.4.3

Unfortunately I think I just have to wait for the dependencies to be updated.

from exa.

ctgreybeard avatar ctgreybeard commented on May 4, 2024

This is what I am getting:

/Users/dad/.cargo/registry/src/github.com-1ecc6299db9ec823/libssh2-sys-0.1.8/build.rs:130:19: 130:27 error: type `&std::path::PathBuf` does not implement any method in scope named `exists`
/Users/dad/.cargo/registry/src/github.com-1ecc6299db9ec823/libssh2-sys-0.1.8/build.rs:130     }).find(|p| p.exists())
                                                                                                            ^~~~~~~~
/Users/dad/.cargo/registry/src/github.com-1ecc6299db9ec823/libssh2-sys-0.1.8/build.rs:130:27: 130:27 help: methods from traits can only be called if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
/Users/dad/.cargo/registry/src/github.com-1ecc6299db9ec823/libssh2-sys-0.1.8/build.rs:130:27: 130:27 help: candidate #1: use `std::fs::PathExt`
/Users/dad/.cargo/registry/src/github.com-1ecc6299db9ec823/libssh2-sys-0.1.8/build.rs:128:5: 130:28 error: mismatched types:
 expected `core::option::Option<std::old_path::posix::Path>`,
    found `core::option::Option<std::path::PathBuf>`
(expected struct `std::old_path::posix::Path`,
    found struct `std::path::PathBuf`) [E0308]
/Users/dad/.cargo/registry/src/github.com-1ecc6299db9ec823/libssh2-sys-0.1.8/build.rs:128     env::split_paths(&env::var("PATH").unwrap()).map(|p| {
/Users/dad/.cargo/registry/src/github.com-1ecc6299db9ec823/libssh2-sys-0.1.8/build.rs:129         p.join(&cmd)
/Users/dad/.cargo/registry/src/github.com-1ecc6299db9ec823/libssh2-sys-0.1.8/build.rs:130     }).find(|p| p.exists())
error: aborting due to 2 previous errors

But if it's coming from upstream then I'll just keep trying. That would be in the rust nightlies, right?

from exa.

ogham avatar ogham commented on May 4, 2024

Yeah, the nightlies change the language under the feet of all the libraries. cargo update should update them.

from exa.

ctgreybeard avatar ctgreybeard commented on May 4, 2024

Ah, yes. Now I'm getting the same error about openssl. I'll keep trying until they get everything sync'd up.

from exa.

ogham avatar ogham commented on May 4, 2024

Try now!

from exa.

ctgreybeard avatar ctgreybeard commented on May 4, 2024

Success! Thanks.

from exa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.