Hi,<br><br><div class="gmail_quote">On Tue, Jun 26, 2012 at 12:14 AM, Sohail Shafii <span dir="ltr"><<a href="mailto:sohailshafii@yahoo.com" target="_blank">sohailshafii@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:arial,helvetica,sans-serif"><div><span>I'm sorry but I don't quite understand the first sentence in your response. How would I run my locally-built cmake "for the cmake sources"? Do you mean try to use cmake to generate a makefile for the cmake sources?</span></div>
</div></div></blockquote><div><br></div><div>Yes, exactly, use the cmake that you just built to configure a build directory for the CMake sources. That way you can do more diagnostics than with the bootstrap script.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:arial,helvetica,sans-serif"><div><span></span></div><div><span>Also, I don't know anything regarding cmake's trace features. I only use it to compile other software that need cmake, like ParaView, so my cmake knowledge is fairly limited. I do wonder if most people have ncurses in /usr/local/include and have not run into this problem.</span></div>
</div></div></blockquote><div><br></div><div>Running cmake --trace <normal arguments put here> prints each line that cmake evaluates as it runs through the scripts. If this doesn't answer the question as to why it uses the wrong path, then you'd need to add some debug-message() calls into the FindCurses.cmake script to detect where the variables are set and to what value. If you want to debug/find the reason for this at all.</div>
<div><br></div><div>Andreas</div></div>