[CMake] Having a real hardtime installing CMake on a Linux cluster machine
Joshua Studen
joshua.studen at gmail.com
Wed Nov 5 15:01:35 EST 2014
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20141105/0c9db441/attachment.html>
More information about the CMake
mailing list