Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
the error of youcompleteme:cmake failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
beyondkmp
n00b
n00b


Joined: 14 Jan 2014
Posts: 28

PostPosted: Wed Jun 18, 2014 11:24 am    Post subject: the error of youcompleteme:cmake failed Reply with quote

Today, I update youcompleteme.There were a error.
Code:

Using external libclang: /usr/lib64/libclang.so
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
  Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR
  GTEST_MAIN_LIBRARY)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindGTest.cmake:150 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  ycm/tests/CMakeLists.txt:33 (find_package)


-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/app-vim/youcompleteme-99999999/work/youcompleteme-99999999/third_party/ycmd/cpp/CMakeFiles/CMakeOutput.log".
 * ERROR: app-vim/youcompleteme-99999999::gentoo failed (configure phase):
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 3816:  Called cmake-utils_src_configure
 *   environment, line 1023:  Called _execute_optionally 'src_configure'
 *   environment, line  296:  Called enable_cmake-utils_src_configure
 *   environment, line 1330:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 *
 * If you need support, post the output of `emerge --info '=app-vim/youcompleteme-99999999::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-vim/youcompleteme-99999999::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-vim/youcompleteme-99999999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-vim/youcompleteme-99999999/temp/environment'.
 * Working directory: '/var/tmp/portage/app-vim/youcompleteme-99999999/work/youcompleteme-99999999/third_party/ycmd/cpp'
 * S: '/var/tmp/portage/app-vim/youcompleteme-99999999/work/youcompleteme-99999999'

>>> Failed to emerge app-vim/youcompleteme-99999999, Log file:

>>>  '/var/tmp/portage/app-vim/youcompleteme-99999999/temp/build.log'

 * Messages for package app-vim/youcompleteme-99999999:

 * ERROR: app-vim/youcompleteme-99999999::gentoo failed (configure phase):
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 3816:  Called cmake-utils_src_configure
 *   environment, line 1023:  Called _execute_optionally 'src_configure'
 *   environment, line  296:  Called enable_cmake-utils_src_configure
 *   environment, line 1330:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 *
 * If you need support, post the output of `emerge --info '=app-vim/youcompleteme-99999999::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-vim/youcompleteme-99999999::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-vim/youcompleteme-99999999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-vim/youcompleteme-99999999/temp/environment'.
 * Working directory: '/var/tmp/portage/app-vim/youcompleteme-99999999/work/youcompleteme-99999999/third_party/ycmd/cpp'
 * S: '/var/tmp/portage/app-vim/youcompleteme-99999999/work/youcompleteme-99999999'


My Cmake's version:
Code:

beyond@beyond ~ $ cmake
cmake version 2.8.12.2
Usage



Does anybody meet this problem??Could you help me! Thank you very much.
Back to top
View user's profile Send private message
user
Tux's lil' helper
Tux's lil' helper


Joined: 08 Feb 2004
Posts: 145

PostPosted: Wed Jun 18, 2014 6:49 pm    Post subject: Reply with quote

Hi beyondkmp,
Quote:
-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/app-vim/youcompleteme-99999999/work/youcompleteme-99999999/third_party/ycmd/cpp/CMakeFiles/CMakeOutput.log".

Did you look into this log file for searching further informations?
Back to top
View user's profile Send private message
beyondkmp
n00b
n00b


Joined: 14 Jan 2014
Posts: 28

PostPosted: Thu Jun 19, 2014 4:21 am    Post subject: Reply with quote

user wrote:
Hi beyondkmp,
Quote:
-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/app-vim/youcompleteme-99999999/work/youcompleteme-99999999/third_party/ycmd/cpp/CMakeFiles/CMakeOutput.log".

Did you look into this log file for searching further informations?


Thank you! I look into the ebuild file. I find it depend on gtest and gmock,and the error is about Gtest. So I install them,I install youcompleteme successfully.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum