Skip to content

Unable to install on Mavericks 10.9 #47

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

Closed
michaeldauria opened this issue Jan 13, 2014 · 9 comments
Closed

Unable to install on Mavericks 10.9 #47

michaeldauria opened this issue Jan 13, 2014 · 9 comments

Comments

@michaeldauria
Copy link

I am unable to install the older icu4c as recommended by the README and this module will not install with icu4u 52.1, is there a workaround for this?

  CXX(target) Release/obj.target/node_stringprep/node-stringprep.o
../node-stringprep.cc:2:10: fatal error: 'unicode/unistr.h' file not found
#include <unicode/unistr.h>
         ^
1 error generated.
make: *** [Release/obj.target/node_stringprep/node-stringprep.o] Error 1
@chris-rock
Copy link
Contributor

You do not meet the precondition. Please try:

brew install icu4c
ln -s /usr/local/Cellar/icu4c/<VERSION>/bin/icu-config /usr/local/bin/icu-config
ln -s /usr/local/Cellar/icu4c/<VERSION>/include/* /usr/local/include

After the proper installation, the unicode files are there and can be used with node-stringprep. @lloydwatkin is also working on a fallback solution. But be aware, this mean it work, but unicode string conversion is not as safe as before.

@chris-rock
Copy link
Contributor

@lloydwatkin and @dodo is it possible to include the unicode files from icu in our project and compile them with node-stringprep this would eliminate the external dependencies.

@chris-rock
Copy link
Contributor

#37

@michaeldauria
Copy link
Author

I used brew link icu4c --force but that didn't do the trick, the above does. Also, for you Boxen folks out there:

$ sudo ln -s /opt/boxen/homebrew/Cellar/icu4c/52.1/bin/icu-config /usr/local/bin/icu-config
$ sudo ln -s /opt/boxen/homebrew/Cellar/icu4c/52.1/include/* /usr/local/include

@chris-rock
Copy link
Contributor

+1 thanks for the solution with boxen.

@lloydwatkin
Copy link
Contributor

Thanks for boxen instructions, have added to wiki.

@dodo
Copy link
Contributor

dodo commented Jan 14, 2014

@lloydwatkin in which wiki did you put the instructions? it seems i'm to dumb to find a link :P

@lloydwatkin
Copy link
Contributor

Too much wiki editing yesterday! Readme.md, might be under node-stringprep-icu

@dodo
Copy link
Contributor

dodo commented Jan 14, 2014

yep, thx … found it.

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

No branches or pull requests

4 participants