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

Installing Smooch on macOS: Missing C libraries #51

Open
aklap opened this issue Nov 1, 2017 · 1 comment
Open

Installing Smooch on macOS: Missing C libraries #51

aklap opened this issue Nov 1, 2017 · 1 comment

Comments

@aklap
Copy link
Contributor

aklap commented Nov 1, 2017

Do you want to request a feature or report a bug?

Report a bug.

What is the current behavior?

When running stack build on macOS, the build exits with the error message:

* Missing C libraries: icuuc, icui18n, icudata

What is the expected behavior?

We expect that stack build should build Smooch without error.

Which browser / OS are affected by this issue? (An isolated way to reproduce the bug)

OS: macOS

This looks like a macOS and Mac OS X specific issue when trying to build a Haskell app for the first time (see here, for a similar issue with a Haskell app).

stack install text-icu --extra-lib-dirs=/usr/local/opt/icu4c/lib --extra-include-dirs=/usr/local/opt/icu4c/include resolves this. It would be helpful to include this as part of the installation instructions in the sections re: stack build command (and probably with an explanation of why this happens and what this command does that fixes the build process), maybe even think about adding a troubleshooting section in the contributing doc?

@emhoracek
Copy link
Owner

@aklap Oh interesting! I don't think I've seen those before -- but it might be that it's just been a long time since I first started using Haskell on Mac. I agree this would be really helpful information to have in the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants