erichocean / libjingle

Automatically exported from code.google.com/p/libjingle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EnvironmentError: No tool named 'component_bits': not a Zip file:

GoogleCodeExporter opened this issue · comments

I compiled the libjingle in vs2008, but it can't compiled, the error like:

1>scons: Reading SConscript files ...
1>EnvironmentError: No tool named 'component_bits': not a Zip file:


Original issue reported on code.google.com by zhouli...@gmail.com on 12 Oct 2011 at 4:06

used 
python 2.7.1
scons-2.1.0

Original comment by zhouli...@gmail.com on 12 Oct 2011 at 4:07

I have the same problem on Mac OS X Leopard:

scons -f main.scons 

scons: Reading SConscript files ...
EnvironmentError: No tool named 'component_bits': not a Zip file:
  File "/Users/gmancz/Documents/development/checkthiz!/libjingle-0.6.10/talk/main.scons", line 69:
    ENV = os.environ,
  File "/usr/local/lib/scons-2.1.0/SCons/Environment.py", line 999:
    apply_tools(self, tools, toolpath)
  File "/usr/local/lib/scons-2.1.0/SCons/Environment.py", line 105:
    env.Tool(tool)
  File "/usr/local/lib/scons-2.1.0/SCons/Environment.py", line 1782:
    tool = SCons.Tool.Tool(tool, toolpath, **kw)
  File "/usr/local/lib/scons-2.1.0/SCons/Tool/__init__.py", line 94:
    module = self._tool_module()
  File "/usr/local/lib/scons-2.1.0/SCons/Tool/__init__.py", line 154:
    raise SCons.Errors.EnvironmentError(m)


I using python 2.7.2 and scons-2.1.0.r5357


Original comment by gergelym...@gmail.com on 26 Jan 2012 at 11:54

Hello,

I am also getting the same problem after doing all the configurations:-

scons: Reading SConscript files ...
EnvironmentError: No tool named 'component_bits': not a Zip file:
  File "/users/NeuronMac2/Deep's Projects/libjingle-0.6.14/talk/main.scons", line 67:
    ENV = os.environ,
  File "/Users/NeuronMac2/Deep's Projects/libjingle-0.6.14/scons-local-2.1.0/scons-local-2.1.0/SCons/Environment.py", line 999:
    apply_tools(self, tools, toolpath)
  File "/Users/NeuronMac2/Deep's Projects/libjingle-0.6.14/scons-local-2.1.0/scons-local-2.1.0/SCons/Environment.py", line 105:
    env.Tool(tool)
  File "/Users/NeuronMac2/Deep's Projects/libjingle-0.6.14/scons-local-2.1.0/scons-local-2.1.0/SCons/Environment.py", line 1782:
    tool = SCons.Tool.Tool(tool, toolpath, **kw)
  File "/Users/NeuronMac2/Deep's Projects/libjingle-0.6.14/scons-local-2.1.0/scons-local-2.1.0/SCons/Tool/__init__.py", line 94:
    module = self._tool_module()
  File "/Users/NeuronMac2/Deep's Projects/libjingle-0.6.14/scons-local-2.1.0/scons-local-2.1.0/SCons/Tool/__init__.py", line 154:
    raise SCons.Errors.EnvironmentError(m)

Please provide a solution for the same.



Original comment by deep.kan...@neuronsoftsols.com on 16 Mar 2012 at 5:21

component_bits is part of the Software Construction Toolkit: 
http://code.google.com/p/swtoolkit/ 

Original comment by olifenol...@gmail.com on 28 Mar 2012 at 3:29

Original comment by juberti@google.com on 31 May 2013 at 8:41

  • Changed state: Invalid
This doesn't look like a part of standard toolkit. As per my understanding the 
path defined for the 'site_scons' directory is correct and the 'main.scons' is 
actually looking for the file which holds 'components_bit', it should be 
present under 'site_tools'.

This is a serious error, and there has to some resolution.

Original comment by mansab.u...@gmail.com on 1 Jul 2013 at 11:05