polardb / polardbx-engine

polardbx-engine is a MySQL branch originated from Alibaba Group, especially supports large-scale distributed database system.
Other
482 stars 125 forks source link

compile the souce code according the quik start, it report compile error fatal error: easy_log.h: No such file or directory #22

Closed photon8231 closed 2 years ago

photon8231 commented 2 years ago

env

gcc (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5)

compile

cmake . \ -DFORCE_INSOURCE_BUILD=ON \ -DCMAKE_BUILD_TYPE="Debug" \ -DSYSCONFDIR="/u01/mysql" \ -DCMAKE_INSTALL_PREFIX="/u01/mysql" \ -DMYSQL_DATADIR="/u01/mysql/data" \ -DMYSQL_MAINTAINER_MODE=0 \ -DWITH_SSL=openssl \ -DWITH_BOOST="./extra/boost/boost_1_70_0.tar.gz" make -j1 make install

error log

galaxyengine/sql/../cluster/consensus/paxos.h:28:10: fatal error: easy_log.h: No such file or directory

include

      ^~~~~~~~~~~~

compilation terminated.

xtcyclist commented 2 years ago

maybe try install this one: https://github.com/alibaba/tair/tree/master/deps/libeasy