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

Unable to build when installing cargo-update on macOS 10.13 #257

Closed
oceanlewis opened this issue Oct 1, 2017 · 1 comment
Closed

Unable to build when installing cargo-update on macOS 10.13 #257

oceanlewis opened this issue Oct 1, 2017 · 1 comment

Comments

@oceanlewis
Copy link

Having issues building git2-rs when installing cargo-update. I've tried setting CMAKE_PREFIX_PATH so cmake can find openssl's headers. Here's a log to see where exactly this fails building.

log.txt

related issue filed at cargo-update

I do have openssl and libssh2 installed with Homebrew on my machine, so unless there's a variable I need to explicitly set now - I'm at a loss.

Thanks.

@djc
Copy link

djc commented Oct 2, 2017

I was debugging this issue with @alexcrichton. For now, you could work around this with PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig when running a cargo command.

bors referenced this issue in rust-lang/cargo Oct 4, 2017
Update dependencies (unbreak macOS 10.13 with libgit2-sys-0.6.16)

It would be nice to pull in the fix for https://github.com/alexcrichton/git2-rs/issues/257.
mcgoo pushed a commit to mcgoo/git2-rs that referenced this issue Dec 5, 2017
Depend on openssl-sys even on OSX because libssh2 uses it and libgit2
will probe for pkg-config dependencies of libssh2

Closes rust-lang#257
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