On 8/1/22 11:10, Akimun Jannat Alvina wrote:
> Hi,
>
> I wanted to install nr module with ns-3-dev (ns-3.36 release). I got the
> following error while configuring:
>
> ./ns3 configure --enable-examples --enable-tests
> Traceback (most recent call last):
> File "./ns3", line 1336, in <module>
> main()
> File "./ns3", line 1241, in main
> configuration_step(current_cmake_cache_folder,
> File "./ns3", line 872, in configuration_step
> configure_cmake(cmake,
> File "./ns3", line 495, in configure_cmake
> os.makedirs(current_cmake_cache_folder, exist_ok=True)
> File "/usr/lib/python3.8/os.py", line 223, in makedirs
> mkdir(name, mode)
> PermissionError: [Errno 13] Permission denied:
> '/home/alvina/ns-3-dev/ns-3-dev/cmake-cache'
> Finished executing the following commands:
> mkdir cmake-cache
>
Check the permissions of the directory or the contents of cmake-cache;
are they possibly owned by root user?
If in doubt, run './ns3 clean' and start over, and if you do not have
permissions for that, run 'sudo ./ns3 clean'.
- Tom