OpenEuler-22.03编译greatsql-8.0.32-26报错:DEFAULT_CHARSET_HOME
# cat /etc/os-releaseNAME="openEuler"
VERSION="22.03 LTS"
ID="openEuler"
VERSION_ID="22.03"
PRETTY_NAME="openEuler 22.03 LTS"
ANSI_COLOR="0;31"
# uname -a
Linux develop 5.10.0-60.139.0.166.oe2203.x86_64 #1 SMP Thu May 30 05:17:57 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
# gcc --version
gcc (GCC) 10.3.1
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
在openEuler环境下编译,可以参考这篇文档 https://gitee.com/GreatSQL/GreatSQL-Doc/blob/master/docs/build-greatsql-rpm-under-openeuler.md ,把编译RPM改成编译tarball即可,编译环境是一样的。
可能是你的gcc版本较低,只有10.x,建议先升级到11.x试试。cmake版本也要相应升级到3.x。 这个是没有宏定义吧?
页:
[1]