Unable to build Unreal Engine on ubuntu 18.04

Hello Sam, thanks for the reply.
the problem is when i try to compile the engine. i tried looking for the logs but couldnt find them.
i tried cloning and building ue5-early-access branch (on another folder) and i got the same issue.
note that UnrealHeaderTool compiles ok.

build tools: yes

Setting up binutils-dev (2.34-6ubuntu1.1) ...
Setting up libdwarf1:amd64 (20200114-1) ...
Setting up libsigsegv2:amd64 (2.12-2) ...
Setting up libelf-dev:amd64 (0.176-1.1build1) ...
Setting up libfl2:amd64 (2.6.4-6.2) ...
Setting up libdwarf-dev:amd64 (20200114-1) ...
Setting up m4 (1.4.18-4) ...
Setting up flex (2.6.4-6.2) ...
Setting up libfl-dev:amd64 (2.6.4-6.2) ...

nvidia drivers yes:

# aptitude search nvidia | grep "i "  
i A libnvidia-cfg1-390 - NVIDIA binary OpenGL/GLX configuration library
i A libnvidia-common-390 - Shared files used by the NVIDIA libraries
i A libnvidia-compute-390 - NVIDIA libcompute package
i A libnvidia-compute-390:i386 - NVIDIA libcompute package
i A libnvidia-decode-390 - NVIDIA Video Decoding runtime libraries
i A libnvidia-decode-390:i386 - NVIDIA Video Decoding runtime libraries
i A libnvidia-encode-390 - NVENC Video Encoding runtime library
i A libnvidia-encode-390:i386 - NVENC Video Encoding runtime library
i A libnvidia-fbc1-390 - NVIDIA OpenGL-based Framebuffer Capture runtime library
i A libnvidia-fbc1-390:i386 - NVIDIA OpenGL-based Framebuffer Capture runtime library
i A libnvidia-gl-390 - NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
i A libnvidia-gl-390:i386 - NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
i A libnvidia-ifr1-390 - NVIDIA OpenGL-based Inband Frame Readback runtime library
i A libnvidia-ifr1-390:i386 - NVIDIA OpenGL-based Inband Frame Readback runtime library
i A nvidia-compute-utils-390 - NVIDIA compute utilities
i A nvidia-dkms-390 - NVIDIA DKMS package
i  nvidia-driver-390 - NVIDIA driver metapackage
i A nvidia-kernel-common-390 - Shared files used with the kernel module
i A nvidia-kernel-source-390 - NVIDIA kernel source package
i A nvidia-prime - Tools to enable NVIDIA's Prime
i A nvidia-settings - Tool for configuring the NVIDIA graphics driver
v  nvidia-smi -  
i A nvidia-utils-390 - NVIDIA driver support binaries
i A xserver-xorg-video-nvidia-390 - NVIDIA binary Xorg driver

kubuntu 20.04


[Mon Aug 16 08:31] nande:~ ๐Ÿ˜ƒ$ loginctl
SESSION  UID USER  SEAT  TTY
      3 1000 nande seat0    

1 sessions listed.
[Mon Aug 16 09:13] nande:~ ๐Ÿ˜ƒ$ loginctl show-session 3 -p Type
Type=x11
[Mon Aug 16 09:13] nande:~ ๐Ÿ˜ƒ$ uname -a
Linux nande-desktop 5.4.0-81-generic #91-Ubuntu SMP Thu Jul 15 19:09:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
[Mon Aug 16 11:36] nande:~ ๐Ÿ˜ƒ$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:        20.04
Codename:       focal

this is all the message i got from it.

[Mon Aug 16 09:35] nande:~/Work_SDD/UE4 ๐Ÿ˜ƒ$ git fetch
[Mon Aug 16 09:35] nande:~/Work_SDD/UE4 ๐Ÿ˜ƒ$ git pull
Already up to date.
[Mon Aug 16 09:35] nande:~/Work_SDD/UE4 ๐Ÿ˜ƒ$ make
bash "/home/nande/Work_SDD/UE4/Engine/Build/BatchFiles/Linux/Build.sh" CrashReportClient Linux Shipping  
Fixing inconsistent case in filenames.
Setting up Mono
Running command : Engine/Binaries/DotNET/UnrealBuildTool.exe CrashReportClient Linux Shipping
Using 'git status' to determine working set for adaptive non-unity build (/home/nande/Work_SDD/UE4).
Creating makefile for CrashReportClient (no existing makefile)
Performing 32 actions (6 in parallel)
[2/32] Compile Module.Core.6_of_14.cpp
[5/32] Compile Module.Core.2_of_14.cpp
[6/32] Compile Module.Core.7_of_14.cpp
[4/32] Compile Module.Core.3_of_14.cpp
[1/32] Compile Module.Core.12_of_14.cpp
[3/32] Compile Module.Core.5_of_14.cpp
[7/32] Compile Module.Core.14_of_14.cpp
[8/32] Compile Module.Core.1_of_14.cpp
[9/32] Compile Module.Core.9_of_14.cpp
[10/32] Compile Module.Core.4_of_14.cpp
[11/32] Compile Module.Core.13_of_14.cpp
[12/32] Compile Module.Core.11_of_14.cpp
[13/32] Compile Module.Core.10_of_14.cpp
[14/32] Compile Module.Core.8_of_14.cpp
[15/32] Link (lld) libUnrealHeaderTool-TraceLog.so
[16/32] Compile Module.Json.cpp
[17/32] Compile Module.Projects.cpp
[18/32] Compile Module.CoreUObject.7_of_8.cpp
[19/32] Compile Module.CoreUObject.4_of_8.cpp
[20/32] Compile Module.CoreUObject.5_of_8.cpp
[21/32] Compile Module.CoreUObject.2_of_8.cpp
[22/32] Compile Module.CoreUObject.3_of_8.cpp
[23/32] Link (lld) libUnrealHeaderTool-Core.so
[24/32] Link (lld) libUnrealHeaderTool-Json.so
[25/32] Link (lld) libUnrealHeaderTool-Projects.so
[26/32] Compile Module.CoreUObject.1_of_8.cpp
[27/32] Compile Module.CoreUObject.6_of_8.cpp
[28/32] Compile Module.CoreUObject.8_of_8.cpp
[29/32] Compile Module.UnrealHeaderTool.cpp
[30/32] Link (lld) libUnrealHeaderTool-CoreUObject.so
[31/32] Link (lld) UnrealHeaderTool
[32/32] UnrealBuildTool.exe UnrealHeaderTool.target
Total time in Local executor: 235.24 seconds
Parsing headers for CrashReportClient
  Running UnrealHeaderTool CrashReportClient "/home/nande/Work_SDD/UE4/Engine/Intermediate/Build/Linux/B4D820EA/CrashReportClient/Shipping/CrashReportClient.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="/home/nande/Work_SDD/UE4/Engine/Programs/UnrealBuildTool/Log_UHT.txt"
make: *** [Makefile:327: CrashReportClient-Linux-Shipping] Error 3
[Mon Aug 16 09:39] nande:~/Work_SDD/UE4 ๐Ÿ˜ž1$ cat /home/nande/Work_SDD/UE4/Engine/Programs/UnrealBuildTool/Log_UHT.txt
cat: /home/nande/Work_SDD/UE4/Engine/Programs/UnrealBuildTool/Log_UHT.txt: No such file or directory

i was playing around and it turns out running this works, (kudos dev team!)
make ARGS="-verbose"

1 Like