Hi Bill, Thanks for pointing that out! Following the direction, I downloaded ncurses-5.7.tar.gz I untared it, and in its directory I do: ./configure --prefix=/home/gaoyi/usr/local (since I don't have permission for paths other than my home dir) make make install
I can see ncurses is in /home/gaoyi/usr/local/include and /home/gaoyi/usr/local/lib (The problem may not be specific to build cmake, but I would very appreciate if you could give me some hint on that since that will permanently solve my problem on library dependency....) Then I come back to cmake source dir, and do (I'm using bash) export CPPFLAGS=-I/home/gaoyi/usr/local/include export CFLAGS=-I/home/gaoyi/usr/local/include export LDFLAGS=-L/home/gaoyi/usr/local/lib ./configure --prefix=/home/gaoyi/usr/local make Then I see the error messages saying "ncurses/ncurses.h: No such file or directory" like: In file included from /home/gaoyi/usr/package/build/cmake-2.8.0/Source/CursesDialog/form/form.priv.h:34, from /home/gaoyi/usr/package/build/cmake-2.8.0/Source/CursesDialog/form/fld_arg.c:33: /home/gaoyi/usr/package/build/cmake-2.8.0/Source/CursesDialog/form/form.h:46:31: error: ncurses/ncurses.h: No such file or directory I googled but the only things I found was the evn vars which I already set. Could I have any hints? Thanks very much! Best, yi On Tue, Dec 8, 2009 at 4:23 PM, Bill Hoffman <bill.hoff...@kitware.com> wrote: > Gao, Yi wrote: >> >> Hi, >> >> I was trying to use a IBM cell machine to run some of my code, first >> of which I need to set up CMake on it. >> >> I downloaded all binary releases on cmake download page, but they >> don't work. Giving me a "cannot execute binary file" error. This is >> fine because the system seems to be not usual. >> >> Then I download the unix source and configure and make. I got >> executable cmake, but NOT ccmake >> > > You need to make sure you have a curses development package installed. CMake > needs to find the curses header files and libraries in order to build > ccmake. > > -Bill > -- Yi Gao Graduate Student Dept. Biomedical Engineering Georgia Institute of Technology _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake