Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install fails on gif package (workaround) #5

Open
mlilley opened this issue May 28, 2013 · 0 comments
Open

install fails on gif package (workaround) #5

mlilley opened this issue May 28, 2013 · 0 comments

Comments

@mlilley
Copy link
Contributor

mlilley commented May 28, 2013

Looks like there is a few problems with the gif package dependency at the moment (requires node 0.8, broken c++ source).

As a heads-up to get going until the gif problem is fixed, it might be worth sharing the workaround I wound up with:

  • as the readme suggests, use node 0.8 (or possibly 0.9)
  • clone the node-gif package repo
  • modify /path/to/nodegifrepo/src/gif_encoder.cpp adding "#define FALSE 0" somewhere near the top to fix the compile error.
  • manually compile: cd /path/to/nodegifrepo/ ; node-gyp configure ; node-gyp build
  • modify vnc-over-gif.js to require the compiled gif.node binary directly: require('gif') => require('./path/to/nodegifrepo/build/Release/gif.node')

(on ubuntu 12.04, node 0.8.23, vnc-over-gif 0.0.2 (with gif 2.0.2 dependency))

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

No branches or pull requests

1 participant