Tom Zhai,

If I remember correctly I ran into this same problem a while back and tracked 
it down to a bug in SCons.  I think Mats reported the issue to the group 
maintaining SCons.

Luckly downloading and unzipping the files is a one-time setup item. You can 
manually download and unzip the files. Once they have been downloaded and 
unzipped to the correct location SCons will no longer try and download the 
external tools and will continue with the build.

George



From: [email protected] [mailto:[email protected]] 
On Behalf Of Pramod H G
Sent: Thursday, February 28, 2019 12:20 AM
To: 'zhonghao zhai' <[email protected]>; [email protected]
Subject: Re: [dev] error when building the iotivity-1.3.1 in windows 10

Hi Tom Zhai,

Please verify if the hippomocks v5.0.zip file is downloaded in the 
extlibs/hippomocks folder.
If it has not been downloaded then unzip will fail and will cause such issues.
If download is not happening automatically or some error please download the 
zip file and place in the folder before redoing the build and the error should 
be resolved

Thanks & Regards,
Pramod H G
Granite River Labs

From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> On 
Behalf Of zhonghao zhai
Sent: Thursday, February 28, 2019 1:34 PM
To: [email protected]<mailto:[email protected]>
Subject: [dev] error when building the iotivity-1.3.1 in windows 10

Dear developers:
        I encountered following errors when I built the iotivity-1.3.1 in 
windows 10:Unpacking 
D:\experiment\code\iotivity-1.3.1/extlibs/hippomocks/v5.0.zip ...
WindowsError: [Error 5] :
  File "D:\experiment\code\iotivity-1.3.1\SConstruct", line 64:
    SConscript(build_dir + 'resource/SConscript')
  File "C:\Python27\scons-2.5.1\SCons\Script\SConscript.py", line 604:
    return method(*args, **kw)
  File "C:\Python27\scons-2.5.1\SCons\Script\SConscript.py", line 541:
    return _SConscript(self.fs, *files, **subst_kw)
  File "C:\Python27\scons-2.5.1\SCons\Script\SConscript.py", line 250:
    exec _file_ in call_stack[-1].globals
  File "D:\experiment\code\iotivity-1.3.1\resource\SConscript", line 62:
    SConscript('unit_tests.scons')
  File "C:\Python27\scons-2.5.1\SCons\Script\SConscript.py", line 604:
    return method(*args, **kw)
  File "C:\Python27\scons-2.5.1\SCons\Script\SConscript.py", line 541:
    return _SConscript(self.fs, *files, **subst_kw)
  File "C:\Python27\scons-2.5.1\SCons\Script\SConscript.py", line 250:
    exec _file_ in call_stack[-1].globals
  File "D:\experiment\code\iotivity-1.3.1\resource\unit_tests.scons", line 48:
    SConscript('#extlibs/hippomocks/SConscript')
  File "C:\Python27\scons-2.5.1\SCons\Script\SConscript.py", line 604:
    return method(*args, **kw)
  File "C:\Python27\scons-2.5.1\SCons\Script\SConscript.py", line 541:
    return _SConscript(self.fs, *files, **subst_kw)
  File "C:\Python27\scons-2.5.1\SCons\Script\SConscript.py", line 250:
    exec _file_ in call_stack[-1].globals
  File "D:\experiment\code\iotivity-1.3.1\extlibs\hippomocks\SConscript", line 
50:
    os.rename(hippomocks_src_dir, hippomocks_dest_dir)
And how can I solve these problems? Can anyone help me?
                                                                                
                      Tom zhai


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10198): 
https://lists.iotivity.org/g/iotivity-dev/message/10198
Mute This Topic: https://lists.iotivity.org/mt/30161499/21656
Group Owner: [email protected]
Unsubscribe: https://lists.iotivity.org/g/iotivity-dev/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to