Announcement

Collapse
No announcement yet.

Building Unreal from source on Centos 7 fails

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Building Unreal from source on Centos 7 fails

    Hi everyone, I'm new to Unreal and trying to install it on Linux at work.

    I'm using:
    Centos 7

    Any help would be greatly appreciated!

    Here is my console output:

    [dylan@nomachine UnrealEngine-release]$ ./Setup.sh

    Github build
    Checking / downloading the latest archives
    Checking dependencies (excluding Win32, Win64, Mac, Android)...
    Failed to read '/home/dylan/code/UnrealEngine-release/Engine/Build/Commit.gitdeps.xml': System.Configuration.ConfigurationErrorsException: Error Initializing the configuration system. ---> System.Configuration.ConfigurationErrorsException: Unrecognized configuration section <startup> (/home/dylan/code/UnrealEngine-release/Engine/Binaries/DotNET/GitDependencies.exe.config line 3)
    at System.Configuration.ConfigInfo.ThrowException (System.String text, System.Xml.XmlReader reader) [0x00007] in <d6de850e07274db588ca7c247bfa5ec6>:0
    at System.Configuration.SectionGroupInfo.ReadContent (System.Xml.XmlReader reader, System.Configuration.Configuration config, System.Boolean overrideAllowed, System.Boolean root) [0x00170] in <d6de850e07274db588ca7c247bfa5ec6>:0
    at System.Configuration.SectionGroupInfo.ReadRootData (System.Xml.XmlReader reader, System.Configuration.Configuration config, System.Boolean overrideAllowed) [0x00007] in <d6de850e07274db588ca7c247bfa5ec6>:0
    at System.Configuration.Configuration.ReadConfigFile (System.Xml.XmlReader reader, System.String fileName) [0x000ec] in <d6de850e07274db588ca7c247bfa5ec6>:0
    at System.Configuration.Configuration.Load () [0x00052] in <d6de850e07274db588ca7c247bfa5ec6>:0
    at System.Configuration.Configuration.Init (System.Configuration.Internal.IConfigSystem system, System.String configPath, System.Configuration.Configuration parent) [0x00065] in <d6de850e07274db588ca7c247bfa5ec6>:0
    at System.Configuration.Configuration..ctor (System.Configuration.InternalConfigurationSystem system, System.String locationSubPath) [0x0005c] in <d6de850e07274db588ca7c247bfa5ec6>:0
    at System.Configuration.InternalConfigurationFactory.Create (System.Type typeConfigHost, System.Object[] hostInitConfigurationParams) [0x0000e] in <d6de850e07274db588ca7c247bfa5ec6>:0
    at System.Configuration.ConfigurationManager.OpenExeConfigurationInternal (System.Configuration.ConfigurationUserLevel userLevel, System.Reflection.Assembly calling_assembly, System.String exePath) [0x00107] in <d6de850e07274db588ca7c247bfa5ec6>:0
    at System.Configuration.ClientConfigurationSystem.get_Configuration () [0x00011] in <d6de850e07274db588ca7c247bfa5ec6>:0
    --- End of inner exception stack trace ---
    at System.Configuration.ClientConfigurationSystem.get_Configuration () [0x00030] in <d6de850e07274db588ca7c247bfa5ec6>:0
    at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) [0x00000] in <d6de850e07274db588ca7c247bfa5ec6>:0
    at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00005] in <d6de850e07274db588ca7c247bfa5ec6>:0
    at System.Configuration.PrivilegedConfigurationManager.GetSection (System.String sectionName) [0x00000] in <5071a6e4a4564e19a2eda0f53e42f9bd>:0
    at System.Diagnostics.DiagnosticsConfiguration.GetConfigSection () [0x00000] in <5071a6e4a4564e19a2eda0f53e42f9bd>:0
    at System.Diagnostics.DiagnosticsConfiguration.Initialize () [0x00033] in <5071a6e4a4564e19a2eda0f53e42f9bd>:0
    at System.Diagnostics.DiagnosticsConfiguration.get_SwitchSettings () [0x00000] in <5071a6e4a4564e19a2eda0f53e42f9bd>:0
    at System.Diagnostics.Switch.InitializeConfigSettings () [0x00019] in <5071a6e4a4564e19a2eda0f53e42f9bd>:0
    at System.Diagnostics.Switch.InitializeWithStatus () [0x0004f] in <5071a6e4a4564e19a2eda0f53e42f9bd>:0
    at System.Diagnostics.Switch.get_SwitchSetting () [0x0000d] in <5071a6e4a4564e19a2eda0f53e42f9bd>:0
    at System.Diagnostics.BooleanSwitch.get_Enabled () [0x00000] in <5071a6e4a4564e19a2eda0f53e42f9bd>:0
    at System.Xml.Serialization.TempAssembly.LoadGeneratedAssembly (System.Type type, System.String defaultNamespace, System.Xml.Serialization.XmlSerializerImplementation& contract) [0x0001d] in <1140eab9e72948548294172a9716416d>:0
    at System.Xml.Serialization.XmlSerializer..ctor (System.Type type, System.String defaultNamespace) [0x00096] in <1140eab9e72948548294172a9716416d>:0
    at System.Xml.Serialization.XmlSerializer..ctor (System.Type type) [0x00000] in <1140eab9e72948548294172a9716416d>:0
    at GitDependencies.Program.ReadXmlObject[T] (System.String FileName, T& NewObject) [0x00002] in <e6e5dda5eebb4ce3b77e460f8828bf9c>:0
    Result: 1

    #2
    Ok so I tried commenting out a few lines in GitDependencies.exe.config:

    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
    <!-- <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
    </startup> -->
    <!-- <uri>
    <schemeSettings>
    <add name="http" genericUriParserOptions="DontUnescapePathDotsAndSlashes" />
    </schemeSettings>
    </uri> -->
    </configuration>

    It gets past that error and now I get:
    dylan@nomachine unreal]$ ./Setup.sh

    Github build
    Checking / downloading the latest archives
    Checking dependencies (excluding Win32, Win64, Mac, Android)...
    Updating dependencies: 0% (0/28613)...
    Failed to download 'http://cdn.unrealengine.com/dependencies/UnrealEngine-3794679-5fe680a9ecfe428591bb2b3f47f3ed58/556a4f426527e0e72d81c9b29f84faad1ccc6d5a': http://cdn.unrealengine.com/dependen...84faad1ccc6d5a (NotSupportedException)

    Comment


      #3
      I have been trying to install Unreal on Linux Mint at home, and I get a bit further in compiling, then I get this error:


      clang: error: linker command failed with exit code 1 (use -v to see invocation)
      ERROR: UBT ERROR: Failed to produce item: /home/dylan/Downloads/UnrealEngine-release/Engine/Binaries/Linux/CrashReportClient
      Total build time: 2,24 seconds (Local executor: 0,00 seconds)
      Makefile:257: recipe for target 'CrashReportClient-Linux-Shipping' failed
      make: *** [CrashReportClient-Linux-Shipping] Error 5

      Please let me know if someone knows how to get past this, thanks

      Comment


        #4
        I've only just had this issue myself. I've boiled it down to the case sensitive nature of the CDN url.
        "http://cdn.unrealengine.com/dependencies/unrealengine-3720923-5712cc719d4541ffbfdee6e387fdb8bb/0811a667bf49e255c1aeba8a98977a731603e235"
        "http://cdn.unrealengine.com/dependencies/UnrealEngine-3720923-5712cc719d4541ffbfdee6e387fdb8bb/0811a667bf49e255c1aeba8a98977a731603e235"

        Sometimes, "UnrealEngine-37..." gets a "Access Denied" response, and "unrealengine-37..." gets the BIN file... sometimes it's the other way around...

        You can find your gitdep urls in UnrealEngine/Engine/Build/Commitgitdeps.xml
        But there's 1900+ references to "UnrealEngine-"...

        I'll continue looking into it.

        Comment


          #5
          Clix1 Ive had problems with CentOs builds hanging up. Just removed install, and re installed. It hangs up at dependencies offen. It all depends on whats loaded into centos. I think I had more success after installing alien, and converting some of the deb files. Nvidia gpu drivers are a pain in Centos, but seem to run fine in Ubuntu kernels. Someone said Ue4 ran great in opensuse, but I havent tried it.

          Comment

          Working...
          X