waf

can't install pybindgen 0.9.0 on windows

Bug #298874 reported by Ben Smith
2
Affects Status Importance Assigned to Milestone
waf
New
Undecided
Unassigned

Bug Description

Hello,

I'm unable to install on windows. It may be a problem with waf, but it's hard for me to tell. I know waf doesn't install on windows, but pybindgen doesn't try to install waf. Is there any way I can work around this?

Here's the output from waf configure

C:\Documents and Settings\Ben\Desktop\temp extracts\pybindgen-0.9.0>waf configure
Checking for program CL : ok C:\Program Files\Microsoft Visual Studio 8\VC\bin\CL.exe
Checking for program LINK : ok C:\cygwin\bin\LINK.exe
Checking for program LIB : ok C:\Program Files\Microsoft Visual Studio 8\VC\bin\LIB.exe
Checking for program MT : ok C:\Program Files\Microsoft Visual Studio 8\VC\bin\MT.exe
WARNING <msvc> Resource compiler not found. Compiling resource file is disabled
Checking for msvc : ok
Checking for program CL : ok "C:\Program Files\Microsoft Visual Studio 8\VC\bin\CL.exe"
Checking for program LINK : ok C:\cygwin\bin\LINK.exe
Checking for program LIB : ok C:\Program Files\Microsoft Visual Studio 8\VC\bin\LIB.exe
Checking for program MT : ok C:\Program Files\Microsoft Visual Studio 8\VC\bin\MT.exe
WARNING <msvc> Resource compiler not found. Compiling resource file is disabled
Checking for msvc : ok
Checking for program python : ok c:\python26\python.exe
Checking for Python version >= 2.3 : ok 2.6.0
Traceback (most recent call last):
  File "waf", line 141, in <module>
    Scripting.prepare()
  File "C:\Documents and Settings\Ben\Desktop\temp extracts\pybindgen-0.9.0\waf-1.4.2-3763fc27d246e2cda712fb7d58da995awafadmin\Scripting.py", line 207, in prepare
    main()
  File "C:\Documents and Settings\Ben\Desktop\temp extracts\pybindgen-0.9.0\waf-1.4.2-3763fc27d246e2cda712fb7d58da995awafadmin\Scripting.py", line 211, in main
    configure()
  File "C:\Documents and Settings\Ben\Desktop\temp extracts\pybindgen-0.9.0\waf-1.4.2-3763fc27d246e2cda712fb7d58da995awafadmin\Scripting.py", line 82, in configure
    conf.sub_config('')
  File "C:\Documents and Settings\Ben\Desktop\temp extracts\pybindgen-0.9.0\waf-1.4.2-3763fc27d246e2cda712fb7d58da995awafadmin\Configure.py", line 117, in sub_config
    ret=mod.configure(self)
  File "C:\Documents and Settings\Ben\Desktop\temp extracts\pybindgen-0.9.0\wscript", line 159, in configure
    conf.check_python_headers()
  File "C:\Documents and Settings\Ben\Desktop\temp extracts\pybindgen-0.9.0\waf-1.4.2-3763fc27d246e2cda712fb7d58da995awafadmin\Tools\python.py", line 166, in check_python_headers
    result=lib.run()
  File "C:\Documents and Settings\Ben\Desktop\temp extracts\pybindgen-0.9.0\waf-1.4.2-3763fc27d246e2cda712fb7d58da995awafadmin\Tools\config_c.py", line 62, in run
    ret=self.run_test()
  File "C:\Documents and Settings\Ben\Desktop\temp extracts\pybindgen-0.9.0\waf-1.4.2-3763fc27d246e2cda712fb7d58da995awafadmin\Tools\config_c.py", line 481, in run_test
    ret=int(self.conf.run_check(obj))
  File "C:\Documents and Settings\Ben\Desktop\temp extracts\pybindgen-0.9.0\waf-1.4.2-3763fc27d246e2cda712fb7d58da995awafadmin\Tools\config_c.py", line 773, in run_check
    o=bld.create_obj(tp,obj.build_type)
  File "C:\Documents and Settings\Ben\Desktop\temp extracts\pybindgen-0.9.0\waf-1.4.2-3763fc27d246e2cda712fb7d58da995awafadmin\Build.py", line 177, in create_obj
    except KeyError:raise KeyError('%s is not a valid build tool -> %s'%(cls_name,[x for x in Object
.task_gen.classes]))
KeyError: "cc is not a valid build tool -> ['py', 'command-output', 'cmd', 'CommandOutput', 'subst', 'copy']"

C:\Documents and Settings\Ben\Desktop\temp extracts\pybindgen-0.9.0>

description: updated
Revision history for this message
Gustavo Carneiro (gjc) wrote :

I think this is a waf problem, not pybindgen.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.