[CMake] Having a real hardtime installing CMake on a Linux cluster machine
Joshua Studen
joshua.studen at gmail.com
Wed Nov 5 16:03:06 EST 2014
It's not working. the problem is this
/net/hp95/users/jstuden3/cmake-2.8.8/Source/CursesDialog/form/form.h:46:31:
error: ncurses/ncurses.h: No such file or directory
It's trying to reference the directory specified in CFLAGS/ncurses/ncurses.h
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
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.
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:
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)
Regards,
Josh.
On Wed, Nov 5, 2014 at 3:07 PM, Tom Kacvinsky <tom.kacvinsky at vectorcast.com>
wrote:
> With bash:
>
> CFLAGS="-IXXX" CXXFLAGS="-IXXX" LDFLAGS="-LXXX" ./configure ...
>
> This should indicate to configure that headers and libraries are found in
> the locations you specify.
>
> On Wed, Nov 5, 2014 at 3:01 PM, Joshua Studen <joshua.studen at gmail.com>
> wrote:
>
>> Hi,
>>
>> The problem is relatively simple. I've downloaded cmake and have run
>> configure as follows:
>>
>> ./configure --prefix=$HOME/x86_64-6.4 --no-qt-gui
>>
>> The configure phase seems to work fine.. throws no errors, but then when
>> I type gmake, I get the following errrors:
>>
>> /net/hp95/users/jstuden3/cmake-2.8.8/Source/CursesDialog/form/form.h:46:31:
>> error: ncurses/ncurses.h: No such file or directory
>> In file included from
>> /net/hp95/users/jstuden3/cmake-2.8.8/Source/CursesDialog/form/form.priv.h:34,
>> from
>> /net/hp95/users/jstuden3/cmake-2.8.8/Source/CursesDialog/form/fld_arg.c:33:
>> /net/hp95/users/jstuden3/cmake-2.8.8/Source/CursesDialog/form/form.h:93:
>> error: expected specifier-qualifier-list before ‘chtype’
>> /net/hp95/users/jstuden3/cmake-2.8.8/Source/CursesDialog/form/form.h:120:
>> error: expected specifier-qualifier-list before ‘bool’
>> /net/hp95/users/jstuden3/cmake-2.8.8/Source/CursesDialog/form/form.h:144:
>> error: expected specifier-qualifier-list before ‘WINDOW’
>> ...
>> ...
>> a bunch of stuff like this, and then
>>
>> gmake[2]: ***
>> [Source/CursesDialog/form/CMakeFiles/cmForm.dir/fld_arg.c.o] Error 1
>> gmake[1]: *** [Source/CursesDialog/form/CMakeFiles/cmForm.dir/all] Error 2
>> gmake: *** [all] Error 2
>>
>> I have ncurses installed in /net/hu19/jstuden3/x86_64-6.4/ (lib/ for the
>> .a's, and include/ for the headers).
>>
>> 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......
>>
>> Regards,
>> Josh
>>
>>
>>
>> --
>>
>> Powered by www.kitware.com
>>
>> Please keep messages on-topic and check the CMake FAQ at:
>> http://www.cmake.org/Wiki/CMake_FAQ
>>
>> Kitware offers various services to support the CMake community. For more
>> information on each offering, please visit:
>>
>> CMake Support: http://cmake.org/cmake/help/support.html
>> CMake Consulting: http://cmake.org/cmake/help/consulting.html
>> CMake Training Courses: http://cmake.org/cmake/help/training.html
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/cmake
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20141105/774da665/attachment.html>
More information about the CMake
mailing list