What's the error as "CMAKE_BOOTSTRAP_BINARY_DIR" at a time as build CMake from a source code -


what's error "cmake_bootstrap_binary_dir". how can build cmake source.

environment:

reproduction:

git clone git@github.com:kitware/cmake.git cd cmake git checkout v3.2.2 ./bootstrap 

error ( @ ./bootstrap ):

--------------------------------------------- g++  -i/home/usagi/repos/cmake/bootstrap.cmk -i/home/usagi/repos/cmake/source   -i/home/usagi/repos/cmake/bootstrap.cmk -c /home/usagi/repos/cmake/source/cmsystemtools.cxx -o cmsystemtools.o /home/usagi/repos/cmake/source/cmsystemtools.cxx: in static member function ‘static void cmsystemtools::findcmakeresources(const char*)’: /home/usagi/repos/cmake/source/cmsystemtools.cxx:2195:13: error: ‘cmake_bootstrap_binary_dir’ not declared in scope    exe_dir = cmake_bootstrap_binary_dir "/bin";              ^ /home/usagi/repos/cmake/source/cmsystemtools.cxx:2249:28: error: ‘cmake_bootstrap_source_dir’ not declared in scope    cmsystemtoolscmakeroot = cmake_bootstrap_source_dir;                             ^ makefile:88: recipe target 'cmsystemtools.o' failed make: *** [cmsystemtools.o] error 1 --------------------------------------------- error when bootstrapping cmake: problem while running make 

note:

  • "/home/usagi/repos" repository pool directory in account.( "usagi" user name in system.)

i got solution @ try on after lunch time.

the solution:

rm * git checkout -f  ./configure # in environment, not require "./bootstrap".  make 

"./bootstrap" not needed in environment.


Comments

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -