使用tarantool版本:Tarantool 1.6.8-586-g504e151 从epel安装。 我想要mysql的安装驱动程序,在github上试试这个指令:https://github.com/tarantool/mysql
git clone mysql.git tarantool-mysql
- 确定cd tarantool-mysql
-OK cmake . -DCMAKE_BUILD_TYPE=RelWithDebugInfo
- 未执行此步骤cmake . -DCMAKE_BUILD_TYPE=RelWithDebugInfo -- The C compiler identification is GNU 4.4.7 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- INCLUDE_DIR TARANTOOL_INCLUDE_DIR-NOTFOUND -- PREFIX CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108
(消息): 找不到TARANTOOL(缺少:TARANTOOL_INCLUDE_DIR) 呼叫堆栈(最近一次呼叫): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:315(_FPHSA_FAILURE_MESSAGE) cmake / FindTarantool.cmake:29(find_package_handle_standard_args) CMakeLists.txt:11(find_package)
我如何指定TARANTOOL dir
?
我也试图通过luarocks安装,但也没有成功:
luarocks install
https://raw.githubusercontent.com/tarantool/mysql/master/mysql-scm-1.rockspec --local
Using https://raw.githubusercontent.com/tarantool/mysql/master/mysql-scm-1.rockspec... switching to 'build' mode
错误:无法找到MYSQL的预期文件mysql / mysql.h或mysql / mysql.h - 您可能必须在系统中安装MYSQL和/或将MYSQL_DIR或MYSQL_INCDIR传递给luarocks命令。示例:luarocks install mysql MYSQL_DIR = / usr / local
P.P.S。
yum install libmysqlclient-dev tarantool-dev
467 packages excluded due to repository priority protections
Setting up Install Process
No package libmysqlclient-dev available.
No package tarantool-dev available.
Error: Nothing to do
答案 0 :(得分:0)