mydumper编译失败

来源:互联网 发布:装修公司排名 知乎 编辑:程序博客网 时间:2024/04/30 14:10


shit

# cmake .-- Using mysql-config: /usr/bin/mysql_config-- MySQL not found.CMake Warning at docs/CMakeLists.txt:9 (message):  Unable to find Sphinx documentation generator-- -------------------------------------------------- MYSQL_CONFIG = /usr/bin/mysql_config-- CMAKE_INSTALL_PREFIX = /usr/local-- BUILD_DOCS = ON-- WITH_BINLOG = OFF-- RUN_CPPCHECK = OFF-- Change a values with: cmake -D<Variable>=<Value>-- -------------------------------------------------- CMake Error: The following variables are used in this project, but they are set to NOTFOUND.Please set them or make sure they are set and tested correctly in the CMake files:MYSQL_LIBRARIES_dl    linked by target "mydumper" in directory /home/gp_data/mydumper-0.9.1    linked by target "myloader" in directory /home/gp_data/mydumper-0.9.1MYSQL_LIBRARIES_m    linked by target "mydumper" in directory /home/gp_data/mydumper-0.9.1    linked by target "myloader" in directory /home/gp_data/mydumper-0.9.1MYSQL_LIBRARIES_pthread    linked by target "mydumper" in directory /home/gp_data/mydumper-0.9.1    linked by target "myloader" in directory /home/gp_data/mydumper-0.9.1MYSQL_LIBRARIES_rt    linked by target "mydumper" in directory /home/gp_data/mydumper-0.9.1    linked by target "myloader" in directory /home/gp_data/mydumper-0.9.1-- Configuring incomplete, errors occurred!See also "/home/gp_data/mydumper-0.9.1/CMakeFiles/CMakeOutput.log".

解决,直接remove 重新解压包,居然好了