FTFBS due to FindGTK2
$ ../cmake-3.8.0-rc1/configure --prefix=$(HOME)/x1
[...]
-- Performing Test run_pic_test
-- Performing Test run_pic_test - Success
-- Performing Test run_inlines_hidden_test
-- Performing Test run_inlines_hidden_test - Success
CMake Error at Modules/FindGTK2.cmake:226 (message):
Include file does not exist
Call Stack (most recent call first):
Modules/FindGTK2.cmake:767 (_GTK2_SIGCXX_GET_VERSION)
Tests/FindGTK2/CMakeLists.txt:1 (find_package)
-- Configuring incomplete, errors occurred!
See also "$(HOME)/build/CMakeFiles/CMakeOutput.log".
See also "$(HOME)/build/CMakeFiles/CMakeError.log".
---------------------------------------------
Error when bootstrapping CMake:
Problem while running initial CMake
---------------------------------------------
I can only work around this by commenting out the four lines starting at line 1443 of Tests/CMakeLists.txt.
I do have GTK2 (2.12.12) but I was on an old system (FC9), and your FindGTK2 expects too much and errors out, blocking the build.