Skip to content

Instantly share code, notes, and snippets.

@jfhbrook
Created July 11, 2012 22:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jfhbrook/61d3ef615df8de263334 to your computer and use it in GitHub Desktop.
Save jfhbrook/61d3ef615df8de263334 to your computer and use it in GitHub Desktop.
Having issues with compile flags on nodejitsu?

Having issues with compile steps on nodejitsu?

You may have to set some environment flags manually in order to properly compile your code on SmartOS right now. The easiest way is to add this fragment to your project'spackage.json:

  "env": {
    "CXX": "/opt/local/bin/g++ -m64",
    "CPPFLAGS": "-I/opt/local/include",
    "LD_OPTIONS": "-L/opt/local/lib -lsocket -lnsl",
    "PYTHON": "/opt/local/bin/python2.7"
  },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment