Skip to content

hiredis node-gyp build doesn't work #386

Description

@RyanK1m

I think this is similar issue with bcrypt, but npm install hiredis doesn't work on iojs 1.0.1

List of errors

  • no type named 'ExternalAsciiStringResource' in 'v8::String'; did you mean 'ExternalStringResource'?
  • redefinition of 'NanNew'
  • no member named 'IsExternalAscii' in 'v8::String'; did you mean 'IsExternal'?
  • no member named 'GetExternalAsciiStringResource' in 'v8::String'; did you mean 'GetExternalOneByteStringResource'?
  • assigning to 'const v8::String::ExternalStringResource *' from incompatible type 'const v8::String::ExternalOneByteStringResource *'
  • assigning to 'const char *' from incompatible type 'const uint16_t *' (aka 'const unsigned short *')

Cheers!

Activity

  1. ckaatz-here commented on Jan 14, 2015

    @ckaatz-here

    seen the same today with zmq

    hild_process: customFds option is deprecated, use stdio instead.
    make: Entering directory /usr/lib/node_modules/zmq/build' CXX(target) Release/obj.target/zmq/binding.o In file included from ../binding.cc:36: ../node_modules/nan/nan.h:481: error: ‘NanNew’ declared as an ‘inline’ variable ../node_modules/nan/nan.h:481: warning: ‘always_inline’ attribute ignored ../node_modules/nan/nan.h:481: error: ‘v8::Local<v8::String> NanNew’ redeclared as different kind of symbol ../node_modules/nan/nan.h:475: error: previous declaration of ‘v8::Local<v8::String> NanNew(v8::String::ExternalStringResource*)’ ../node_modules/nan/nan.h:481: error: ‘ExternalAsciiStringResource’ is not a member of ‘v8::String’ ../node_modules/nan/nan.h:481: error: ‘resource’ was not declared in this scope ../node_modules/nan/nan.h: In function ‘bool _NanGetExternalParts(v8::Handle<v8::Value>, const char**, size_t*)’: ../node_modules/nan/nan.h:2103: error: ‘class v8::String’ has no member named ‘IsExternalAscii’ ../node_modules/nan/nan.h:2104: error: expected initializer before ‘*’ token ../node_modules/nan/nan.h:2105: error: ‘ext’ was not declared in this scope ../node_modules/nan/nan.h:2105: error: ‘class v8::String’ has no member named ‘GetExternalAsciiStringResource’ make: *** [Release/obj.target/zmq/binding.o] Error 1 make: Leaving directory/usr/lib/node_modules/zmq/build'

  2. bnoordhuis commented on Jan 14, 2015

    @bnoordhuis
    Member

    This has been fixed in nan, a new (1.6) release will be made later today. After that, it's up to module authors to update nan and publish a new version.

    Closing, not an io.js issue per se. If I have time tonight, I'll send around some PRs to update the most popular projects. (Don't let that anyone stop from doing the same.)

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