国内Origin下载加速

Read more →

在 Ubuntu 18.04 LTS 上安装并运行 KBEngine

本文用到的组件和系统版本: OS: Ubuntu 18.04 LTS MySQL: 5.7.22 gcc: 7.3.0 g++: 7.3.0 Python: 3.6.5 首先安装各种依赖: sudo apt-get update sudo apt-get install libssl-dev mysql-server libmysqld-dev mysql-client libmysqlclient-dev gcc g++ python3 编译引擎 下面从官方仓库下载引擎源码,本人下载的是当时最新版本1.1.8: wget https://github.com/kbengine/kbengine/archive/v1.1.8.tar.gz tar -xzvf v1.1.8.tar.gz 接着就可以对代码进行编译了: cd kbengine-1.1.8/kbe/src chmod -R 755 . make 我在编译过程中出现了以下错误: /usr/lib/gcc/x86_64-linux-gnu/7/include/mm_malloc.h:34:16: error: declaration of ‘int posix_memalign(void**, size_t, size_t) throw ()’ has a different exception specifier extern "C" int posix_memalign (void **, size_t, size_t) throw (); ^~~~~~~~~~~~~~ In file included from /home/dyz/kbengine-1.
Read more →