root@bee:/usr/src/bee/mysql-5.6.23# /usr/local/bin/cmake -DCMAKE_INSTALL_PREFIX=/usr/local/mysql -DWITH_INNOBASE_STORAGE_ENGINE=1 -DWITH_PARTITION_STORAGE_ENGINE=1 -DWITH_EXTRA_CHARSETS=all -DWITH_SSL=system -DWITH_ZLIB=system -DENABLED_LOCAL_INFILE=1 -DWITH_VALGRIND=1 -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci -DMYSQL_DATADIR=/db
-- Running cmake version 3.1.3
-- Could NOT find Git (missing:  GIT_EXECUTABLE) 
-- MySQL 5.6.23
-- Packaging as: mysql-5.6.23-Linux-x86_64
CMake Error at configure.cmake:1083 (MESSAGE):
  Unable to find Valgrind header files
  valgrind/memcheck.h;valgrind/valgrind.h.  Make sure you have them in your include path.

Call Stack (most recent call first):
  CMakeLists.txt:398 (INCLUDE)


-- Configuring incomplete, errors occurred!
See also "/usr/src/bee/mysql-5.6.23/CMakeFiles/CMakeOutput.log".
See also "/usr/src/bee/mysql-5.6.23/CMakeFiles/CMakeError.log".

1 답변

0 투표

valgrind 패키지를 설치해주면 해결됩니다. 

Ubuntu(우분투) : sudo apt-get install valgrind

CentOS : yum install valgrind valgrind-devel

* 소스 디렉토리를 지우고 다시 압축을 해제하시 후 진행해야 합니다.

 

add
...