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

Compiling on macOS with HomeBrew #19

Open
akauppi opened this issue Jun 17, 2017 · 5 comments
Open

Compiling on macOS with HomeBrew #19

akauppi opened this issue Jun 17, 2017 · 5 comments

Comments

@akauppi
Copy link

akauppi commented Jun 17, 2017

I needed the following to get wsta to compile:

LD_LIBRARY_PATH=$(brew --prefix openssl)/lib:"${LD_LIBRARY_PATH}"
CPATH=$(brew --prefix openssl)/include:"${CPATH}"
PKG_CONFIG_PATH=$(brew --prefix openssl)/lib/pkgconfig:"${PKG_CONFIG_PATH}"
export LD_LIBRARY_PATH CPATH PKG_CONFIG_PATH

Maybe this could be mentioned in the README in a suitable manner. Unfortunately, I don't feel confident in providing an actual PR.

Source: libimobiledevice/libimobiledevice#389

@eliihen
Copy link
Owner

eliihen commented Jun 17, 2017

Hi!

Thanks for the heads up. I don't have a mac anymore, so I can't confirm or deny this. If this is indeed required to compile on MacOS, then I would merge a PR updating the README. Any help on the mac side of things is appreciated, seeing as I can't very well support development on a platform I don't have

@akauppi
Copy link
Author

akauppi commented Jun 19, 2017

Unfortunately, I can't vouch for much help right now, either. Let's see if other Mac users thumb up this find, meaning it was not only me. :)

@mgbonetti
Copy link

Hi, I cannot seem to install on Mac. I get an E0713 error.

@quentinfasquel
Copy link

Same same here @mgbonetti any luck ?

@orean
Copy link

orean commented Aug 5, 2020

Hi! help me please, i can't install wsta with homebrew :(
==> Installing esphen/wsta/wsta ==> cargo build --release Last 15 lines from /Users/orean/Library/Logs/Homebrew/wsta/01.cargo: | -- lifetime 'adefined here 245 | fn as_mut_string(&mut self) -> &mut String { &mut self.url.serialization } 246 | fn finish(self) -> &'a mut ::Url { self.url } | ^^^^^^^^ - here, drop ofselfneeds exclusive access to*self.url, because the type UrlQuery<'_>implements theDroptrait | | | returning this value requires that*self.urlis borrowed for'a`

error: aborting due to previous error

For more information about this error, try rustc --explain E0713.
error: could not compile url.

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed

If reporting this issue please do so to (not Homebrew/brew or Homebrew/core):
esphen/wsta`

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

5 participants