CentOS7 编译MariaDB的问题

浪费了一下午时间得到的经验:

Centos7 直接编译Mariadb 10.4 及其以下的版本没有任何问题,但是当你在centos 7 上编译mariadb 10.5及其以上的版本时,

会告诉你cmake 版本太低(centos 7 的cmake 应该时2.8.18), 需要cmake 3.0.0 以上

两个解决办法,一是用安装epel,然后升级到cmake 3;另外一种办法就是切换到debian 11

确实,还是切换到debian 11吧, centos 7 的实在太老了

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.