papandreou / node-cldr

node.js library for extracting data from CLDR (the Unicode Common Locale Data Repository)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Install 0.9.0 failed on Mac

gusdecool opened this issue · comments

Hi, tried to install libxmljs@0.9.0 on mac OSX mavericks is error.

Here is the message output:

npm ERR! libxmljs@0.9.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the libxmljs@0.9.0 install script.
npm ERR! This is most likely a problem with the libxmljs 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 libxmljs
npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 13.1.0
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Users/budiarsana/Developer/nodejs/Gateway/server
npm ERR! node -v v0.10.21
npm ERR! npm -v 1.3.15
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/budiarsana/Developer/nodejs/Gateway/server/npm-debug.log
npm ERR! not ok code 0

I don't own a mac, so unfortunately it's not that easy for me to look into it. On Ubuntu libxmljs requires the libxml2 package to be installed. Maybe there's an equivalent package for homebrew?

If that's not it, could you try installing libxmljs@0.8.1 or @0.8.0?

@papandreou Hi, thanks for your kind support.

I have been searching on google for solution.
My friend suggested me to update my gcc.
Let's see if it fix it.

I already install libxml2 from homebrew, but still not fix it.
Will try to install libxmljs v0.8 and let you know if it successful.

@papandreou Hi, seems the problem really from the GCC. i just update my gcc from 4.2.x to 4.8.x. and successfully install it. Took 6 hours to update gcc (.)