<div dir="ltr">Hi Radim,<br><div class="gmail_extra"><br></div><div class="gmail_extra">Could you start an issue ticket for this, possibly including some specs, like which version of cmake, compiler, etc.? I can not discern what might be causing the problem for your setup, but working for everyone else (I'm assuming that), and would like to exchange some patches since I can't reproduce it here.<br>
<br></div><div class="gmail_extra">Thanks,<br><br></div><div class="gmail_extra">Larry<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 8, 2013 at 7:20 AM, Radim Blazek <span dir="ltr"><<a href="mailto:radim.blazek@gmail.com" target="_blank">radim.blazek@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, Mar 8, 2013 at 2:28 PM, Larry Shaffer <<a href="mailto:larrys@dakotacarto.com">larrys@dakotacarto.com</a>> wrote:<br>

> Hi,<br>
><br>
> On Fri, Mar 8, 2013 at 5:47 AM, Radim Blazek <<a href="mailto:radim.blazek@gmail.com">radim.blazek@gmail.com</a>> wrote:<br>
>><br>
>> On Fri, Mar 8, 2013 at 12:17 PM, Larry Shaffer <<a href="mailto:larrys@dakotacarto.com">larrys@dakotacarto.com</a>><br>
>> wrote:<br>
>> > Hi Radim,<br>
>> ><br>
>> > On Fri, Mar 8, 2013 at 3:31 AM, Radim Blazek <<a href="mailto:radim.blazek@gmail.com">radim.blazek@gmail.com</a>><br>
>> > wrote:<br>
>> >><br>
>> >> I am getting this compilation error:<br>
>> >><br>
>> >> make[2]: *** No rule to make target `staged_plugins', needed by<br>
>> >> `python/plugins/CMakeFiles/staged_plugins_on_build'.  Stop.<br>
>> >> make[1]: ***<br>
>> >> [python/plugins/CMakeFiles/staged_plugins_on_build.dir/all]<br>
>> >> Error 2<br>
>> >><br>
>> >> How to solve it ?<br>
>> ><br>
>> > The staged_plugins_on_build target is created when WITH_STAGED_PLUGINS<br>
>> > is<br>
>> > set to TRUE [0]. I believe the dependent target staged_plugins should<br>
>> > always<br>
>> > be created if WITH_BINDINGS is TRUE. The new staged plugins setup was<br>
>> > committed over a month ago, with no appreciable changes since then [1].<br>
>><br>
>> It may be that I did not recompile last month. Does it require any new<br>
>> dependency?<br>
>><br>
>> > What is the make command you ran?<br>
>><br>
>> make<br>
>><br>
>> > Did you try re-generating the cmake build files?<br>
>><br>
>> Yes.<br>
>><br>
>> > Does this happen on make (all target) for the project with an empty<br>
>> > build<br>
>> > dir?<br>
>><br>
>> Yes, but with copy of CMakeCache.txt from the old one.<br>
><br>
><br>
> Maybe set WITH_STAGED_PLUGINS to FALSE (it's TRUE by default), possibly<br>
> skipping the build error, since that problematic target won't be auto-built.<br>
<br>
Compiles OK.<br>
<br>
> Then, if successful build, try 'make staged_plugins' to stage the plugins to<br>
> the build directory, if you run QGIS from there.<br>
<br>
Works OK, but if I set WITH_STAGED_PLUGINS=ON, make fails again, more<br>
verbose output:<br>
<br>
[ 95%] Built target staged_plugins<br>
make -f python/plugins/CMakeFiles/staged_plugins_on_build.dir/build.make<br>
python/plugins/CMakeFiles/staged_plugins_on_build.dir/depend<br>
make[2]: Entering directory `/home/radim/devel/qgis/build'<br>
cd /home/radim/devel/qgis/build && /usr/bin/cmake -E cmake_depends<br>
"Unix Makefiles" /home/radim/devel/qgis<br>
/home/radim/devel/qgis/python/plugins /home/radim/devel/qgis/build<br>
/home/radim/devel/qgis/build/python/plugins<br>
/home/radim/devel/qgis/build/python/plugins/CMakeFiles/staged_plugins_on_build.dir/DependInfo.cmake<br>
--color=<br>
make[2]: Leaving directory `/home/radim/devel/qgis/build'<br>
make -f python/plugins/CMakeFiles/staged_plugins_on_build.dir/build.make<br>
python/plugins/CMakeFiles/staged_plugins_on_build.dir/build<br>
make[2]: Entering directory `/home/radim/devel/qgis/build'<br>
make[2]: *** No rule to make target `staged_plugins', needed by<br>
`python/plugins/CMakeFiles/staged_plugins_on_build'.  Stop.<br>
make[2]: Leaving directory `/home/radim/devel/qgis/build'<br>
make[1]: *** [python/plugins/CMakeFiles/staged_plugins_on_build.dir/all] Error 2<br>
make[1]: Leaving directory `/home/radim/devel/qgis/build'<br>
make: *** [all] Error 2<br>
<br>
Radim<br>
<br>
>><br>
>> > What, if anything, has changed in your cmake setup between your last<br>
>> > successful build and this error?<br>
>><br>
>> Nothing changed I think, I did git pull and when make failed I run<br>
>> ccmake. I saw that some new strange things are missing, so I installed<br>
>> bzr but I have still: DART_ROOT-NOTFOUND, HGCOMMAND-NOTFOUND,<br>
>> QSCINTILLA_LIBRARY-NOTFOUND - are those necessary?<br>
><br>
><br>
> QSCINTILLA_LIBRARY is the C++ library used by the Qsci Python module, used<br>
> in the new PyQGIS console. Currently only the Python module is linked to it,<br>
> i.e. no one has used QScintilla in C++ code. So, while it shouldn't matter<br>
> for current building if not found, it should have been found by the .cmake<br>
> script.<br>
><br>
> Not sure about the others. DART is probably for reporting test results to<br>
> the dashboard at [0].<br>
><br>
> [0] <a href="http://dash.orfeo-toolbox.org/index.php?project=QGIS" target="_blank">http://dash.orfeo-toolbox.org/index.php?project=QGIS</a><br>
><br>
> Regards,<br>
><br>
> Larry<br>
><br>
>> Radim<br>
>><br>
>> > Regards,<br>
>> ><br>
>> > Larry<br>
>> ><br>
>> ><br>
>> > [0]<br>
>> ><br>
>> > <a href="https://github.com/qgis/Quantum-GIS/blob/master/python/plugins/CMakeLists.txt" target="_blank">https://github.com/qgis/Quantum-GIS/blob/master/python/plugins/CMakeLists.txt</a><br>
>> > [1]<br>
>> ><br>
>> > <a href="https://github.com/qgis/Quantum-GIS/commit/7717aeed1ca9f81107b72bac3aa127767d8f5ac0" target="_blank">https://github.com/qgis/Quantum-GIS/commit/7717aeed1ca9f81107b72bac3aa127767d8f5ac0</a><br>
>> ><br>
>> >> Radim<br>
>> >> _______________________________________________<br>
>> >> Qgis-developer mailing list<br>
>> >> <a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
>> >> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
>> ><br>
>> ><br>
><br>
><br>
</blockquote></div><br></div></div>