-
Notifications
You must be signed in to change notification settings - Fork 33
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
Install failure on macOS #34
Comments
Hard to say. I have no experience with Stack. Does it work if you set And could you run installation with verbose flag and attach logs so I could see what happens during configuration stage. |
Yes, I added these flags: flags:
HsOpenSSL:
homebrew-openssl: true and it installs correctly.
This is the output with --verbose --cabal-verbose. Before the package is actually configured you'll see "Exception ignored when attempting to load" the HsOpenSSL package—I'm pretty certain this is just because I had to uninstall I also ran the command with just (Note: these gists are when I'm installing with neither the manually added flag or the |
A After that worked I unregistered the package and ran it again with --verbose flags in case that's helpful; https://gist.github.com/MaxGabriel/7889879980cd6525038ceeea80c76f87 That log prints: https://gist.github.com/MaxGabriel/2a7116641ef32653618136473a699636 |
When doing $stack build with dependency on openssl, I've got the same issue on OSX Sierra, @MaxGabriel 's solution worked for me as well. I was using MacPorts installed openssl / openssl @1.0.2o_1 (active),
########################## make sure to care about indentation. |
Btw, IMO it makes sense to add some kind of switching between 2 architectures: x86_64 and arm64 for M1, M2 if it can be done with some |
Hi, I'm having trouble installing
HsOpenSSL
. I'm getting the following error:However, I have run
brew install openssl
, and I can confirm that the/usr/local/opt/openssl/
and/usr/local/opt/openssl/lib
directories are present.Adding these lines to my
stack.yaml
file fixes it:However, I was under the impression that this shouldn't be necessary, because of this commit: b95cea2
OS Version: macOS High Sierra 10.13.2 (17C205) (Latest as of today)
Stack:
Version 1.6.0.20171202, Git revision 50090e67c16980bba31349f386d5b018cbcaec31 (5421 commits) x86_64 hpack-0.20.0
LTS Haskell: 9.14
Compiler: 8.0.2 (Unchanged from LTS)
OpenSSL: 1.0.2n (Latest as today)
I had a coworker try it as well, and he had the same issue (Same project as mine, and also on macOS High Sierra)
Tell me if there's anything I can do to help debug this issue!
The text was updated successfully, but these errors were encountered: