编译libjingle错误,hammer.sh

时间:2012-05-29 16:06:21

标签: swt scons libjingle

  

可能重复:
  problem compiling libjingle

刚尝试安装libjingle-0.6.14,我在尝试从swtoolkit运行hammer.sh脚本时遇到此错误,我正在使用python 2.7.2,任何人都可以帮助我吗?

root@den-pc:~/tejesh/libjingle-0.6.14/talk# sh ../../swtoolkit/hammer.sh 

*** Error loading site_init file './../../swtoolkit/site_scons/site_init.py':
AttributeError: 'Dir' object has no attribute 'endswith':
File "/usr/lib/python2.7/dist-packages/SCons/Script/Main.py", line 1342:
_exec_main(parser, values)
File "/usr/lib/python2.7/dist-packages/SCons/Script/Main.py", line 1306:
_main(parser)
File "/usr/lib/python2.7/dist-packages/SCons/Script/Main.py", line 933:
_load_site_scons_dir(d.path, options.site_dir)
File "/usr/lib/python2.7/dist-packages/SCons/Script/Main.py", line 723:
exec fp in site_m
File "./../../swtoolkit/site_scons/site_init.py", line 455:
SiteInitMain()
File "./../../swtoolkit/site_scons/site_init.py", line 451:
SCons.Node.FS.get_default_fs().SConstruct_dir, None)
File "/usr/lib/python2.7/dist-packages/SCons/Script/Main.py", line 681:
site_dir = os.path.join(topdir, site_dir_name)
File "/usr/lib/python2.7/posixpath.py", line 68:
elif path == '' or path.endswith('/'):
root@den-pc:~/tejesh/libjingle-0.6.14/talk# 

0 个答案:

没有答案