请教在Ubuntu 16.04下编译时出现的问题
安装过程参考编译指南,用的是下面的Cmake配置:
cmake .
-DCMAKE_BUILD_TYPE="Release"
-DCMAKE_INSTALL_PREFIX="/opt/alisql"
-DWITH_EMBEDDED_SERVER=0
-DWITH_EXTRA_CHARSETS=all
-DWITH_MYISAM_STORAGE_ENGINE=1
-DWITH_INNOBASE_STORAGE_ENGINE=1
-DWITH_PARTITION_STORAGE_ENGINE=1
-DWITH_CSV_STORAGE_ENGINE=1
-DWITH_ARCHIVE_STORAGE_ENGINE=1
-DWITH_BLACKHOLE_STORAGE_ENGINE=1
-DWITH_FEDERATED_STORAGE_ENGINE=1
-DWITH_PERFSCHEMA_STORAGE_ENGINE=1
-DWITH_TOKUDB_STORAGE_ENGINE=1
最后会出现以下3个warning : The dependency target "build_jemalloc" of target "tokuportability_static_conv" does not exist. The dependency target "libcrypto" of target "mysys_ssl" does not exist. The dependency target "libssl" of target "mysys_ssl" does not exist.
如果不理会,继续make和make install,也能成功,并且alisql运行正常。在CentOS7下没有遇到以上提示,不知道什么原因。
这个没关系的, 你没注意看, 可以用个参数隐藏掉的, 假如你没有安装加密包, 就会出现这个提示,除非你要用ssl