[ndnSIM] error when installing ChronoChat

Junxiao Shi shijunxiao at email.arizona.edu
Mon May 28 08:00:52 PDT 2018


Hi Enguang

Two possibilities:
* Your account cannot write to the path. Fix it with: "sudo chown -R
johnsonfan:johnsonfan ." (For future readers: replace "johnsonfan" with
your user name and group name.
* Somehow the build folder is owned by root, because you mistakenly
prepended "sudo" in front of "./waf" previously. Fix it with: "sudo ./waf
distclean". To avoid same problem: on Linux, "sudo" is needed on "sudo
./waf install" only, and run "sudo ./waf install" only after "./waf"; on
macOS, "sudo" is never needed in front of any waf commands.

Yours, Junxiao

On Mon, May 28, 2018, 10:50 Enguang Fan <johnsonfan1999 at gmail.com> wrote:

>
> Hi, I have some difficulty installing the ChronoChat
>
>
>
> When I run ./waf configure
>
>
> There are some errors,how can I solve it?
>
> Traceback (most recent call last):
>   File
> "/home/johnsonfan/ChronoChat/ChronoSync/.waf-2.0.6-593191f496fe8c66231dfd5df26167ae/waflib/Scripting.py",
> line 118, in waf_entry_point
>     run_commands()
>   File
> "/home/johnsonfan/ChronoChat/ChronoSync/.waf-2.0.6-593191f496fe8c66231dfd5df26167ae/waflib/Scripting.py",
> line 178, in run_commands
>     ctx=run_command(cmd_name)
>   File
> "/home/johnsonfan/ChronoChat/ChronoSync/.waf-2.0.6-593191f496fe8c66231dfd5df26167ae/waflib/Scripting.py",
> line 169, in run_command
>     ctx.execute()
>   File
> "/home/johnsonfan/ChronoChat/ChronoSync/.waf-2.0.6-593191f496fe8c66231dfd5df26167ae/waflib/Configure.py",
> line 70, in execute
>     self.logger=Logs.make_logger(path,'cfg')
>   File
> "/home/johnsonfan/ChronoChat/ChronoSync/.waf-2.0.6-593191f496fe8c66231dfd5df26167ae/waflib/Logs.py",
> line 179, in make_logger
>     hdlr=logging.FileHandler(path,'w',encoding=encoding)
>   File "/usr/lib/python2.7/logging/__init__.py", line 913, in __init__
>     StreamHandler.__init__(self, self._open())
>   File "/usr/lib/python2.7/logging/__init__.py", line 943, in _open
>     stream = open(self.baseFilename, self.mode)
> IOError: [Errno 13] Permission denied:
> '/home/johnsonfan/ChronoChat/ChronoSync/build/config.log'
>
>
>
>
> Thank you!
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20180528/a307ee71/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 14939 bytes
Desc: not available
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20180528/a307ee71/attachment-0001.png>


More information about the ndnSIM mailing list