[Insight-developers] Cmake on Linux

William A. Hoffman bill.hoffman@kitware.com
Thu, 13 Dec 2001 18:07:07 -0500


configure seems to be building cmake ok, but the resulting cmake segfaults.

Can you run it in the debugger?

gdb /a/homer/users/lng/CMake/CMake-linux/Source/cmake
gdb) run -S/a/homer/users/lng/CMake/CMake/Source/CursesDialog/form
-O/a/homer/users/lng/CMake/CMake-linux/Source/CursesDialog/form
-H/a/homer/users/lng/CMake/CMake -B/a/homer/users/lng/CMake/CMake-linux


Also, what version of cmake are you using?


-Bill

At 02:49 PM 12/13/2001 -0800, you wrote:

>Anyone else having problems building CMake for Linux?
>
>I get a segmentation fault when I execute
>../CMake/configure
>
>Here is the error message:
>===========================
>gmake[2]: Entering directory
>`/a/homer/users/lng/CMake/CMake-linux/Source/CursesDialog/form'
>/a/homer/users/lng/CMake/CMake-linux/Source/cmake
>-S/a/homer/users/lng/CMake/CMake/Source/CursesDialog/form
>-O/a/homer/users/lng/CMake/CMake-linux/Source/CursesDialog/form
>-H/a/homer/users/lng/CMake/CMake -B/a/homer/users/lng/CMake/CMake-linux
>gmake[2]: *** [depend] Segmentation fault (core dumped)
>gmake[2]: Leaving directory
>`/a/homer/users/lng/CMake/CMake-linux/Source/CursesDialog/form'
>gmake[1]: *** [depend_CursesDialog_form] Error 2
>gmake[1]: Leaving directory
>`/a/homer/users/lng/CMake/CMake-linux/Source'
>gmake: *** [depend_Source] Error 2
>
>
>System info:
>============
>sprime:lng:13% uname -a
>Linux sprime 2.4.2 #1 SMP Fri Apr 6 15:37:56 PDT 2001 i686 unknown
>sprime:lng:14% gcc -v
>Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
>gcc version 2.96 20000731 (Red Hat Linux 7.0)
>sprime:lng:15% gmake -v
>GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
>Built for i386-redhat-linux-gnu
>Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
>         Free Software Foundation, Inc.
>This is free software; see the source for copying conditions.
>There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
>PARTICULAR PURPOSE.
>
>Report bugs to <bug-make@gnu.org>.
>
>
>-Lydia
>_______________________________________________
>Insight-developers mailing list
>Insight-developers@public.kitware.com
>http://public.kitware.com/mailman/listinfo/insight-developers