nsf / termbox

Library for writing text-based user interfaces
http://code.google.com/p/termbox
MIT License
1.97k stars 187 forks source link

Included waf has trouble with certain Python versions #39

Closed kropelka closed 10 years ago

kropelka commented 10 years ago

Included waf version has issues with Python 3.4, trying to do waf configure gives us:

Waf: Entering directory `/home/karoru/dev/termbox/build'
[ 1/11] c: src/termbox.c -> build/src/termbox.c.1.o

[...] 

[11/11] vnum: build/src/libtermbox.so -> build/src/libtermbox.so.1 build/src/libtermbox.so.1.0.0
Waf: Leaving directory `/home/karoru/dev/termbox/build'
Traceback (most recent call last):
  File "/home/karoru/dev/termbox/.waf3-1.7.9-0437e76702658aaf2ece405140bd2de8/waflib/Scripting.py", line 97, in waf_entry_point
    run_commands()
  File "/home/karoru/dev/termbox/.waf3-1.7.9-0437e76702658aaf2ece405140bd2de8/waflib/Scripting.py", line 153, in run_commands
    ctx=run_command(cmd_name)
  File "/home/karoru/dev/termbox/.waf3-1.7.9-0437e76702658aaf2ece405140bd2de8/waflib/Scripting.py", line 146, in run_command
    ctx.execute()
  File "/home/karoru/dev/termbox/.waf3-1.7.9-0437e76702658aaf2ece405140bd2de8/waflib/Scripting.py", line 351, in execute
    return execute_method(self)
  File "/home/karoru/dev/termbox/.waf3-1.7.9-0437e76702658aaf2ece405140bd2de8/waflib/Build.py", line 106, in execute
    self.execute_build()
  File "/home/karoru/dev/termbox/.waf3-1.7.9-0437e76702658aaf2ece405140bd2de8/waflib/Build.py", line 115, in execute_build
    self.compile()
  File "/home/karoru/dev/termbox/.waf3-1.7.9-0437e76702658aaf2ece405140bd2de8/waflib/Build.py", line 196, in compile
    self.store()
  File "/home/karoru/dev/termbox/.waf3-1.7.9-0437e76702658aaf2ece405140bd2de8/waflib/Utils.py", line 386, in f
    ret=fun(*k,**kw)
  File "/home/karoru/dev/termbox/.waf3-1.7.9-0437e76702658aaf2ece405140bd2de8/waflib/Build.py", line 170, in store
    cPickle.dump(data,f,-1)
_pickle.PicklingError: Can't pickle <class 'waflib.Node.Context.__init__.<locals>.node_class'>: attribute lookup Context.__init__.<locals>.node_class on waflib.Node failed

Build process on the same machine works very well using python2.