提问参考模版:
- nebula 版本:2.0.1
- 部署方式( 单机 ):
- 是否为线上版本:N
- 硬件信息
- 银河麒麟4.0.2sp2 操作系统
- vmware虚拟机,内存1G
- 问题的具体描述
按照官网编译,编译步骤:
1、git clone -b v2.0.1 https://github.com/vesoft-inc/nebula-graph.git
2、cd nebula-graph
3、 mkdir build && cd build
4、cmake -DENABLE_BUILD_STORAGE=on -DENABLE_TESTING=OFF -DCMAKE_BUILD_TYPE=Release \
-DNEBULA_COMMON_REPO_TAG=v2.0.1 -DNEBULA_STORAGE_REPO_TAG=v2.0.1 ..
报错信息截取:
#################################################
-- Build info of nebula third party:
Package : Nebula Third Party
Version : 2.0
glibc : 2.23
Arch : x86_64
Compiler : GCC 7.5.0
C++ ABI : 11
Vendor : VEsoft Inc.
-- CMAKE_INCLUDE_PATH : /home/nebula-graph/third-party/install/include
-- CMAKE_LIBRARY_PATH : /home/nebula-graph/third-party/install/lib64;/home/nebula-graph/third-party/install/lib
-- CMAKE_PROGRAM_PATH : /home/nebula-graph/third-party/install/bin
>>>> Configuring third party for 'Nebula Common' <<<<
-- GLIBC_VERSION : 2.23
-- found krb5-config here /home/nebula-graph/third-party/install/bin/krb5-config
-- Found kerberos 5 headers: /home/nebula-graph/third-party/install/include
-- Found kerberos 5 libs: /home/nebula-graph/third-party/install/lib/libgssapi_krb5.a;/home/nebula-graph/third-party/install/lib/libkrb5.a;/home/nebula-graph/third-party/install/lib/libk5crypto.a;/home/nebula-graph/third-party/install/lib/libcom_err.a;/home/nebula-graph/third-party/install/lib/libkrb5support.a
-- Boost version: 1.75.0
>>>> Configuring third party for 'Nebula Common' done <<<<
-- Create the pre-commit hook
-- Creating pre-commit hook done
CMake Error at CMakeLists.txt:64 (export):
export given OBJECT library "version_obj" which may not be exported.
Call Stack (most recent call first):
src/common/version/CMakeLists.txt:11 (nebula_add_library)
.....