However, there was another issue afterwards during the build()
phase of the making of the 4.20.2 package: more specifically, with the build of the UE4Editor
target which failed because of an error during the compiling of the Module.SensibleEditorSourceCodeAccess.cpp
object:
In file included from /home/sid/.cache/pacaur/unreal-engine/src/UnrealEngine/Engine/Plugins/Developer/SensibleEditorSourceCodeAccess/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/SensibleEditorSourceCodeAccess/Module.SensibleEditorSourceCodeAccess.cpp:2:
In file included from /home/sid/.cache/pacaur/unreal-engine/src/UnrealEngine/Engine/Plugins/Developer/SensibleEditorSourceCodeAccess/Source/SensibleEditorSourceCodeAccess/Private/SensibleEditorSourceCodeAccessModule.cpp:23:
/home/sid/.cache/pacaur/unreal-engine/src/UnrealEngine/Engine/Plugins/Developer/SensibleEditorSourceCodeAccess/Source/SensibleEditorSourceCodeAccess/Private/SensibleEditorSourceCodeAccessPrivatePCH.h:25:10: fatal error:
'ModuleManager.h' file not found
#include "ModuleManager.h"
^~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
ERROR: UBT ERROR: Failed to produce item: /home/sid/.cache/pacaur/unreal-engine/src/UnrealEngine/Engine/Plugins/Developer/SensibleEditorSourceCodeAccess/Binaries/Linux/libUE4Editor-SensibleEditorSourceCodeAccess.so
(see ../Programs/UnrealBuildTool/Log.txt for full exception trace)
Total build time: 25,52 seconds (Local executor: 0,00 seconds)
make: *** [Makefile:188: UE4Editor] Error 5
The problem is that the ModuleManager.h
header file is located in the Modules
directory in the include path, and that's why it should be included as Modules/ModuleManager.h
instead of ModuleManager.h
.
I fixed the issue in this pull request to the upstream repo for the SensibleEditorSourceCodeAccess plugin. I hope that my fix will be merged soon into the master
branch of that repo so that everyone would benefit from it.
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.