The following issue has been SUBMITTED. ====================================================================== https://cmake.org/Bug/view.php?id=15836 ====================================================================== Reported By: Abdul Naseer Assigned To: ====================================================================== Project: CMake Issue ID: 15836 Category: CMake Reproducibility: always Severity: block Priority: immediate Status: new ====================================================================== Date Submitted: 2015-11-06 01:26 EST Last Modified: 2015-11-06 01:26 EST ====================================================================== Summary: Cmake Build Fails for cmake 3.1 version Description: I have tried to build the package cmake 3.1 I used below commands to build the package and install it
[root@euca-10-254-99-245 cmake-3.1.0]# ./bootstrap --prefix=/apps/public/cmake_3.1/ --system-libs --no-system-jsoncpp --mandir=/share/man this above command is successfully completed. But when i go for the second command ( gmake command) it fails at some point ( at 31%-fails) [root@euca-10-254-169-217 cmake-3.1.0]# gmake [ 3%] Built target cmIML_test [ 9%] Built target cmsys [ 9%] Built target cmsysTestDynload [ 12%] Built target cmsys_c [ 12%] Built target cmsysTestProcess [ 13%] Built target cmsysTestSharedForward [ 14%] Built target cmsysTestsC [ 17%] Built target cmsysTestsCxx [ 18%] Built target cmcompress [ 31%] Built target cmForm [ 31%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmArchiveWrite.cxx.o /ephemeral/abdnasee/cmake/cmake-3.1.0/Source/cmArchiveWrite.cxx: In function âvoid cm_archive_entry_copy_sourcepath(archive_entry*, const std::string&)â: /ephemeral/abdnasee/cmake/cmake-3.1.0/Source/cmArchiveWrite.cxx:43: error: âarchive_entry_copy_sourcepath_wâ was not declared in this scope /ephemeral/abdnasee/cmake/cmake-3.1.0/Source/cmArchiveWrite.cxx: In constructor âcmArchiveWrite::cmArchiveWrite(std::ostream&, cmArchiveWrite::Compress, cmArchiveWrite::Type)â: /ephemeral/abdnasee/cmake/cmake-3.1.0/Source/cmArchiveWrite.cxx:164: error: âarchive_write_set_format_7zipâ was not declared in this scope gmake[2]: *** [Source/CMakeFiles/CMakeLib.dir/cmArchiveWrite.cxx.o] Error 1 gmake[1]: *** [Source/CMakeFiles/CMakeLib.dir/all] Error 2 gmake: *** [all] Error 2 Steps to Reproduce: You can simply download one tar file of cmake 3.1 and untar it and do the build using below commands Additional Information: When i am using the first command ( ./bootstrap --prefix=/apps/public/cmake_3.1/ --system-libs --no-system-jsoncpp --mandir=/share/man) without the options --system-libs, the build get successful, but then there wont be any lib files inside the installed path. Is this a bug or do i need to install any packages extra. I have installed all the required dependencies. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2015-11-06 01:26 Abdul Naseer New Issue 2015-11-06 01:26 Abdul Naseer File Added: Cmake error.JPG ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers