a780201 / swtoolkit

Automatically exported from code.google.com/p/swtoolkit
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

site_init fails on OSX #24

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Build libjingle on osx per the instructions in README

What is the expected output? What do you see instead?
I expect for it to work, I see:
AttributeError: 'Dir' object has no attribute 'endswith':
  File "/usr/local/lib/scons/SCons/Script/Main.py", line 1342:
    _exec_main(parser, values)
  File "/usr/local/lib/scons/SCons/Script/Main.py", line 1306:
    _main(parser)
  File "/usr/local/lib/scons/SCons/Script/Main.py", line 933:
    _load_site_scons_dir(d.path, options.site_dir)
  File "/usr/local/lib/scons/SCons/Script/Main.py", line 723:
    exec fp in site_m
  File "/Users/luke/google/swtoolkit/site_scons/site_init.py", line 455:
    SiteInitMain()
  File "/Users/luke/google/swtoolkit/site_scons/site_init.py", line 451:
    SCons.Node.FS.get_default_fs().SConstruct_dir, None)
  File "/usr/local/lib/scons/SCons/Script/Main.py", line 681:
    site_dir = os.path.join(topdir, site_dir_name)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py", line 68:
    elif path == '' or path.endswith('/'):

What version of the product are you using? On what operating system?
0.9.1

Please provide any additional information below.
diff resolves the issue

Original issue reported on code.google.com by luke.we...@gmail.com on 14 Aug 2012 at 11:25

Attachments: