Failed to produce item

I have ubuntu 18.04 .
Steps so far:

  1. Cloned the unreal repository.
  2. ./Setup.sh.
  3. ./GenerateProjectFiles.sh
  4. make
    So when i ran make i get the following error on building the last file.

ERROR: UBT ERROR: Failed to produce item: /home/sladyn/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-PhysXCooking.so
(see …/Programs/UnrealBuildTool/Log.txt for full exception trace)
Total build time: 6755.12 seconds (Local executor: 0.00 seconds)
Makefile:188: recipe for target ‘UE4Editor’ failed
make: *** [UE4Editor] Error 5

More details: From the log.

ExceptionUtils.m__0: ERROR: UBT ERROR: Failed to produce item: /home/sladyn/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-PhysXCooking.so
ExceptionUtils.m__0: (see …/Programs/UnrealBuildTool/Log.txt for full exception trace)
ExceptionUtils.m__1:
ExceptionUtils.m__1: BuildException: UBT ERROR: Failed to produce item: /home/sladyn/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-PhysXCooking.so
ExceptionUtils.m__1: at UnrealBuildTool.ActionGraph.ExecuteActions (UnrealBuildTool.BuildConfiguration BuildConfiguration, System.Collections.Generic.List`1 ActionsToExecute, Boolean bIsRemoteCompile, System.String& ExecutorName, System.String TargetInfoForTelemetry, EHotReload HotReload) [0x00000] in :0
ExceptionUtils.m__1: at UnrealBuildTool.UnrealBuildTool.RunUBT (UnrealBuildTool.BuildConfiguration BuildConfiguration, System.String[] Arguments, Tools.DotNETCommon.FileReference ProjectFile, Boolean bCatchExceptions) [0x00000] in :0
ExceptionUtils.m__1: