nodetcl icon indicating copy to clipboard operation
nodetcl copied to clipboard

Update to work with node-gyp and latest node.js?

Open qumsieh opened this issue 10 years ago • 3 comments

I would love to use this module in one of my apps, but I can't get it to compile with latest node.js on Mac OS X Mavericks.

I attempted to convert from node-waf to node-gyp (don't have node-waf installed) and I get this error:

gyp verb cli [ 'node', '/usr/local/bin/node-gyp', '-v', 'build' ]
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp verb command build []
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir /Users/aqumsieh/.node-gyp/0.10.13
gyp verb `which` succeeded for `make` /usr/bin/make
gyp info spawn make
gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
  g++ '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/Users/aqumsieh/.node-gyp/0.10.13/src -I/Users/aqumsieh/.node-gyp/0.10.13/deps/uv/include -I/Users/aqumsieh/.node-gyp/0.10.13/deps/v8/include  -Os -gdwarf-2 -mmacosx-version-min=10.5 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -fno-rtti -fno-exceptions -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/nodetcl/src/nodetcl.o.d.raw  -c -o Release/obj.target/nodetcl/src/nodetcl.o ../src/nodetcl.cc
../src/nodetcl.cc:408:24: error: variable length array of non-POD element type 'Local<v8::Value>'
    Local<Value> jsArgv[objc - 1];
                       ^
1 error generated.
make: *** [Release/obj.target/nodetcl/src/nodetcl.o] Error 1

Any ideas?

Thanks.

qumsieh avatar Mar 10 '14 07:03 qumsieh