[CMake] installation problem

Zhuang Song zhuang.song at gmail.com
Sun May 2 20:30:04 EDT 2010


Hi Alan,

Thank you for pointing out the issue of the Linux version.

> That is an extraordinarily old kernel likely accompanied by an old Linux
> distribution as well.  Is that RHEL 4 (which does use kernel 2.6.9) or one
> of its clones?  RHEL 4 came out in 2005.
>

Sorry I probably didn't get accurate information of our system.
According to dmesg, our system is: "Linux version 2.6.18-164.15.1.el5
(brewbuilder at norob.fnal.gov) (gcc version 4.1.2 20080704 (Red Hat
4.1.2-48)) ". I tried uname and the result agreed with dmesg. However,
I am not sure when Red Hat 4.1.2 was released.

>
> Have you tried bootstrapping an older CMake system from the 2005 era? If
> that works, you may want to bisect the problem until you find the most
> modern CMake version that is compatible with your Linux distro.
>

I just tried Cmake 2.0.6 (released in 2006), which is the oldest
version compatible with the software I want to install in the next
step.  I still got a lot of error messages as in the attached output
file. I couldn't get ccmake binary after running make.

Thanks,
Zhuang

> Alan
> __________________________
> Alan W. Irwin
>
> Astronomical research affiliation with Department of Physics and Astronomy,
> University of Victoria (astrowww.phys.uvic.ca).
>
> Programming affiliations with the FreeEOS equation-of-state implementation
> for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
> package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
> Linux Links project (loll.sf.net); and the Linux Brochure Project
> (lbproject.sf.net).
> __________________________
>
> Linux-powered Science
> __________________________
>



