<div dir="ltr"><div><div><div><div><div>It's not working. the problem is this<br><br>/net/hp95/users/jstuden3/cmake-2.8.8/Source/CursesDialog/form/form.h:46:31: error: ncurses/ncurses.h: No such file or directory<br><br></div>It's trying to reference the directory specified in CFLAGS/ncurses/ncurses.h<br><br></div>so if I pass in CFLAGS="-I/net/hu19/jstuden3/x86_64-6.4/include/ncurses" CXXFLAGS="-I/net/hu19/jstuden3/x86_64-6.4/include/ncurses"  it will look for /net/hu19/jstuden3/x86_64-6.4/include/ncurses/ncurses/ncurses.h<br><br>Okay, fine, so then don't specify the additional ncurses (just -I /net/hu19/jstuden3/x86_64-6.4/include).. Then i get the SAME thing.<br><br></div>I don't think the configure script is respecting the variables at all. For example, even though I've specified --no-qt-gui, I still get this after configure:<br><br>Could NOT find Qt4 (missing:  QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE QT_RCC_EXECUTABLE QT_UIC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR QT_QTCORE_LIBRARY)<br><br></div>Regards,<br></div>Josh.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 5, 2014 at 3:07 PM, Tom Kacvinsky <span dir="ltr"><<a href="mailto:tom.kacvinsky@vectorcast.com" target="_blank">tom.kacvinsky@vectorcast.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>With bash:<br><br></div>CFLAGS="-IXXX" CXXFLAGS="-IXXX" LDFLAGS="-LXXX" ./configure ...<br><br></div>This should indicate to configure that headers and libraries are found in the locations you specify.<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Nov 5, 2014 at 3:01 PM, Joshua Studen <span dir="ltr"><<a href="mailto:joshua.studen@gmail.com" target="_blank">joshua.studen@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div>Hi,<br><br></div>The problem is relatively simple. I've downloaded cmake and have run configure as follows:<br><br>./configure --prefix=$HOME/x86_64-6.4  --no-qt-gui<br><br></div><div>The configure phase seems to work fine.. throws no errors, but then when I type gmake, I get the following errrors:<br><br>/net/hp95/users/jstuden3/cmake-2.8.8/Source/CursesDialog/form/form.h:46:31: error: ncurses/ncurses.h: No such file or directory<br>In file included from /net/hp95/users/jstuden3/cmake-2.8.8/Source/CursesDialog/form/form.priv.h:34,<br>                 from /net/hp95/users/jstuden3/cmake-2.8.8/Source/CursesDialog/form/fld_arg.c:33:<br>/net/hp95/users/jstuden3/cmake-2.8.8/Source/CursesDialog/form/form.h:93: error: expected specifier-qualifier-list before ‘chtype’<br>/net/hp95/users/jstuden3/cmake-2.8.8/Source/CursesDialog/form/form.h:120: error: expected specifier-qualifier-list before ‘bool’<br>/net/hp95/users/jstuden3/cmake-2.8.8/Source/CursesDialog/form/form.h:144: error: expected specifier-qualifier-list before ‘WINDOW’<br>...<br>...<br></div><div>a bunch of stuff like this, and then<br></div><div><br>gmake[2]: *** [Source/CursesDialog/form/CMakeFiles/cmForm.dir/fld_arg.c.o] Error 1<br>gmake[1]: *** [Source/CursesDialog/form/CMakeFiles/cmForm.dir/all] Error 2<br>gmake: *** [all] Error 2<br><br></div><div>I have ncurses installed in /net/hu19/jstuden3/x86_64-6.4/ (lib/ for the .a's, and include/ for the headers).<br><br></div><div>It seems that I can't specify a directory for ncurses when configuring cmake? doing ./configure --help doesn't seem to indicate anyway to specify include and link paths......<br><br>Regards,<br>Josh<br><br><br></div></div>
<br></div></div>--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" target="_blank">http://cmake.org/cmake/help/support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" target="_blank">http://cmake.org/cmake/help/training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/cmake" target="_blank">http://public.kitware.com/mailman/listinfo/cmake</a><br></blockquote></div><br></div>
</blockquote></div><br></div>