You can clone with
HTTPS or Subversion.
title says it all: i installed gd2 with macports and am now trying to install node-gd with NPM - but it fails because it can't find the gd files in /usr/local/* (macports installs everything into /opt/local/*).
is there any way i can change /usr/local/ to /opt/local to get the installation to complete?
Just ran in to this same issue. The fix is to run export CPPFLAGS='-I/opt/local/include' LDFLAGS='-L/opt/local/lib' LDLIBS='-lgd' right before running node-waf configure build. I didn't try it, but, I believe this would work if you ran npm install node-gd too.
export CPPFLAGS='-I/opt/local/include' LDFLAGS='-L/opt/local/lib' LDLIBS='-lgd'
node-waf configure build
npm install node-gd
see also: kaiwaldron@0abdf13
I am using homebrew and I did :
$ brew install gd
after that npm install gd was working.
thank you will add to README