[webkit-gtk] Argument list too long error with old versions of CMake (<2.8.10)
Mario Sanchez Prada
mario.prada at samsung.com
Thu Mar 13 07:33:57 PDT 2014
Today I hit the following error when trying to compile a fresh build using build-webkit -gtk (which now defaults to the CMake build system) in my Ubuntu 12.10 machine:
Argument list too long
ninja: build stopped: subcommand failed.
The thing is that I would not spot that issue in my Fedora 20 machine, which makes sense since it has been "fixed" in revision 165173 , thus the problem had to be somewhere else. And turns out it was in the version of CMake that comes packaged with Ubuntu 12.10 (CMake 2.8.9), which is too old to understand that CMAKE_NINJA_FORCE_RESPONSE_FILE variable (introduced in CMake 2.8.10).
So, I removed the cmake package from my system and manually built and installed a newer version from sources, and the problem seems to be fixed now. Now just sharing to let you know about this in case you still don't have a new enough version of CMake installed, as the build will surely fail otherwise.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-gtk