Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

Readme instructions for building on macOS still don't work #303

Closed
ismailmustafa opened this issue Aug 20, 2017 · 6 comments · Fixed by #318
Closed

Readme instructions for building on macOS still don't work #303

ismailmustafa opened this issue Aug 20, 2017 · 6 comments · Fixed by #318
Milestone

Comments

@ismailmustafa
Copy link
Contributor

This is the error I get:

While building package haskell-lsp-0.1.0.0 using:
      /Users/ismailmustafa/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-osx/Cabal-1.24.2.0 build lib:haskell-lsp exe:lsp-hello --ghc-options " -ddump-hi -ddump-to-file"
    Process exited with code: ExitFailure 1
    Logs have been written to: /Users/ismailmustafa/Desktop/projects/haskell-ide-engine/.stack-work/logs/haskell-lsp-0.1.0.0.log

    Configuring haskell-lsp-0.1.0.0...
    Preprocessing library haskell-lsp-0.1.0.0...
    [ 1 of 10] Compiling Language.Haskell.LSP.TH.Constants ( src/Language/Haskell/LSP/TH/Constants.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Language/Haskell/LSP/TH/Constants.o )
    [ 2 of 10] Compiling Language.Haskell.LSP.TH.ClientCapabilities ( src/Language/Haskell/LSP/TH/ClientCapabilities.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Language/Haskell/LSP/TH/ClientCapabilities.o )
    <command line>: can't load .so/.DLL for: /Users/ismailmustafa/.stack/snapshots/x86_64-osx/nightly-2017-06-16/8.0.2/lib/x86_64-osx-ghc-8.0.2/libHStext-icu-0.7.0.1-EllpGYmNw3bJ3FIJMPisuJ-ghc8.0.2.dylib (dlopen(/Users/ismailmustafa/.stack/snapshots/x86_64-osx/nightly-2017-06-16/8.0.2/lib/x86_64-osx-ghc-8.0.2/libHStext-icu-0.7.0.1-EllpGYmNw3bJ3FIJMPisuJ-ghc8.0.2.dylib, 5): Library not loaded: /usr/local/opt/icu4c/lib/libicuuc.58.dylib
      Referenced from: /Users/ismailmustafa/.stack/snapshots/x86_64-osx/nightly-2017-06-16/8.0.2/lib/x86_64-osx-ghc-8.0.2/libHStext-icu-0.7.0.1-EllpGYmNw3bJ3FIJMPisuJ-ghc8.0.2.dylib
      Reason: image not found)
@wz1000
Copy link
Collaborator

wz1000 commented Aug 20, 2017

I think the text-icu tracker would be a better place to report this issue, and you would be able to get more help there.

@ismailmustafa
Copy link
Contributor Author

@wz1000 I was about to post an issue on the text-icu tracker however I thought I would try building it first. I was successfully able to build it so I'm not convinced it's an issue with text-icu.

@xgrommx
Copy link

xgrommx commented Aug 23, 2017

@ismailmustafa Small but maybe not good solution, some problem with icu4c

cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core
git checkout e1b518a22 Formula/icu4c.rb
brew reinstall icu4c

@ismailmustafa
Copy link
Contributor Author

@xgrommx Solution is not ideal but it works!!! Thank you.

@ethercrow
Copy link

brew switch icu4c 58.2
brew pin icu4c

is as unsatisfactory, but doesn't involve picking homebrew's guts.

@ethercrow
Copy link

I removed text-icu dependency from yi-rope, so this should work now.

emhoracek added a commit to emhoracek/smooch that referenced this issue Jun 7, 2018
@alanz alanz added this to the prehistory milestone Feb 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants