problem compiling libjingle

前端 未结 2 1555
野的像风
野的像风 2021-02-15 20:15

I downloaded and installed libjingle-0.5.2.zip, and according to the README also downloaded and installed swtoolkit.0.9.1.zip, scons-local-2.1.0.alpha.20101125.tar.gz, and expat

2条回答
  •  野性不改
    2021-02-15 20:45

    I'm not familiar with the project, but think I have a fix to get you past that point. You need to cast those Dir instances using str() in swtoolkit/site_scons/site_init.py. That way they can safely be evaluated by path.endswith('/'). Odd that such an issue would exist for very long in the main part of the build infrastructure:

    Line 330:

    SCons.Script.Main._load_site_scons_dir(
        str(SCons.Node.FS.get_default_fs().SConstruct_dir), site_dir)
    

    Line 450:

    SCons.Script.Main._load_site_scons_dir(
        str(SCons.Node.FS.get_default_fs().SConstruct_dir), None)
    

提交回复
热议问题