2014-07-17 2 views
-1

내가 mysql을 설치할 때 오류가 발생합니다.CMakeLists.txt에서 CMake 오류가 발생했습니다.

CMake Error at CMakeLists.txt:130 (INCLUDE): 
    include could not find load file: 

    maintainer 


CMake Error at CMakeLists.txt:152 (INCLUDE): 
    include could not find load file: 

    character_sets 


CMake Error at CMakeLists.txt:154 (INCLUDE): 
    include could not find load file: 

    ssl 


CMake Error at CMakeLists.txt:155 (INCLUDE): 
    include could not find load file: 

    readline 


CMake Error at CMakeLists.txt:156 (INCLUDE): 
    include could not find load file: 

    mysql_version 


CMake Error at CMakeLists.txt:157 (INCLUDE): 
    include could not find load file: 

    libutils 


CMake Error at CMakeLists.txt:158 (INCLUDE): 
    include could not find load file: 

    dtrace 


CMake Error at CMakeLists.txt:159 (INCLUDE): 
    include could not find load file: 

    plugin 


CMake Error at CMakeLists.txt:160 (INCLUDE): 
    include could not find load file: 

    install_macros 


CMake Error at CMakeLists.txt:161 (INCLUDE): 
    include could not find load file: 

    install_layout 


CMake Error at CMakeLists.txt:162 (INCLUDE): 
    include could not find load file: 

    mysql_add_executable 


CMake Error at CMakeLists.txt:258 (INCLUDE): 
    include could not find load file: 

    configure.cmake 


CMake Error at CMakeLists.txt:265 (MYSQL_CHECK_ZLIB_WITH_COMPRESS): 
    Unknown CMake command "MYSQL_CHECK_ZLIB_WITH_COMPRESS". 


-- Configuring incomplete, errors occurred! 
+0

귀하의 질문은 불완전, downvoting입니다. 어떤 버전의 MySQL, CMake, 어떤 OS 등. 당신은 무엇을 시도 했습니까? 실제로 오류 출력을 보냅니 까? – usr1234567

답변

0

등의 설정 파일 maintainer.cmake와 해당 디렉토리에 CMAKE_MODULE_PATH,

을 그리고 물론 소스 코드를 게시!

+0

mysql 5.7 컴파일시 이와 같은 오류가 발생했습니다. – Purefan

관련 문제