Hi,<br><br><div class="gmail_quote">On Mon, Jun 25, 2012 at 11:48 PM, 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>Thanks. What it is apparently doing is including the argument: -I/home/***/local/include/ncurses. It should be -I/home/***/local/include. I'm not sure why it generates the former during the bootstrap/configuration phase.<br>
</span></div><div><br><span></span></div><div><span>The problem variable is the following in the CMakeCache.txt file:</span></div><div><span>//The curses include path<br>CURSES_INCLUDE_PATH:FILEPATH=/home/***/local/include/ncurses</span></div>
<div><br><span></span></div><div><span>I had to remove "ncurses" from that line. Not a permanent solution because the bootstrap will just generate that line each time. It compiles with this custom fix though.</span></div>
</div></div></blockquote><div><br></div><div>Does this also happen when you use your finished CMake build and run it in a fresh builddirectory for the cmake sources? If so you could try to use cmake's trace features to see where the value is coming from and check wether maybe the find_path invocation for detecting the directory is wrong.</div>
<div><br></div><div>Andreas</div></div>