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

Build Errors #7

Closed
JedWatson opened this issue Jul 31, 2015 · 3 comments
Closed

Build Errors #7

JedWatson opened this issue Jul 31, 2015 · 3 comments

Comments

@JedWatson
Copy link

Hi @lovell,

I'm seeing build errors with the latest version of limax and its dependencies, and was hoping you could help me get them resolved.

The errors seem to be in nodejieba, which is a dependency of the pinyin package implemented in cdb8d59

Full debug output:

> nodejieba@1.0.3 install /Users/Jed/Development/packages/keystone/node_modules/keystone-utils/node_modules/limax/node_modules/pinyin/node_modules/nodejieba
> node-gyp rebuild

  CXX(target) Release/obj.target/nodejieba/lib/index.o
In file included from ../lib/index.cpp:1:
In file included from ../lib/nodejieba.h:4:
../lib/utils.h:17:11: error: use of undeclared identifier 'NanIntern'
  array = NanIntern::Factory<v8::Array>::New(ov.size());
          ^
../lib/utils.h:17:39: error: expected '(' for function-style cast or type construction
  array = NanIntern::Factory<v8::Array>::New(ov.size());
                             ~~~~~~~~~^
../lib/utils.h:17:42: error: no member named 'New' in the global namespace
  array = NanIntern::Factory<v8::Array>::New(ov.size());
                                       ~~^
../lib/utils.h:19:21: error: use of undeclared identifier 'NanIntern'
      array->Set(i, NanIntern::Factory<v8::String>::New(ov[i].c_str()));
                    ^
../lib/utils.h:19:50: error: expected '(' for function-style cast or type construction
      array->Set(i, NanIntern::Factory<v8::String>::New(ov[i].c_str()));
                                       ~~~~~~~~~~^
../lib/utils.h:19:53: error: no member named 'New' in the global namespace
      array->Set(i, NanIntern::Factory<v8::String>::New(ov[i].c_str()));
                                                  ~~^
../lib/utils.h:24:11: error: use of undeclared identifier 'NanIntern'
  array = NanIntern::Factory<v8::Array>::New(ov.size());
          ^
../lib/utils.h:24:39: error: expected '(' for function-style cast or type construction
  array = NanIntern::Factory<v8::Array>::New(ov.size());
                             ~~~~~~~~~^
../lib/utils.h:24:42: error: no member named 'New' in the global namespace
  array = NanIntern::Factory<v8::Array>::New(ov.size());
                                       ~~^
../lib/utils.h:30:19: error: use of undeclared identifier 'NanIntern'
    array->Set(i, NanIntern::Factory<v8::String>::New(ss.str().c_str()));
                  ^
../lib/utils.h:30:48: error: expected '(' for function-style cast or type construction
    array->Set(i, NanIntern::Factory<v8::String>::New(ss.str().c_str()));
                                     ~~~~~~~~~~^
../lib/utils.h:30:51: error: no member named 'New' in the global namespace
    array->Set(i, NanIntern::Factory<v8::String>::New(ss.str().c_str()));
                                                ~~^
../lib/utils.h:35:11: error: use of undeclared identifier 'NanIntern'
  array = NanIntern::Factory<v8::Array>::New(ov.size());
          ^
../lib/utils.h:35:39: error: expected '(' for function-style cast or type construction
  array = NanIntern::Factory<v8::Array>::New(ov.size());
                             ~~~~~~~~~^
../lib/utils.h:35:42: error: no member named 'New' in the global namespace
  array = NanIntern::Factory<v8::Array>::New(ov.size());
                                       ~~^
../lib/utils.h:41:19: error: use of undeclared identifier 'NanIntern'
    array->Set(i, NanIntern::Factory<v8::String>::New(ss.str().c_str()));
                  ^
../lib/utils.h:41:48: error: expected '(' for function-style cast or type construction
    array->Set(i, NanIntern::Factory<v8::String>::New(ss.str().c_str()));
                                     ~~~~~~~~~~^
../lib/utils.h:41:51: error: no member named 'New' in the global namespace
    array->Set(i, NanIntern::Factory<v8::String>::New(ss.str().c_str()));
                                                ~~^
18 errors generated.
make: *** [Release/obj.target/nodejieba/lib/index.o] Error 1
@lovell
Copy link
Owner

lovell commented Jul 31, 2015

Thanks Jed, looks like pinyin needs to be updated to use a more recent version of nodejieba to pick up a more recent version of nan. Leave it with me.

🐢
🐢
🐢

@mark-bradshaw
Copy link

Pinyin is updated as of now. This issue is fixed.

@lovell
Copy link
Owner

lovell commented Aug 1, 2015

Thanks @mark-bradshaw!

@lovell lovell closed this as completed Aug 1, 2015
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

3 participants