Trying to build WebKit2 for GTK using the following command on Ubuntu: ./build-webkit --debug --gtk --enable-webkit2 results in the following error: "No rule to make target `WebKit2/Platform/gtk/ModuleGtk.cpp', needed by `generate-webkit2-forwarding-headers'" This was attempted in a fresh git repository on Ubuntu 10.10 with the most up to date changes at the time of this submission.
For building the basic WebKit2 GTK port, there are still few dependent bugs open (48509, 48510, 48511, 48512). The build would be successful, once the patches of these bugs are committed. ModuleGtk.cpp file is part 48510 patch.