[Cmake] Cmake 1.6.3 update

Xavier Pierce nemesis at optusnet.com.au
Sun Feb 9 21:20:47 EST 2003


Hi Brad,

I have used my RPM spec file to generate the binary rpm.  Here is the 
output of the rpmbuild -ba cmake.spec output

+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ cd /usr/src/redhat/BUILD
+ rm -rf cmake-1.6.3
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/cmake-1.6.3.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd cmake-1.6.3
/usr/src/redhat/BUILD/cmake-1.6.3
++ /usr/bin/id -u
+ '[' 500 = 0 ']'
++ /usr/bin/id -u
+ '[' 500 = 0 ']'
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ echo 'Patch #0 (CMake.omnetpp.patch):'
Patch #0 (CMake.omnetpp.patch):
+ patch -p1 -s
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm/rpm-tmp.83877
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd cmake-1.6.3
/usr/src/redhat/BUILD/cmake-1.6.3
+ LANG=C
+ export LANG
+ CFLAGS=-O3 -ffast-math -march=athlon -fomit-frame-pointer -pipe
+ export CFLAGS
+ CXXFLAGS=-O2 -march=athlon
+ export CXXFLAGS
+ FFLAGS=-O2 -march=athlon
+ export FFLAGS
+ ./configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu 
--target=athlon-redhat-linux-gnu --program-prefix= --prefix=/usr 
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin 
--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include 
--libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var 
--sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info
creating cache ./config.cache
checking for gmake... /usr/bin/gmake
/usr/src/redhat/BUILD/cmake-1.6.3/Bootstrap
Bootstrapping to directory /usr/src/redhat/BUILD/cmake-1.6.3/Bootstrap
creating cache ./config.cache
checking for gmake... /usr/bin/gmake
checking for gcc... gcc
checking whether the C compiler (gcc -O3 -ffast-math -march=athlon 
-fomit-frame-pointer -pipe  ) works... yes
checking whether the C compiler (gcc -O3 -ffast-math -march=athlon 
-fomit-frame-pointer -pipe  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... g++
checking whether the C++ compiler (g++ -O2 -march=athlon ) works... yes
checking whether the C++ compiler (g++ -O2 -march=athlon ) is a 
cross-compiler... no
checking whether we are using GNU C++... yes
checking whether g++ accepts -g... yes
checking system version (for dynamic loading)... Linux-2.4.18-24.8.0
checking for ansi standard C++ stringstream... yes
updating cache ./config.cache
creating ./config.status
creating Source/InitialConfigureFlags.cmake
creating Makefile
creating Source/Makefile
creating Source/cmConfigure.h
cd Source; /usr/bin/gmake
/usr/src/redhat/BUILD/cmake-1.6.3/Bootstrap/Source
gmake[1]: Entering directory 
`/usr/src/redhat/BUILD/cmake-1.6.3/Bootstrap/Source'
g++ -DCMAKE_ROOT_DIR='"/usr/src/redhat/BUILD/cmake-1.6.3"' -O2 
-march=athlon -DCMAKE_HAS_AUTOCONF 
-I/usr/src/redhat/BUILD/cmake-1.6.3/Bootstrap/Source -c 
/usr/src/redhat/BUILD/cmake-1.6.3/Source/cmake.cxx -o cmake.o
g++ -DCMAKE_ROOT_DIR='"/usr/src/redhat/BUILD/cmake-1.6.3"' -O2 
-march=athlon -DCMAKE_HAS_AUTOCONF 
-I/usr/src/redhat/BUILD/cmake-1.6.3/Bootstrap/Source -c 
/usr/src/redhat/BUILD/cmake-1.6.3/Source/cmakewizard.cxx -o cmakewizard.o
g++ -DCMAKE_ROOT_DIR='"/usr/src/redhat/BUILD/cmake-1.6.3"' -O2 
-march=athlon -DCMAKE_HAS_AUTOCONF 
-I/usr/src/redhat/BUILD/cmake-1.6.3/Bootstrap/Source -c 
/usr/src/redhat/BUILD/cmake-1.6.3/Source/cmakemain.cxx -o cmakemain.o
g++ -DCMAKE_ROOT_DIR='"/usr/src/redhat/BUILD/cmake-1.6.3"' -O2 
-march=athlon -DCMAKE_HAS_AUTOCONF 
-I/usr/src/redhat/BUILD/cmake-1.6.3/Bootstrap/Source -c 
/usr/src/redhat/BUILD/cmake-1.6.3/Source/cmMakeDepend.cxx -o cmMakeDepend.o
g++ -DCMAKE_ROOT_DIR='"/usr/src/redhat/BUILD/cmake-1.6.3"' -O2 
-march=athlon -DCMAKE_HAS_AUTOCONF 
-I/usr/src/redhat/BUILD/cmake-1.6.3/Bootstrap/Source -c 
/usr/src/redhat/BUILD/cmake-1.6.3/Source/cmMakefile.cxx -o cmMakefile.o
g++ -DCMAKE_ROOT_DIR='"/usr/src/redhat/BUILD/cmake-1.6.3"' -O2 
-march=athlon -DCMAKE_HAS_AUTOCONF 
-I/usr/src/redhat/BUILD/cmake-1.6.3/Bootstrap/Source -c 
/usr/src/redhat/BUILD/cmake-1.6.3/Source/cmGlobalGenerator.cxx -o 
cmGlobalGenerator.o
g++ -DCMAKE_ROOT_DIR='"/usr/src/redhat/BUILD/cmake-1.6.3"' -O2 
-march=athlon -DCMAKE_HAS_AUTOCONF 
-I/usr/src/redhat/BUILD/cmake-1.6.3/Bootstrap/Source -c 
/usr/src/redhat/BUILD/cmake-1.6.3/Source/cmLocalGenerator.cxx -o 
cmLocalGenerator.o
g++ -DCMAKE_ROOT_DIR='"/usr/src/redhat/BUILD/cmake-1.6.3"' -O2 
-march=athlon -DCMAKE_HAS_AUTOCONF 
-I/usr/src/redhat/BUILD/cmake-1.6.3/Bootstrap/Source -c 
/usr/src/redhat/BUILD/cmake-1.6.3/Source/cmRegularExpression.cxx -o 
cmRegularExpression.o
g++ -DCMAKE_ROOT_DIR='"/usr/src/redhat/BUILD/cmake-1.6.3"' -O2 
-march=athlon -DCMAKE_HAS_AUTOCONF 
-I/usr/src/redhat/BUILD/cmake-1.6.3/Bootstrap/Source -c 
/usr/src/redhat/BUILD/cmake-1.6.3/Source/cmSourceFile.cxx -o cmSourceFile.o
g++ -DCMAKE_ROOT_DIR='"/usr/src/redhat/BUILD/cmake-1.6.3"' -O2 
-march=athlon -DCMAKE_HAS_AUTOCONF 
-I/usr/src/redhat/BUILD/cmake-1.6.3/Bootstrap/Source -c 
/usr/src/redhat/BUILD/cmake-1.6.3/Source/cmSystemTools.cxx -o 
cmSystemTools.o
g++ -DCMAKE_ROOT_DIR='"/usr/src/redhat/BUILD/cmake-1.6.3"' -O2 
-march=athlon -DCMAKE_HAS_AUTOCONF 
-I/usr/src/redhat/BUILD/cmake-1.6.3/Bootstrap/Source -c 
/usr/src/redhat/BUILD/cmake-1.6.3/Source/cmDirectory.cxx -o cmDirectory.o
g++ -DCMAKE_ROOT_DIR='"/usr/src/redhat/BUILD/cmake-1.6.3"' -O2 
-march=athlon -DCMAKE_HAS_AUTOCONF 
-I/usr/src/redhat/BUILD/cmake-1.6.3/Bootstrap/Source -c 
/usr/src/redhat/BUILD/cmake-1.6.3/Source/cmGlobalUnixMakefileGenerator.cxx 
-o cmGlobalUnixMakefileGenerator.o
g++ -DCMAKE_ROOT_DIR='"/usr/src/redhat/BUILD/cmake-1.6.3"' -O2 
-march=athlon -DCMAKE_HAS_AUTOCONF 
-I/usr/src/redhat/BUILD/cmake-1.6.3/Bootstrap/Source -c 
/usr/src/redhat/BUILD/cmake-1.6.3/Source/cmLocalUnixMakefileGenerator.cxx 
-o cmLocalUnixMakefileGenerator.o
g++ -DCMAKE_ROOT_DIR='"/usr/src/redhat/BUILD/cmake-1.6.3"' -O2 
-march=athlon -DCMAKE_HAS_AUTOCONF 
-I/usr/src/redhat/BUILD/cmake-1.6.3/Bootstrap/Source -c 
/usr/src/redhat/BUILD/cmake-1.6.3/Source/cmCommands.cxx -o cmCommands.o
g++ -DCMAKE_ROOT_DIR='"/usr/src/redhat/BUILD/cmake-1.6.3"' -O2 
-march=athlon -DCMAKE_HAS_AUTOCONF 
-I/usr/src/redhat/BUILD/cmake-1.6.3/Bootstrap/Source -c 
/usr/src/redhat/BUILD/cmake-1.6.3/Source/cmTarget.cxx -o cmTarget.o
g++ -DCMAKE_ROOT_DIR='"/usr/src/redhat/BUILD/cmake-1.6.3"' -O2 
-march=athlon -DCMAKE_HAS_AUTOCONF 
-I/usr/src/redhat/BUILD/cmake-1.6.3/Bootstrap/Source -c 
/usr/src/redhat/BUILD/cmake-1.6.3/Source/cmCustomCommand.cxx -o 
cmCustomCommand.o
g++ -DCMAKE_ROOT_DIR='"/usr/src/redhat/BUILD/cmake-1.6.3"' -O2 
-march=athlon -DCMAKE_HAS_AUTOCONF 
-I/usr/src/redhat/BUILD/cmake-1.6.3/Bootstrap/Source -c 
/usr/src/redhat/BUILD/cmake-1.6.3/Source/cmCacheManager.cxx -o 
cmCacheManager.o
g++ -DCMAKE_ROOT_DIR='"/usr/src/redhat/BUILD/cmake-1.6.3"' -O2 
-march=athlon -DCMAKE_HAS_AUTOCONF 
-I/usr/src/redhat/BUILD/cmake-1.6.3/Bootstrap/Source -c 
/usr/src/redhat/BUILD/cmake-1.6.3/Source/cmListFileCache.cxx -o 
cmListFileCache.o
g++ -DCMAKE_ROOT_DIR='"/usr/src/redhat/BUILD/cmake-1.6.3"' -O2 
-march=athlon -DCMAKE_HAS_AUTOCONF 
-I/usr/src/redhat/BUILD/cmake-1.6.3/Bootstrap/Source -c 
/usr/src/redhat/BUILD/cmake-1.6.3/Source/cmVariableWatch.cxx -o 
cmVariableWatch.o
g++ -DCMAKE_ROOT_DIR='"/usr/src/redhat/BUILD/cmake-1.6.3"' -O2 
-march=athlon -DCMAKE_HAS_AUTOCONF 
-I/usr/src/redhat/BUILD/cmake-1.6.3/Bootstrap/Source -c 
/usr/src/redhat/BUILD/cmake-1.6.3/Source/cmSourceGroup.cxx -o 
cmSourceGroup.o
g++ cmake.o cmakewizard.o cmakemain.o cmMakeDepend.o cmMakefile.o 
cmGlobalGenerator.o cmLocalGenerator.o cmRegularExpression.o 
cmSourceFile.o cmSystemTools.o cmDirectory.o 
cmGlobalUnixMakefileGenerator.o cmLocalUnixMakefileGenerator.o 
cmCommands.o cmTarget.o cmCustomCommand.o cmCacheManager.o 
cmListFileCache.o cmVariableWatch.o cmSourceGroup.o 
-DCMAKE_ROOT_DIR='"/usr/src/redhat/BUILD/cmake-1.6.3"' -O2 -march=athlon 
-DCMAKE_HAS_AUTOCONF 
-I/usr/src/redhat/BUILD/cmake-1.6.3/Bootstrap/Source  -o cmake
gmake[1]: Leaving directory 
`/usr/src/redhat/BUILD/cmake-1.6.3/Bootstrap/Source'
-- Check for working C compiler: /home/xavier/bin/gcc
-- Check for working C compiler: /home/xavier/bin/gcc -- works
-- Check for working CXX compiler: /home/xavier/bin/g++
-- Check for working CXX compiler: /home/xavier/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
-- Configuring done
-- Generating done
/usr/src/redhat/BUILD/cmake-1.6.3/Source: building depend
/usr/src/redhat/BUILD/cmake-1.6.3/Source/CursesDialog/form: building depend
Building dependencies depend...
Building dependencies depend...
/usr/src/redhat/BUILD/cmake-1.6.3/Modules: building depend
/usr/src/redhat/BUILD/cmake-1.6.3/Modules/Platform: building depend
Building dependencies depend...
Building dependencies depend...
/usr/src/redhat/BUILD/cmake-1.6.3/Templates: building depend
Building dependencies depend...
/usr/src/redhat/BUILD/cmake-1.6.3/Utilities: building depend
/usr/src/redhat/BUILD/cmake-1.6.3/Utilities/Doxygen: building depend
Building dependencies depend...
Building dependencies depend...
Building dependencies depend...
+ make
cmake.depends is up-to-date
/usr/src/redhat/BUILD/cmake-1.6.3/Source: building default_target
Building object file cmake.o...
Building object file cmakewizard.o...
Building object file cmMakeDepend.o...
Building object file cmMakefile.o...
Building object file cmRegularExpression.o...
Building object file cmSourceFile.o...
Building object file cmSystemTools.o...
Building object file cmDirectory.o...
Building object file cmDynamicLoader.o...
Building object file cmCommands.o...
Building object file cmTarget.o...
Building object file cmCustomCommand.o...
Building object file cmCacheManager.o...
Building object file cmSourceGroup.o...
Building object file cmListFileCache.o...
Building object file cmGlobalGenerator.o...
Building object file cmGlobalUnixMakefileGenerator.o...
Building object file cmLocalGenerator.o...
Building object file cmLocalUnixMakefileGenerator.o...
Building object file cmVariableWatch.o...
Building static library libCMakeLib.a...
Building object file cmDumpDocumentation.o...
Building executable 
/usr/src/redhat/BUILD/cmake-1.6.3/Source/DumpDocumentation...
Building object file CursesDialog/cmCursesBoolWidget.o...
Building object file CursesDialog/cmCursesCacheEntryComposite.o...
Building object file CursesDialog/cmCursesDummyWidget.o...
Building object file CursesDialog/cmCursesFilePathWidget.o...
Building object file CursesDialog/cmCursesForm.o...
Building object file CursesDialog/cmCursesLabelWidget.o...
Building object file CursesDialog/cmCursesLongMessageForm.o...
Building object file CursesDialog/cmCursesMainForm.o...
Building object file CursesDialog/cmCursesPathWidget.o...
Building object file CursesDialog/cmCursesStringWidget.o...
Building object file CursesDialog/cmCursesWidget.o...
Building object file CursesDialog/ccmake.o...
Building object file fld_arg.o...
Building object file fld_attr.o...
Building object file fld_current.o...
Building object file fld_def.o...
Building object file fld_dup.o...
Building object file fld_ftchoice.o...
Building object file fld_ftlink.o...
Building object file fld_info.o...
Building object file fld_just.o...
Building object file fld_link.o...
Building object file fld_max.o...
Building object file fld_move.o...
Building object file fld_newftyp.o...
Building object file fld_opts.o...
Building object file fld_pad.o...
Building object file fld_page.o...
Building object file fld_stat.o...
Building object file fld_type.o...
Building object file fld_user.o...
Building object file frm_cursor.o...
Building object file frm_data.o...
Building object file frm_def.o...
Building object file frm_driver.o...
Building object file frm_hook.o...
Building object file frm_opts.o...
Building object file frm_page.o...
Building object file frm_post.o...
Building object file frm_req_name.o...
Building object file frm_scale.o...
Building object file frm_sub.o...
Building object file frm_user.o...
Building object file frm_win.o...
Building object file fty_alnum.o...
Building object file fty_alpha.o...
Building object file fty_enum.o...
Building object file fty_int.o...
Building object file fty_ipv4.o...
Building object file fty_num.o...
Building object file fty_regex.o...
Building static library libcmForm.a...
Building executable /usr/src/redhat/BUILD/cmake-1.6.3/Source/ccmake...
Building object file cmakemain.o...
Building executable /usr/src/redhat/BUILD/cmake-1.6.3/Source/cmake...
Building object file cmaketest.o...
Building executable /usr/src/redhat/BUILD/cmake-1.6.3/Source/cmaketest...
Building object file ctest.o...
Building object file cmCTest.o...
Building executable /usr/src/redhat/BUILD/cmake-1.6.3/Source/ctest...
/usr/src/redhat/BUILD/cmake-1.6.3/Source/CursesDialog/form: building 
default_target
/usr/src/redhat/BUILD/cmake-1.6.3/Modules: building default_target
cmake.depends is up-to-date
/usr/src/redhat/BUILD/cmake-1.6.3/Modules/Platform: building default_target
cmake.depends is up-to-date
/usr/src/redhat/BUILD/cmake-1.6.3/Templates: building default_target
cmake.depends is up-to-date
/usr/src/redhat/BUILD/cmake-1.6.3/Utilities: building default_target
cmake.depends is up-to-date
/usr/src/redhat/BUILD/cmake-1.6.3/Utilities/Doxygen: building default_target
cmake.depends is up-to-date
+ echo BUILD_DOCUMENTATION:BOOL=ON
+ cmake
-- Check for working C compiler: /home/xavier/bin/gcc -- works
-- Check for working CXX compiler: /home/xavier/bin/g++ -- works
running /bin/hostname 2>&1
Cecilia.Ad-Infinitum.com
running /usr/bin/nslookup Cecilia.Ad-Infinitum.com 2>&1
Note:  nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead.  Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
Server:		192.168.0.1
Address:	192.168.0.1#53

Non-authoritative answer:
Name:	Cecilia.Ad-Infinitum.com
Address: 212.100.230.160

running uname -a 2>&1
Linux Cecilia.Ad-Infinitum.com 2.4.18-24.8.0 #1 Fri Jan 31 07:28:55 EST 
2003 i686 athlon i386 GNU/Linux
VTK not found.  Set VTK_DIR to the directory containing VTKConfig.cmake. 
  This is either the root of the build tree, or PREFIX/lib/vtk for an 
installation.  For VTK 4.0, this is the location of UseVTK.cmake.  This 
is either the root of the build tree or PREFIX/include/vtk for an 
installation.
CMake Error: Could not open file for read in copy operatation 
DART_ROOT-NOTFOUND/Source/Client/Utility.conf.in
-- Configuring done
error: Bad exit status from /var/tmp/rpm/rpm-tmp.83877 (%build)


RPM build errors:
     Bad exit status from /var/tmp/rpm/rpm-tmp.83877 (%build)

Process rpmbuild exited abnormally with code 1


After looking at this myself I realised that I used the previously 
installed version of cmake to get it to configure a  Doxygen 
configuration file.  By running the newly compiled one like so
./Bootstrap/Source/cmake  I was able to rebuild it like before.

I have fixed my spec file accordingly.

Best  Regards,

Xavier

Brad King wrote:
>>CMake Error: Could not open file for read in copy operatation
>>DART_ROOT-NOTFOUND/Source/Client/Utility.conf.in
> 
> 
> What was your sequence of command lines used to build this?  I am unable
> to duplicate the problem, even when I'm sure DART_ROOT is not found.
> 
> -Brad
> 
> 




More information about the CMake mailing list