node-syslog workaround for "'syslog' was not declared in this scope" bug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# on some linuxen (and presumably macs) the real syslog.h is in sys/ | |
# node-waf doesn't like this very much | |
# first cd into your node_modules directory (created when you install npm packages) | |
cd node_modules/ | |
# clone the node-syslog source | |
git clone https://github.com/schamane/node-syslog.git | |
# cd into node-syslog | |
cd node-syslog | |
# change <syslog.h> to <sys/syslog.h> on line 8 | |
vim syslog.h | |
# build/install the package | |
node-waf configure build install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment