Open nightpool opened 6 years ago
Any news on this? I'm running into the same issue.
Running into a similar issue here on Gentoo as well. --with-cxxflags=-std=c++11 fixed the install.
Same problem for me on macOS 10.13.6, trying to install charlock_holmes 0.7.6 with icu4c 62.1 (installed via homebrew). --with-cxxflags=-std=c++11
fixed it.
Using the instructions in the readme (
brew install icu4c && bundle config build.charlock_holmes --with-icu-dir=/usr/local/opt/icu4c
), I still get this error related to C++11 extensions:I was able to fix this by using
gem install charlock_holmes -v 0.7.6 -- --with-cxxflags=-std=c++11
but that's very inconvenient to do every time and pretty hard to figure out if you're not familiar with how native extension building works.Please fix both this and the icu4c problem (if you're recommending people use homebrew to install icu4c then why not make /usr/local/opt/icu4c the default on osx?)