Embed URL


SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

node-syslog workaround for "'syslog' was not declared in this scope" bug

View gist:1632460
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
# 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
# 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
Something went wrong with that request. Please try again.