<p dir="ltr">Try setting your qmake variable to qmake instead: cmake -DQT_QMAKE_EXECUTABLE:PATH=/path/to/qmake -DQT_MOC_EXECUTABLE:PATH=/path/to/moc<br>
On May 24, 2013 12:36 AM, &quot;Gargi Das&quot; &lt;<a href="mailto:gargi.das@hotmail.com">gargi.das@hotmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hello All,<br>
&gt;<br>
&gt; I am kind of noob to CMake and this is my first question so i hope you all will not go hard on me :) .<br>
&gt;<br>
&gt; I am trying to build pyside and for that i need to build CMake for RHEL 5 machine, i follow the procedure mentioned in Readme.txt which is very straight forward. <br>
&gt;<br>
&gt; First i run the command:<br>
&gt; ./bootstrap --prefix=some path<br>
&gt;<br>
&gt; this operation generates lots of .o  files but at the end gives me a following message:<br>
&gt; loading initial cache file /user/username/Desktop/pyside/cmake-2.8.11/Bootstrap.cmk/InitialCacheFlags.cmake<br>
&gt; -- Could NOT find Qt4 (missing:  QT_MOC_EXECUTABLE QT_RCC_EXECUTABLE QT_UIC_EXECUTABLE QT_INCLUDE_DIR) (found version &quot;4.7.1&quot;)<br>
&gt; -- Configuring done<br>
&gt; -- Generating done<br>
&gt; -- Build files have been written to: /user/username/Desktop/pyside/cmake-2.8.11<br>
&gt;<br>
&gt; i have also set my QT_MOC_EXECUTABLE path to my qmake. so first questions why bootstrap is not able to find qmake .<br>
&gt;<br>
&gt; Second after this i can run make and make install which installs CMake to the directory but when pyside tries to use that with cmake -g command i always get:<br>
&gt; unable to execute cmake: No such file or directory<br>
&gt;<br>
&gt; Any clues on that why that should happen ??<br>
&gt;<br>
&gt; Regards,<br>
&gt; Gargi<br>
&gt;<br>
&gt;<br>
&gt;  <br>
&gt;<br>
&gt; --<br>
&gt;<br>
&gt; Powered by <a href="http://www.kitware.com">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</p>