MantisBT - CMake
View Issue Details
0013913CMakeCMakepublic2013-02-13 10:532016-06-10 14:31
mwoehlke 
Kitware Robot 
normalminoralways
closedmoved 
x86Fedora18
CMake 2.8.10.2 
 
0013913: Ninja: generator is not usable on Fedora
'cmake -GNinja' fails on Fedora because it cannot find a program called 'ninja'. This is because, due to a packaging conflict, the ninja build tool is packaged on Fedora is installed as /usr/bin/ninja-build. It would be nice if CMake would also check for this name.
No tags attached.
Issue History
2013-02-13 10:53mwoehlkeNew Issue
2013-02-16 04:08Peter KuemmelSummaryninja generator is not usable on Fedora => Ninja: generator is not usable on Fedora
2013-02-16 04:11Peter KuemmelNote Added: 0032308
2013-02-18 12:39mwoehlkeNote Added: 0032335
2013-03-09 06:23Peter KuemmelNote Added: 0032552
2013-03-09 06:23Peter KuemmelStatusnew => backlog
2014-03-07 11:54Ben BoeckelNote Added: 0035341
2016-06-10 14:28Kitware RobotNote Added: 0042222
2016-06-10 14:28Kitware RobotStatusbacklog => resolved
2016-06-10 14:28Kitware RobotResolutionopen => moved
2016-06-10 14:28Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0032308)
Peter Kuemmel   
2013-02-16 04:11   
I would say this is a Fedora bug.
You could add a symlink in /usr/local/bin.
(0032335)
mwoehlke   
2013-02-18 12:39   
You could, and I have, which is why I didn't notice this until someone on the cmake users list mentioned something about cmake finding the path to ninja. However, I don't think we should require users to do that.

While this could be patched in Fedora, it's entirely possible that other distributions will follow Fedora's naming convention. Also, Fedora prefers to avoid patching when possible, and I don't see the harm making this change in CMake proper for a popular distribution.
(0032552)
Peter Kuemmel   
2013-03-09 06:23   
Bug is not new any more, there was some activity.
(0035341)
Ben Boeckel   
2014-03-07 11:54   
If this bug is tackled, another program which can run Ninja files is 'shake', so that'd be another tool to look for.
(0042222)
Kitware Robot   
2016-06-10 14:28   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.