-
Notifications
You must be signed in to change notification settings - Fork 719
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
Undocumented build dependency: PCRE #8
Comments
Thanks for the report. I'm adding a note in the README. |
Thanks -- and sorry: I hadn't seen #6 before raising the issue. |
I am on mac |
Hmm, interesting. What does |
i see the same issue. installing
this is on macOS Sierra 10.12.4 |
@schultz-texas What does |
i get the same result with actual
|
That does look reasonable, are you compiling with |
figured it out. the default |
I did brew uninstall --ignore-dependencies pcre
HOMEBREW_BUILD_FROM_SOURCE=1 brew install pcre then ran stack build and get
... clipped out share/docs/man $ gcc -lpcre
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation) |
well dang. i'll run back through my terminal history and see if there is some other intermediate step or path that caused it to work for me |
Ok, I checked on my system and I'd suggest running It may be that you'll have to reinstall |
yeah, it's strange. seems to work fine on other machines for me. i can only imagine the reinstall of |
Summary: Turns out that `brew` can succeed installing `pcre`, but still not install development headers in `/usr/local/include/` if that path is not writable. `brew doctor` should find that and related problems. Relevant ticket: #8 Reviewed By: patapizza, JonCoens Differential Revision: D5031503 fbshipit-source-id: ba0b8e8
I ran
So I installed CLT by running xcode-select --install Then I upgraded gcc from 5.3.0 to 7.1.0 using brew upgrade gcc and it I was then able to compile everything |
The above worked for me as well, compiling is now OK after I installed gcc from brew. |
…g-build Updated Dockerfile to include LANG variable
While building on OS X 10.12 I received the following build error:
The error indicates the PCRE library is absent (or unable to be found). My resolution was to install PCRE with my preferred package manager:
brew install pcre
. The solution will vary depending on OS, and in some cases PCRE may already be installed.The text was updated successfully, but these errors were encountered: