Finally success!
After fixing the problem I had with lld I deleted all the packages,sources and unreal-engine folder from AUR temp folder. After that building and installing package was a success.
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: | 76 |
Popularity: | 1.01 |
First Submitted: | 2016-05-01 18:37 (UTC) |
Last Updated: | 2024-11-16 03:10 (UTC) |
« First ‹ Previous 1 .. 55 56 57 58 59 60 61 62 63 64 65 .. 81 Next › Last »
Finally success!
After fixing the problem I had with lld I deleted all the packages,sources and unreal-engine folder from AUR temp folder. After that building and installing package was a success.
@moadib Thanks that helped !
but I got another error
[1428/1429] Link (ld) libUE4Editor-WorldBrowser.so ERROR: UBT ERROR: Failed to produce item: /mnt/EMU/AUR/unreal-engine/src/UnrealEngine/Engine/Binaries/Linux/Linux/libUE4Editor-LinuxNoEditorTargetPlatform.so Total build time: 782.50 seconds (Local executor: 0.00 seconds) make: *** [Makefile:188: UE4Editor] Error 5
@wolfyrion you can solve this problem by installing lld
I am getting :
[27/28] Link (ld) libUnrealHeaderTool-CoreUObject.so [28/28] Link (lld) UnrealHeaderTool clang-5.0: error: invalid linker name in argument '-fuse-ld=lld' ERROR: UBT ERROR: Failed to produce item: /mnt/EMU/AUR/unreal-engine/src/UnrealEngine/Engine/Binaries/Linux/UnrealHeaderTool Total build time: 31.96 seconds (Local executor: 0.00 seconds) Error: UnrealHeaderTool failed for target 'CrashReportClient' (platform: Linux, module info: /mnt/EMU/AUR/unreal-engine/src/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/CrashReportClient/Shipping/CrashReportClient.uhtmanifest, exit code: OtherCompilationError (5)). make: *** [Makefile:257: CrashReportClient-Linux-Shipping] Error 5 ==> ERROR: A failure occurred in build(). Aborting...
EDIT: Never mind, tried it again and it didn't happen.
I'm getting:
[1/7] Link (ld) libUE4Editor-UATHelper.so
[3/7] Relink libUE4Editor-UnrealEd.so
[2/7] Link (ld) libUE4Editor-BlueprintNativeCodeGen.so
[4/7] Link (ld) libUE4Editor-CryptoKeys.so
/run/media/moses/1TB Disk/unreal-engine/src/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-GameProjectGeneration.so: file not recognized: File format not recognized
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
/run/media/moses/1TB Disk/unreal-engine/src/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-GameProjectGeneration.so: file not recognized: File format not recognized
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
/run/media/moses/1TB Disk/unreal-engine/src/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-GameProjectGeneration.so: file not recognized: File format not recognized
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
/run/media/moses/1TB Disk/unreal-engine/src/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-GameProjectGeneration.so: file not recognized: File format not recognized
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
ERROR: UBT ERROR: Failed to produce item: /run/media/moses/1TB Disk/unreal-engine/src/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-UATHelper.so
During compilation.
I also encountered the issue that @fghdfvvsd had - using the 4.18.3 release.
It installed fine, but on the compile for a new c++ project it failed at building UE4Editor.so, and then the editor wouldn't start up again at all.
I wonder if this is due to using clang 5.0.1?
Has anyone figured out how to compile source code plugins easily to use on projects? Especially blueprint-only projects.
For people trying to build this and getting a mono error saying "Magic number is wrong: 542", this is currently a bug in mono with ncurses 6.1: https://github.com/mono/mono/issues/6752
The solution is to "export TERM=xterm" before trying to make this package.
@blastofftek Yes, using the release archive is way more efficient, but I don't know of any way to download that automatically in the PKGBUILD since the repo is private. You can download the release file in advance, then edit the "source" in the PKGBUILD to point to the local file, as suggested in the wiki:
https://wiki.archlinux.org/index.php/Unreal_Engine_4#Installing_from_the_AUR
@jimmy00784 Package works fine, but the repo is private, please refer to Wiki:
https://wiki.archlinux.org/index.php/Unreal_Engine_4#Gain_access_to_the_source_code
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.