[6/6] Install the project...
FAILED: cd WebKitBuild/Release && /usr/bin/cmake -P cmake_install.cmake
-- Install configuration: "Release"
file INSTALL cannot find
Call Stack (most recent call first):
ninja: build stopped: subcommand failed.
[reply] [-] Comment 21
I'm not even sure this is a WebKit bug, I think it's something related with the ninja generator of CMake, but I'm not sure either if it happens when not using ninja, though. What I've noticed is that it always works after a clean build, and also after incremental builds unless any of the incremental builds changes something in cmake and the configure is run again.
The problem seems to be that the cmake_install.cmake files are re-generated differently, as if the project was built without the RPATH support and install needed to re-link binaries before copying them. But the project is built with RPATH support, and install should not relink, but just remove the RPATH from the binaries before copying them.
I've just hit this one
What I did was an incremental build with a different prefix passed to build-webkit.
Created attachment 294354 [details]
Script for installing WebKitGtk+
After wasting a lot of time every time I wanted to install webkit I decided to simply put all the commands in one script and run it.
I have honestly no idea about CMake machinery so I don't know how to fix the install but I'm sure that the script will help experts to tackle the existing issues.