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

Fails to build on OSX #565

Open
samgiles opened this issue Nov 30, 2016 · 1 comment
Open

Fails to build on OSX #565

samgiles opened this issue Nov 30, 2016 · 1 comment
Assignees

Comments

@samgiles
Copy link
Contributor

STR:

brew install libev
brew install openssl
git clone git@github.com:fxbox/foxbox.git && cd foxbox
cargo build
checking openssl/ssl.h usability... no
checking openssl/ssl.h presence... no
checking for openssl/ssl.h... no
checking Enabled libev.... checking for libev support... checking for x86_64-apple-darwin-pkg-config... no
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBEV... no
checking ev.h usability... no
checking ev.h presence... no
checking for ev.h... no

--- stderr
configure: WARNING: Failed to find openssl/ssl.h so OpenSSL will not be used.
	If it is installed you can try the --with-openssl=DIR argument
configure: error: libev not found
thread 'main' panicked at 'Failed to run libpagekite/configure', /Users/sam/.cargo/git/checkouts/pagekite-rs-22b083423686e593/5a260ae903ff5d4192aefb6fab8c894a447bfd00/build.rs:61
note: Run with `RUST_BACKTRACE=1` for a backtrace.
@samgiles samgiles self-assigned this Nov 30, 2016
@samgiles
Copy link
Contributor Author

This is fixed upstream using: fabricedesre/pagekite-rs#1

For some reason, despite ld -v -help indicating that /usr/local/lib is in fact a library search path, it was still necessary to explicitly use export LIBRARY_PATH=/usr/local/lib. Which is annoying.

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

1 participant