I tried to compile the engine using Kubuntu 14.04. I followed the steps at the wiki. But I got an error while running the GenerateProjectFiles.sh.
This is what I get:
Setting up Unreal Engine 4 project files...
+ xbuild Source/Programs/UnrealBuildTool/UnrealBuildTool_Mono.csproj /verbosity:quiet /nologo /p:TargetFrameworkVersion=v4.0 /p:Configuration=Development
+ xbuild Source/Programs/AutomationTool/AutomationTool_Mono.csproj /verbosity:quiet /nologo /tv:4.0 /p:TargetFrameworkVersion=v4.0 /p:Platform=AnyCPU /p:Configuration=Development
+ xbuild Source/Programs/AutomationTool/Scripts/AutomationScripts.Automation.csproj /verbosity:quiet /nologo /tv:4.0 /p:TargetFrameworkVersion=v4.0 /p:Configuration=Development
+ xbuild Source/Programs/AutomationTool/Linux/Linux.Automation.csproj /verbosity:quiet /nologo /tv:4.0 /p:TargetFrameworkVersion=v4.0 /p:Configuration=Development
+ xbuild Source/Programs/AutomationTool/Android/Android.Automation.csproj /verbosity:quiet /nologo /tv:4.0 /p:TargetFrameworkVersion=v4.0 /p:Configuration=Development
+ xbuild Source/Programs/AutomationTool/HTML5/HTML5.Automation.csproj /verbosity:quiet /nologo /tv:4.0 /p:TargetFrameworkVersion=v4.0 /p:Configuration=Development
+ mono Binaries/DotNET/UnrealBuildTool.exe -makefile -qmakefile -cmakefile
Using gcc version '4.8' (string), 4 (major), 8 (minor), -1 (patch)
*** This version of the engine can only be compiled by clang - refusing to register the Linux toolchain.
Generating data for project indexing... 0%
UnrealBuildTool Exception: ERROR: GetPlatformToolChain: No tool chain found for Linux