[CMake] cmake 2.6.4 bootstrap failure x86_64

James Yoo james.yoo at gmail.com
Fri Jun 19 13:40:50 EDT 2009


awesome, that got me past the bootstrap...

how do I get it to find my ncurses headers and stuff?  I've tried editing
CMakeCache.txt, which seems to get it past the "configure" stage, but make
dies...

[ 45%] Building C object
Source/CursesDialog/form/CMakeFiles/cmForm.dir/fld_arg.o
In file included from
/home/jyoo/workspace/newfoopen/vtk/cmake/cmake-2.6.4/Source/CursesDialog/form/form.h:50,
                 from
/home/jyoo/workspace/newfoopen/vtk/cmake/cmake-2.6.4/Source/CursesDialog/form/form.priv.h:34,
                 from
/home/jyoo/workspace/newfoopen/vtk/cmake/cmake-2.6.4/Source/CursesDialog/form/fld_arg.c:33:
/auto/csmodeldata/foopen/AMD64/include/ncurses/curses.h:66:33:
ncurses/ncurses_dll.h: No such file or directory
/auto/csmodeldata/foopen/AMD64/include/ncurses/curses.h:141:28:
ncurses/unctrl.h: No such file or directory
In file included from
/home/jyoo/workspace/newfoopen/vtk/cmake/cmake-2.6.4/Source/CursesDialog/form/form.h:50,
                 from
/home/jyoo/workspace/newfoopen/vtk/cmake/cmake-2.6.4/Source/CursesDialog/form/form.priv.h:34,
                 from
/home/jyoo/workspace/newfoopen/vtk/cmake/cmake-2.6.4/Source/CursesDialog/form/fld_arg.c:33:
/auto/csmodeldata/foopen/AMD64/include/ncurses/curses.h:231: error: syntax
error before "acs_map"
/auto/csmodeldata/foopen/AMD64/include/ncurses/curses.h:231: warning: data
definition has no type or storage class
....



On Fri, Jun 19, 2009 at 11:38 AM, Bill Hoffman <bill.hoffman at kitware.com>wrote:

> James Yoo wrote:
>
>> Hi,
>>
>> I'm sure this question has been answered before, but I really did try to
>> find the answer via yabingle and was utterly unsuccessful... so let me
>> apologize in advance.
>>
>> I've never used cmake before but I need to install it so that I can
>> install Mayavi via VTK.
>>
>>
> Do this:
>
> 1. Remove your build and source tree
> 2. Get a new copy of the source tree
> 3. Do an out of source build
>   mkdir build
>   cd build
>   ../cmakesource/bootstrap --prefix=$MYINSTALLPREFIX
>   make
>
>
> There is an issue with bootstrapping more than once and in-source builds of
> cmake.
>
> -Bill
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090619/8fadb482/attachment-0001.htm>


More information about the CMake mailing list