mooz / node-icu-charset-detector

A simple binding of ICU character set detection for Node.js
MIT License
86 stars 22 forks source link

Compilation and installation failure on Raspbian 8 #25

Open colindean opened 8 years ago

colindean commented 8 years ago

I'm attempting to install pittmesh/hubot on a Raspberry Pi running Raspbian 8. It appears to be failing when installing node-icu-charset-detector on any version.

I installed libicu-dev:

pi@nxtpi:~ $ dpkg-query -l libicu-dev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                    Version                  Architecture             Description
+++-=======================================-========================-========================-===================================================================================
ii  libicu-dev:armhf                        52.1-8+deb8u3            armhf                    Development files for International Components for Unicode

A gist of the transcript and the npm-debug.log are here:

https://gist.github.com/colindean/5607d041599804033458

The compilation errors begin here:

https://gist.github.com/colindean/5607d041599804033458#file-compilation-failure-txt-L226

I'm not sure where to begin debugging this, as my exposure to C++ is minimal and exposure to Node.js and its ecosystem is primarily in maintenance of this bot.

node-icu-charset-detector appears to be an optional dependency of hubot-irc, so I appear to be able to continue, but the bot fails later. I've not yet 100% determined if it's related to the unavailability of this dependency.

├─┬ hubot-irc@0.2.7
│ └─┬ irc@0.3.12 (git+https://github.com/nandub/node-irc.git#79b6d8161a46e0389e37ee969df6eae6c405af94)
│   ├── ansi-color@0.2.1
│   ├─┬ iconv@2.1.11
│   │ └── nan@2.0.9
│   ├─┬ irc-colors@1.2.0
│   │ └─┬ hashish@0.0.4
│   │   └── traverse@0.6.6
│   └── UNMET OPTIONAL DEPENDENCY node-icu-charset-detector@0.1.0