Package Details: unreal-engine 5.4.0-0

Git Clone URL: https://aur.archlinux.org/unreal-engine.git (read-only, click to copy)
Package Base: unreal-engine
Description: A 3D game engine by Epic Games which can be used non-commercially for free.
Upstream URL: https://www.unrealengine.com/
Keywords: 3D engine game ue5 Unreal
Licenses: GPL3, custom:UnrealEngine
Submitter: acerix
Maintainer: Shatur (Neko-san)
Last Packager: Neko-san
Votes: 73
Popularity: 0.077389
First Submitted: 2016-05-01 18:37 (UTC)
Last Updated: 2024-04-24 02:23 (UTC)

Required by (1)

Sources (5)

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:

sudo groupadd unrealengine-users
sudo usermod -aG unrealengine-users (your-username)
sudo chown -R root:unrealengine-users /opt/unreal-engine
sudo chmod -R 775 /opt/unreal-engine

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.

Latest Comments

« First ‹ Previous 1 .. 74 75 76 77 78 79

acerix commented on 2016-05-09 15:36 (UTC)

Thanks for the suggestion, but did you actually need this patch to build it? Since clang35 is specified in the makedepends and provides "clang", the pacman call in Setup.sh shouldn't do anything. If anything, I would suggest removing that part of Setup.sh completely because the Arch dependencies can be handled by this package now. Instead of adding a patch here though, it would be cleaner to submit the change upsteam.

corrupt commented on 2016-05-09 08:45 (UTC) (edited on 2016-05-09 13:41 (UTC) by corrupt)

@acerix I changed PKGBUILD to include patching of $srcdir/UnrealEngine/Engine/Build/BatchFiles/Linux/Setup.sh. PKGBUILD: http://pastebin.com/iAt5SG20 Setup.patch: http://pastebin.com/U9c1Nt36 Had trouble compiling with multiple threads. Compiled UE4Editor separately.

acerix commented on 2016-05-05 22:17 (UTC)

I also just tried 3.7 and couldn't compile, so I'll leave it on 3.5 for now. I get errors like this: [344/864] Compile Module.Renderer.8_of_9.cpp clang-3.7: error: unable to execute command: Segmentation fault (core dumped) clang-3.7: error: clang frontend command failed due to signal (use -v to see invocation) clang version 3.7.1 (tags/RELEASE_371/final) Target: x86_64-unknown-linux-gnu Thread model: posix

zerophase commented on 2016-05-05 20:52 (UTC)

I tried a bit with 3.7, and couldn't get it to compile. I think it has something to do with libJPG. In some of the code they mention Clang 3.7 being compatible. Must be something they're going to support better in the next version.

acerix commented on 2016-05-05 15:48 (UTC)

I have not, but I'll give it a try when I have some time. The Linux README says that clang 3.6 is supported but no mention of 3.7, however some of their documentation is outdated. https://github.com/EpicGames/UnrealEngine/blob/release/Engine/Build/BatchFiles/Linux/README.md#prerequisites

zerophase commented on 2016-05-05 15:41 (UTC)

Thanks. That's what I ended up doing. Have you tried getting it compiling with clan 3.7 yet?

acerix commented on 2016-05-05 13:14 (UTC)

I think you would need 128 GB of RAM to build this in tmpfs, instead you should download the PKGBUILD to a drive where you have that much space and run makepkg from there. If you are using a package builder, maybe set the build dir to /var/tmp instead. That way you can also keep the source files, so you can update to a new version without downloading the whole thing.

zerophase commented on 2016-05-05 01:49 (UTC)

Well, I learned the hard way why swap space is recommended to be at least half your ram. I think I'll have to mount tmp to disk temporarily.