-- 
Zhuang Song, Ph.D.
Postdoctoral Fellow
Department of Psychiatry
University of California, San Diego
3350 La Jolla Village Drive (116A)
San Diego, CA  92161
-------------- next part --------------
---------------------------------------------
CMake 2.0-6, Copyright (c) 2002 Kitware, Inc., Insight Consortium
C compiler on this system is: cc 
C++ compiler on this system is: g++ 
Make processor on this system is: make
g++ has STL in std:: namespace
g++ has ANSI streams
g++ has streams in std:: namespace
g++ has sstream
g++ has ANSI for scoping
---------------------------------------------
g++ -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Source   -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Bootstrap.cmk -c /usr/local/home/songz/Toolkits/cmake-2.0.6/Source/cmake.cxx -o cmake.o
g++ -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Source   -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Bootstrap.cmk -c /usr/local/home/songz/Toolkits/cmake-2.0.6/Source/cmakewizard.cxx -o cmakewizard.o
g++ -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Source   -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Bootstrap.cmk -c /usr/local/home/songz/Toolkits/cmake-2.0.6/Source/cmakemain.cxx -o cmakemain.o
g++ -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Source   -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Bootstrap.cmk -c /usr/local/home/songz/Toolkits/cmake-2.0.6/Source/cmMakeDepend.cxx -o cmMakeDepend.o
g++ -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Source   -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Bootstrap.cmk -c /usr/local/home/songz/Toolkits/cmake-2.0.6/Source/cmMakefile.cxx -o cmMakefile.o
g++ -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Source   -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Bootstrap.cmk -c /usr/local/home/songz/Toolkits/cmake-2.0.6/Source/cmDocumentation.cxx -o cmDocumentation.o
g++ -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Source   -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Bootstrap.cmk -c /usr/local/home/songz/Toolkits/cmake-2.0.6/Source/cmGlob.cxx -o cmGlob.o
g++ -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Source   -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Bootstrap.cmk -c /usr/local/home/songz/Toolkits/cmake-2.0.6/Source/cmGlobalGenerator.cxx -o cmGlobalGenerator.o
g++ -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Source   -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Bootstrap.cmk -c /usr/local/home/songz/Toolkits/cmake-2.0.6/Source/cmLocalGenerator.cxx -o cmLocalGenerator.o
g++ -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Source   -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Bootstrap.cmk -c /usr/local/home/songz/Toolkits/cmake-2.0.6/Source/cmSourceFile.cxx -o cmSourceFile.o
g++ -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Source   -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Bootstrap.cmk -c /usr/local/home/songz/Toolkits/cmake-2.0.6/Source/cmSystemTools.cxx -o cmSystemTools.o
g++ -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Source   -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Bootstrap.cmk -c /usr/local/home/songz/Toolkits/cmake-2.0.6/Source/cmGlobalUnixMakefileGenerator.cxx -o cmGlobalUnixMakefileGenerator.o
g++ -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Source   -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Bootstrap.cmk -c /usr/local/home/songz/Toolkits/cmake-2.0.6/Source/cmLocalUnixMakefileGenerator.cxx -o cmLocalUnixMakefileGenerator.o
g++ -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Source   -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Bootstrap.cmk -c /usr/local/home/songz/Toolkits/cmake-2.0.6/Source/cmCommands.cxx -o cmCommands.o
g++ -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Source   -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Bootstrap.cmk -c /usr/local/home/songz/Toolkits/cmake-2.0.6/Source/cmTarget.cxx -o cmTarget.o
g++ -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Source   -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Bootstrap.cmk -c /usr/local/home/songz/Toolkits/cmake-2.0.6/Source/cmCustomCommand.cxx -o cmCustomCommand.o
g++ -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Source   -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Bootstrap.cmk -c /usr/local/home/songz/Toolkits/cmake-2.0.6/Source/cmCacheManager.cxx -o cmCacheManager.o
g++ -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Source   -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Bootstrap.cmk -c /usr/local/home/songz/Toolkits/cmake-2.0.6/Source/cmListFileCache.cxx -o cmListFileCache.o
g++ -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Source   -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Bootstrap.cmk -c /usr/local/home/songz/Toolkits/cmake-2.0.6/Source/cmVariableWatch.cxx -o cmVariableWatch.o
g++ -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Source   -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Bootstrap.cmk -c /usr/local/home/songz/Toolkits/cmake-2.0.6/Source/cmSourceGroup.cxx -o cmSourceGroup.o
cc -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Source   -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Bootstrap.cmk -c /usr/local/home/songz/Toolkits/cmake-2.0.6/Source/cmListFileLexer.c -o cmListFileLexer.o
g++ -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Source   -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Bootstrap.cmk -DKWSYS_NAMESPACE=cmsys -c /usr/local/home/songz/Toolkits/cmake-2.0.6/Source/kwsys/Directory.cxx -o Directory.o
g++ -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Source   -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Bootstrap.cmk -DKWSYS_NAMESPACE=cmsys -c /usr/local/home/songz/Toolkits/cmake-2.0.6/Source/kwsys/RegularExpression.cxx -o RegularExpression.o
g++ -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Source   -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Bootstrap.cmk -DKWSYS_NAMESPACE=cmsys -c /usr/local/home/songz/Toolkits/cmake-2.0.6/Source/kwsys/SystemTools.cxx -o SystemTools.o
cc -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Source   -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Bootstrap.cmk -DKWSYS_NAMESPACE=cmsys -c /usr/local/home/songz/Toolkits/cmake-2.0.6/Source/kwsys/ProcessUNIX.c -o ProcessUNIX.o
g++  -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Source   -I/usr/local/home/songz/Toolkits/cmake-2.0.6/Bootstrap.cmk  cmake.o cmakewizard.o cmakemain.o cmMakeDepend.o cmMakefile.o cmDocumentation.o cmGlob.o cmGlobalGenerator.o cmLocalGenerator.o cmSourceFile.o cmSystemTools.o cmGlobalUnixMakefileGenerator.o cmLocalUnixMakefileGenerator.o cmCommands.o cmTarget.o cmCustomCommand.o cmCacheManager.o cmListFileCache.o cmVariableWatch.o cmSourceGroup.o cmListFileLexer.o Directory.o RegularExpression.o SystemTools.o ProcessUNIX.o -o cmake
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Checking for CXX include file iostream
-- Checking for CXX include file iostream -- found
-- Check for STD namespace
-- Check for STD namespace - found
-- Check for ANSI scope
-- Check for ANSI scope - found
-- Checking for CXX include file sstream
-- Checking for CXX include file sstream -- found
-- Using Buildname: Linux-g++
-- Checking whether STL classes are in std namespace
-- Checking whether STL classes are in std namespace - yes
-- Checking whether ANSI stream headers are available
-- Checking whether ANSI stream headers are available - yes
-- Checking whether ANSI streams are in std namespace
-- Checking whether ANSI streams are in std namespace - yes
-- Checking whether ANSI string stream is available
-- Checking whether ANSI string stream is available - yes
-- Looking for dlopen in dl;
-- Looking for dlopen in dl; - found
-- Looking for gethostname in ucb;dl
-- Looking for gethostname in ucb;dl - not found
-- Looking for connect in socket;dl
-- Looking for connect in socket;dl - not found
-- Looking for gethostbyname in c
-- Looking for gethostbyname in c - found
-- Looking for getch in ws2_32;dl
-- Looking for getch in ws2_32;dl - not found
-- Looking for getch in winmm;dl
-- Looking for getch in winmm;dl - not found
-- Looking for inflateEnd in z;dl
-- Looking for inflateEnd in z;dl - found
-- Looking for CRYPTO_lock in crypto;dl;z
-- Looking for CRYPTO_lock in crypto;dl;z - not found
-- Looking for dlopen in dl;z
-- Looking for dlopen in dl;z - found
-- Looking for features.h
-- Looking for features.h - found
-- Looking for include files HAVE_SYS_TYPES_H
-- Looking for include files HAVE_SYS_TYPES_H - found
-- Looking for include files HAVE_INTTYPES_H
-- Looking for include files HAVE_INTTYPES_H - found
-- Looking for include files HAVE_ALLOCA_H
-- Looking for include files HAVE_ALLOCA_H - found
-- Looking for include files HAVE_ARPA_INET_H
-- Looking for include files HAVE_ARPA_INET_H - found
-- Looking for include files HAVE_DLFCN_H
-- Looking for include files HAVE_DLFCN_H - found
-- Looking for include files HAVE_FCNTL_H
-- Looking for include files HAVE_FCNTL_H - found
-- Looking for include files HAVE_MALLOC_H
-- Looking for include files HAVE_MALLOC_H - found
-- Looking for include files HAVE_MEMORY_H
-- Looking for include files HAVE_MEMORY_H - found
-- Looking for include files HAVE_NETDB_H
-- Looking for include files HAVE_NETDB_H - found
-- Looking for include files HAVE_ZLIB_H
-- Looking for include files HAVE_ZLIB_H - found
-- Looking for include files HAVE_SYS_POLL_H
-- Looking for include files HAVE_SYS_POLL_H - found
-- Looking for include files HAVE_SYS_SOCKET_H
-- Looking for include files HAVE_SYS_SOCKET_H - found
-- Looking for include files HAVE_NETINET_IN_H
-- Looking for include files HAVE_NETINET_IN_H - found
-- Looking for include files HAVE_NET_IF_H
-- Looking for include files HAVE_NET_IF_H - found
-- Looking for include files HAVE_NETINET_IF_ETHER_H
-- Looking for include files HAVE_NETINET_IF_ETHER_H - found
-- Looking for include files HAVE_SYS_SELECT_H
-- Looking for include files HAVE_SYS_SELECT_H - found
-- Looking for include files HAVE_UTIME_H
-- Looking for include files HAVE_UTIME_H - found
-- Looking for include files HAVE_PWD_H
-- Looking for include files HAVE_PWD_H - found
-- Looking for include files HAVE_SGTTY_H
-- Looking for include files HAVE_SGTTY_H - found
-- Looking for include files HAVE_STDINT_H
-- Looking for include files HAVE_STDINT_H - found
-- Looking for include files HAVE_STDLIB_H
-- Looking for include files HAVE_STDLIB_H - found
-- Looking for include files HAVE_STRING_H
-- Looking for include files HAVE_STRING_H - found
-- Looking for include files HAVE_STRINGS_H
-- Looking for include files HAVE_STRINGS_H - found
-- Looking for include files HAVE_SYS_PARAM_H
-- Looking for include files HAVE_SYS_PARAM_H - found
-- Looking for include files HAVE_SYS_STAT_H
-- Looking for include files HAVE_SYS_STAT_H - found
-- Looking for include files HAVE_SYS_TIME_H
-- Looking for include files HAVE_SYS_TIME_H - found
-- Looking for include files HAVE_TERMIOS_H
-- Looking for include files HAVE_TERMIOS_H - found
-- Looking for include files HAVE_TERMIO_H
-- Looking for include files HAVE_TERMIO_H - found
-- Looking for include files HAVE_IO_H
-- Looking for include files HAVE_IO_H - not found.
-- Looking for include files HAVE_TIME_H
-- Looking for include files HAVE_TIME_H - found
-- Looking for include files HAVE_UNISTD_H
-- Looking for include files HAVE_UNISTD_H - found
-- Looking for include files HAVE_SYS_UTIME_H
-- Looking for include files HAVE_SYS_UTIME_H - not found.
-- Looking for include files HAVE_WINSOCK_H
-- Looking for include files HAVE_WINSOCK_H - not found.
-- Looking for include files HAVE_SOCKIO_H
-- Looking for include files HAVE_SOCKIO_H - not found.
-- Looking for include files HAVE_SYS_SOCKIO_H
-- Looking for include files HAVE_SYS_SOCKIO_H - not found.
-- Looking for include files HAVE_X509_H
-- Looking for include files HAVE_X509_H - not found.
-- Looking for include files HAVE_SETJMP_H
-- Looking for include files HAVE_SETJMP_H - found
-- Looking for include files HAVE_SIGNAL_H
-- Looking for include files HAVE_SIGNAL_H - found
-- Check size of ssize_t
-- Check size of ssize_t - done
-- Check size of long double
-- Check size of long double - done
-- Looking for socket
-- Looking for socket - found
-- Looking for poll
-- Looking for poll - found
-- Looking for select
-- Looking for select - found
-- Looking for strdup
-- Looking for strdup - found
-- Looking for strstr
-- Looking for strstr - found
-- Looking for strtok_r
-- Looking for strtok_r - found
-- Looking for strftime
-- Looking for strftime - found
-- Looking for uname
-- Looking for uname - not found.
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for stricmp
-- Looking for stricmp - not found.
-- Looking for strcmpi
-- Looking for strcmpi - not found.
-- Looking for gethostbyaddr
-- Looking for gethostbyaddr - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for inet_addr
-- Looking for inet_addr - found
-- Looking for inet_ntoa
-- Looking for inet_ntoa - found
-- Looking for inet_ntoa_r
-- Looking for inet_ntoa_r - not found.
-- Looking for tcsetattr
-- Looking for tcsetattr - found
-- Looking for tcgetattr
-- Looking for tcgetattr - found
-- Looking for perror
-- Looking for perror - not found.
-- Looking for closesocket
-- Looking for closesocket - not found.
-- Looking for setvbuf
-- Looking for setvbuf - not found.
-- Looking for sigsetjmp
-- Looking for sigsetjmp - found
-- Looking for getpass_r
-- Looking for getpass_r - not found.
-- Looking for strlcat
-- Looking for strlcat - not found.
-- Looking for getpwuid
-- Looking for getpwuid - found
-- Looking for geteuid
-- Looking for geteuid - found
-- Looking for utime
-- Looking for utime - found
-- Looking for RAND_status
-- Looking for RAND_status - not found.
-- Looking for RAND_screen
-- Looking for RAND_screen - not found.
-- Looking for RAND_egd
-- Looking for RAND_egd - not found.
-- Looking for gmtime_r
-- Looking for gmtime_r - found
-- Looking for localtime_r
-- Looking for localtime_r - found
-- Looking for gethostbyname_r
-- Looking for gethostbyname_r - found
-- Looking for gethostbyaddr_r
-- Looking for gethostbyaddr_r - found
-- Looking for signal
-- Looking for signal - found
-- Looking for SIGALRM
-- Looking for SIGALRM - found
-- Looking for sigaction
-- Looking for sigaction - found
-- Performing Curl Test TIME_WITH_SYS_TIME
-- Performing Curl Test TIME_WITH_SYS_TIME - Success
-- Performing Curl Test HAVE_O_NONBLOCK
-- Performing Curl Test HAVE_O_NONBLOCK - Success
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_5
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_5 - Failed
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_7
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_7 - Failed
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_8
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_8 - Success
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_5_REENTRANT
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_5_REENTRANT - Failed
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_7_REENTRANT
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_7_REENTRANT - Failed
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_8_REENTRANT
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_8_REENTRANT - Success
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_3
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_3 - Failed
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_5
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_5 - Failed
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_6
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_6 - Success
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_3_REENTRANT
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_3_REENTRANT - Failed
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_5_REENTRANT
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_5_REENTRANT - Failed
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_6_REENTRANT
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_6_REENTRANT - Success
-- Performing Curl Test HAVE_SOCKLEN_T
-- Performing Curl Test HAVE_SOCKLEN_T - Success
-- Performing Curl Test HAVE_IN_ADDR_T
-- Performing Curl Test HAVE_IN_ADDR_T - Success
-- Performing Curl Test STDC_HEADERS
-- Performing Curl Test STDC_HEADERS - Success
-- Performing Curl Test RETSIGTYPE_TEST
-- Performing Curl Test RETSIGTYPE_TEST - Success
-- Performing Curl Test HAVE_INET_NTOA_R_DECL
-- Performing Curl Test HAVE_INET_NTOA_R_DECL - Failed
-- Performing Curl Test HAVE_INET_NTOA_R_DECL_REENTRANT
-- Performing Curl Test HAVE_INET_NTOA_R_DECL_REENTRANT - Failed
-- Performing Curl Test HAVE_GETADDRINFO
-- Performing Curl Test HAVE_GETADDRINFO - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/public_data/Zhuang/Toolkits/cmake-2.0.6
---------------------------------------------
CMake has bootstrapped.  Now run make.


More information about the CMake mailing list