I can't help you with your problem but I will say that maybe you should be moving to node-gyp since it is the replacement for node-waf? At least according to TTN it is :)
https://github.com/TooTallNate/node-gyp " node-gyp is a cross-platform command-line tool written in Node.js for compiling native addon modules for Node.js, which takes away the pain of dealing with the various differences in build platforms. It is the replacement to the node-waf program which is removed for node v0.8. If you have a native addon for node that still has a wscript file, then you should definitely add a bindings.gyp file to support the latest versions of node." I've actually had better experiences getting things to build with GYP than WAF - Jeremy On Fri, Mar 2, 2012 at 7:10 AM, Thierry Templier <[email protected]> wrote: > Hello, > > I recently updated Node to version 0.6.11 and I have now problems when > trying to use node-waf to compile a native addon. > > Here is the error I have: > > Traceback (most recent call last): > File "/usr/local/bin/node-waf", line 16, in <module> > Scripting.prepare(t, os.getcwd(), VERSION, wafdir) > File "/usr/local/bin/../lib/node/**wafadmin/Scripting.py", line 145, in > prepare > prepare_impl(t, cwd, ver, wafdir) > File "/usr/local/bin/../lib/node/**wafadmin/Scripting.py", line 135, in > prepare_impl > main() > File "/usr/local/bin/../lib/node/**wafadmin/Scripting.py", line 188, in > main > fun(ctx) > File "/usr/local/bin/../lib/node/**wafadmin/Scripting.py", line 386, in > build > return build_impl(bld) > File "/usr/local/bin/../lib/node/**wafadmin/Scripting.py", line 399, in > build_impl > bld.add_subdirs([os.path.**split(Utils.g_module.root_**path)[0]]) > File "/usr/local/bin/../lib/node/**wafadmin/Build.py", line 981, in > add_subdirs > self.recurse(dirs, 'build') > File "/usr/local/bin/../lib/node/**wafadmin/Utils.py", line 634, in > recurse > f(self) > File "/home/templth/work/projects/**node.js/manning/node.js-in-** > practice/source-code/addons/**technique4/wscript", line 11, in build > t = ctx.new_task_gen('cxx', 'shlib', 'node_addon') > File "/usr/local/bin/../lib/node/**wafadmin/Build.py", line 335, in > new_task_gen > ret = cls(*k, **kw) > File "/usr/local/bin/../lib/node/**wafadmin/Tools/ccroot.py", line 162, > in __init__ > TaskGen.task_gen.__init__(**self, *k, **kw) > File "/usr/local/bin/../lib/node/**wafadmin/TaskGen.py", line 118, in > __init__ > self.env = self.bld.env.copy() > AttributeError: 'NoneType' object has no attribute 'copy' > > Thanks very muc for your help! > Thierry > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: https://github.com/joyent/**node/wiki/Mailing-List-** > Posting-Guidelines<https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines> > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > nodejs+unsubscribe@**googlegroups.com<nodejs%[email protected]> > For more options, visit this group at > http://groups.google.com/**group/nodejs?hl=en?hl=en<http://groups.google.com/group/nodejs?hl=en?hl=en> > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
