This package needs to add the dependency openssl-1.1
and steam
,
for "Turnkey" thats like an internal program to detect Clang targets to compile to,
otherwise it only compiles to Linux x86_64 or nothing,
meaning you can not compile your game into a binary.
Steam needs to be added as dependency too,
because it searchs for Steam SDK and .so
binaries at startup in a broken symlink at $HOME/.steampath
,
error says Warning: Cannot determine whether '/home/juan/.steampath' is a directory - stat() failed with errno=2 (No such file or directory)
,
the symlink also needs to be created.
It also needs to run these:
ln -s $HOME/.steampath $HOME/.steam/bin
mkdir -p $HOME/.config/Epic/UnrealEngine/5.0/Intermediate/
mkdir -p $HOME/.cnfig/Epic/UnrealEngine/5.0/Intermediate/
chmod +x /opt/unreal-engine/Engine/Binaries/ThirdParty/Mono/Linux/bin/xbuild
chmod +x /opt/unreal-engine/Engine/Binaries/ThirdParty/Mono/Linux/bin/mcs
mkdir -p /opt/unreal-engine/Engine/Binaries/Android/
You can try yourself what I am saying by running
/opt/unreal-engine/Engine/Build/BatchFiles/RunUAT.sh Turnkey -utf8output -WaitForUATMutex -command=VerifySdk -ReportFilename="$HOME/.cnfig/Epic/UnrealEngine/5.0/Intermediate/TurnkeyReport_0.log" -log="$HOME/.config/Epic/UnrealEngine/5.0/Intermediate/TurnkeyLog_0.log" -platform=all
and /opt/unreal-engine/Engine/Build/BatchFiles/Linux/Build.sh -Mode=QueryTargets -Output="/opt/unreal-engine/Engine/Intermediate/TargetInfo.json" -progress
.
Pinned Comments
Neko-san commented on 2022-11-01 02:32 (UTC) (edited on 2023-06-25 01:19 (UTC) by Neko-san)
@juancarlospaco this is easily done on your own system, not in a PKGBUILD, given that building packages runs as root:
Permission issues like this are already mentioned on the UE Arch wiki page: https://wiki.archlinux.org/title/Unreal_Engine_4#Installing_from_the_AUR
This is a user system problem; I already did what I could without needing users to do the above by giving the
777
permissions. If it still gives you trouble, you'll have to use the example to solve it or change the install location to somewhere you have user permissions by default (as I cannot do this for you).zerophase commented on 2021-05-27 08:15 (UTC) (edited on 2021-05-30 08:41 (UTC) by zerophase)
Will update to 5.0 when it is released.