Skip to content
This repository has been archived by the owner on Oct 9, 2019. It is now read-only.

Build fails at node-icu-charset-detector #38

Open
DavidCWGA opened this issue Nov 20, 2015 · 6 comments
Open

Build fails at node-icu-charset-detector #38

DavidCWGA opened this issue Nov 20, 2015 · 6 comments
Milestone

Comments

@DavidCWGA
Copy link

node-icu-charset-detector.target.mk:88: recipe for target 'Release/obj.target/node-icu-charset-detector/node-icu-charset-detector.o' failed
make: *** [Release/obj.target/node-icu-charset-detector/node-icu-charset-detector.o] Error 1
make: Leaving directory '/usr/lib/node_modules/teleirc/node_modules/node-icu-charset-detector/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/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 4.1.5-x86_64-linode61
gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/teleirc/node_modules/node-icu-charset-detector
gyp ERR! node -v v5.1.0
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok 

Attempting to build on Debian Jessie with node installed from the node repository.

@DavidCWGA
Copy link
Author

Building from git works fine, however.

@FruitieX
Copy link
Owner

That's weird, it builds here... I'll have to test on Debian, thanks for reporting.

@martinie
Copy link

You'll sort it with:
apt-get install libicu-dev

I had the same issue on wheezy, figured out that was what was causing it.

@DavidCWGA
Copy link
Author

apt-get install libicu-dev

Actually I'd already done that. Before I did, I got a different error about a missing file. (Which I didn't save. Sorry.)

@martinie
Copy link

From what I remember I had to do a npm install -g node-gyp-install (it was 5am, I was half asleep) before I used apt-get install libicu-dev

@FruitieX FruitieX added this to the 0.5.0 milestone Nov 24, 2015
@FruitieX
Copy link
Owner

FruitieX commented Apr 3, 2016

I think this is fixed now in latest master, as the node-irc module has been updated. IIRC they are using a newer version of node-icu-charset-detector which hopefully works around this problem.

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

No branches or pull requests

3 participants