libjingle compiling error

2.3k views Asked by At

When compiling libjingle, on running the 'hammer.sh' on the swtoolkit, i get the following import error,

root@den-pc:~/tejesh/libjingle-0.6.14/talk# sh ../../swtoolkit/hammer.sh
Traceback (most recent call last):
File "../../swtoolkit/wrapper.py", line 44, in <module>
import SCons.Script
ImportError: No module named SCons.Script

so how do i fix this import error... any suggestions?

i already setup the environment variables for scons (SCONS_DIR) and have all the libraries installed..

2

There are 2 answers

4
Brady On BEST ANSWER

If you have SCons correctly installed, then it sounds like a problem with python not being able to find it. In addition to the SCONS_DIR environment variable, try including the SCons location in the PYTHONPATH environment variable.

0
cz000 On

when you install scons,in the README file,you can use:

 # python setup.py install --standalone-lib

that can make scons modules into pythonpath.