我可以安全地忽略这些 cmake 编译器警告吗?
我正在学习从源代码编译包并在 MySQL 上练习。
当我看到这样的“通知”(引用特定的“未找到”文件)时,我是否应该搜索和安装开发库:
$ cmake . -LA
...
-- Looking for include file cxxabi.h
-- Looking for include file cxxabi.h - not found.
-- Looking for include file dirent.h
-- Looking for include file dirent.h - found
-- Looking for include file dlfcn.h
-- Looking for include file dlfcn.h - found
对于引用这些“未找到”消息的通知,我应该怎么做:
-- Looking for bmove
-- Looking for bmove - not found
-- Looking for bsearch
-- Looking for bsearch - found
-- Looking for index
-- Looking for index - found
例如,cxxabi.h 可以在 Debian 上的 libstdc++6-4.7-dev 中找到。我是否需要安装 libstdc++6-4.7-dev 才能正确编译 MySQL?
我也有一些(恒定的?)我不确定的警告:
-- Performing Test TIME_T_UNSIGNED
-- Performing Test TIME_T_UNSIGNED - Failed
-- Performing Test HAVE_GETADDRINFO
-- Performing Test HAVE_GETADDRINFO - Success
总的来说,我的构建似乎运行良好,但我想确定一下。