Skip to content

Unable to install on Mavericks 10.9 #47

Closed

Description

@michaeldauria

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

Activity

  1. chris-rock commented on Jan 13, 2014

    @chris-rock
    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.

  2. chris-rock commented on Jan 13, 2014

    @chris-rock
    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.

  3. chris-rock commented on Jan 13, 2014

    @chris-rock
    Contributor
  4. michaeldauria commented on Jan 13, 2014

    @michaeldauria
    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
    
  5. chris-rock commented on Jan 13, 2014

    @chris-rock
    Contributor

    +1 thanks for the solution with boxen.

  6. lloydwatkin commented on Jan 13, 2014

    @lloydwatkin
    Contributor

    Thanks for boxen instructions, have added to wiki.

  7. dodo commented on Jan 14, 2014

    @dodo
    Contributor

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

  8. lloydwatkin commented on Jan 14, 2014

    @lloydwatkin
    Contributor

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

  9. dodo commented on Jan 14, 2014

    @dodo
    Contributor

    yep, thx … found it.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions