Verwenden Tarantool Version: Tarantool 1.6.8-586-g504e151 Installiert von Epel. möchte ich Treiber für MySQL installieren, versuchen Sie diese Anweisung auf GitHub: https://github.com/tarantool/mysqlKann Treiber für mysql für Tarantool nicht installieren
git clone mysql.git tarantool-mysql
- OKcd tarantool-mysql
OK-cmake . -DCMAKE_BUILD_TYPE=RelWithDebugInfo
- FAIL zu diesem Schritt
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
(message): Could NOT find TARANTOOL (missing: TARANTOOL_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE) cmake/FindTarantool.cmake:29 (find_package_handle_standard_args) CMakeLists.txt:11 (find_package)
Wie ich kann TARANTOOL dir
angeben?
Ich habe auch versucht über luarocks zu installieren, aber es war auch nicht erfolgreich:
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
Error: Could not find expected file mysql/mysql.h, or mysql/mysql.h for MYSQL -- you may have to install MYSQL in your system and/or pass MYSQL_DIR or MYSQL_INCDIR to the luarocks command. Example: 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