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

Port to Node.JS 4.x #253

Closed
tb01923 opened this issue Sep 22, 2015 · 10 comments
Closed

Port to Node.JS 4.x #253

tb01923 opened this issue Sep 22, 2015 · 10 comments

Comments

@tb01923
Copy link
Contributor

tb01923 commented Sep 22, 2015

Noted here, this package is currently failing to build under Node.JS 4.x.

The upstream issue to track: nodejs/node#2798

It looks as though this is (at minimum) based on [email protected] being included in the package.json. [email protected] does compile correctly on Node.JS 4.x.

@daveroberts
Copy link

+1

@giorgosera
Copy link

Affected by this too +1

@OndroNR
Copy link

OndroNR commented Oct 15, 2015

+1

@kadishmal
Copy link
Contributor

So, can this issue be considered resolved as the PR has been merged?

@ghughal
Copy link

ghughal commented Nov 6, 2015

Is this issue closed? I tried with 0.2.29 and still getting error.

@dmtrs
Copy link

dmtrs commented Nov 9, 2015

@ghughal could you share the errors you are getting?

@ghughal
Copy link

ghughal commented Nov 9, 2015

Here's the error I'm getting. There are bunch of C/C++ error before this. I'm building this on SUSE Linux Enterprise Server 11 (x86_64)

make: *** [Release/obj.target/binding/src/binding.o] Error 1
make: Leaving directory `/home/virtual/myapp/node_modules/kafka-node/node_modules/snappy/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/opt/node-v4.2.2-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 3.0.101-0.47.55-default
gyp ERR! command "/opt/node-v4.2.2-linux-x64/bin/node" "/opt/node-v4.2.2-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/virtual/myapp/node_modules/kafka-node/node_modules/snappy
gyp ERR! node -v v4.2.2
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm ERR! Linux 3.0.101-0.47.55-default
npm ERR! argv "/opt/node-v4.2.2-linux-x64/bin/node" "/opt/node/bin/npm" "install"
npm ERR! node v4.2.2
npm ERR! npm  v2.14.7
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the snappy package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls snappy
npm ERR! There is likely additional logging output above.

@dmtrs
Copy link

dmtrs commented Nov 11, 2015

@ghughal please share gcc version you have on the machine, if not latest update and give it a try.

@kadishmal
Copy link
Contributor

Right. I have failed once but after upgrading to g++ 4.8, the compilation was successful. I haven't particularly tried kafka-node but node-hashes. I suppose he reason should be the same.

On Nov 11, 2015, at 10:22 AM, Dimitrios Mengidis [email protected] wrote:

@ghughal please share gcc version you have on the machine, if not latest update and give it a try.


Reply to this email directly or view it on GitHub.

@hyperlink
Copy link
Collaborator

We're been using this in a 4.x environment w/o issues.

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

No branches or pull requests

8 participants