griddb编译问题

问题描述

我正在尝试从源代码重新编译griddb。 我有一些相对于模板的编译错误

./btree_map.h: In member function ‘void btreemap::splitNode(TransactionContext&,btreemap::BNode<K,V>&,keyvalue<K,V>&)’:
./btree_map.h:921:48: error: expected primary-expression before ‘>’ token
   dirtyNode2.allocateNeighbor<BNodeImage<K,V> >(

使用gcc版本7.5.0(Ubuntu 7.5.0-3ubuntu1〜18.04)

我尝试了多个版本的griddb都没有成功

解决方法

GridDB目前仅支持GCC 4.8.0。

在Ubuntu 18.04上,您可以在运行configure之前apt-get install gcc-4.8 cxx-4.8并适当设置CC / CXX。