I have tarantool installed in /home/boris/dev/github/tarantool/tarantool/build/install, properly set TARANTOOL_DIR env variableб and $TARANTOOL_DIR/bin added to $PATH:
'tarantoolctl rocks make --chdir=cartridge' output:
```
$ tarantoolctl rocks make --chdir=cartridge
Missing dependencies for cartridge scm-1:
ddl 1.6.2-1 (not installed)
http 1.3.0-1 (not installed)
checks 3.1.0-1 (not installed)
errors 2.2.1-1 (not installed)
vshard 0.1.21-1 (not installed)
membership 2.4.0-1 (not installed)
frontend-core 8.2.1-1 (not installed)
graphql 0.2.0-1 (not installed)
cartridge scm-1 depends on ddl 1.6.2-1 (not installed)
Installing http://rocks.tarantool.org/ddl-1.6.2-1.all.rock
No existing manifest. Attempting to rebuild...
ddl 1.6.2-1 is now installed in /home/boris/dev/github/tarantool/cluster-federation/.rocks
cartridge scm-1 depends on http 1.3.0-1 (not installed)
Installing http://rocks.tarantool.org/http-1.3.0-1.src.rock
gcc -O2 -fPIC -I/home/boris/dev/github/tarantool/tarantool/build/install/include/tarantool -c http/lib.c -o http/lib.o -I/home/boris/dev/github/tarantool/tarantool/build/install/include
gcc -shared -o http/lib.so http/lib.o
http 1.3.0-1 is now installed in /home/boris/dev/github/tarantool/cluster-federation/.rocks (license: BSD)
cartridge scm-1 depends on checks 3.1.0-1 (not installed)
Installing http://rocks.tarantool.org/checks-3.1.0-1.all.rock
checks 3.1.0-1 is now installed in /home/boris/dev/github/tarantool/cluster-federation/.rocks (license: BSD)
cartridge scm-1 depends on errors 2.2.1-1 (not installed)
Installing http://rocks.tarantool.org/errors-2.2.1-1.all.rock
errors 2.2.1-1 is now installed in /home/boris/dev/github/tarantool/cluster-federation/.rocks (license: BSD)
cartridge scm-1 depends on vshard 0.1.21-1 (not installed)
Installing http://rocks.tarantool.org/vshard-0.1.21-1.all.rock
vshard 0.1.21-1 is now installed in /home/boris/dev/github/tarantool/cluster-federation/.rocks (license: BSD)
cartridge scm-1 depends on membership 2.4.0-1 (not installed)
Installing http://rocks.tarantool.org/membership-2.4.0-1.all.rock
membership 2.4.0-1 is now installed in /home/boris/dev/github/tarantool/cluster-federation/.rocks
cartridge scm-1 depends on frontend-core 8.2.1-1 (not installed)
Installing http://rocks.tarantool.org/frontend-core-8.2.1-1.all.rock
frontend-core 8.2.1-1 is now installed in /home/boris/dev/github/tarantool/cluster-federation/.rocks
cartridge scm-1 depends on graphql 0.2.0-1 (not installed)
Installing http://rocks.tarantool.org/graphql-0.2.0-1.all.rock
Missing dependencies for graphql 0.2.0-1:
luagraphqlparser 0.2.0-1 (not installed)
graphql 0.2.0-1 depends on luagraphqlparser 0.2.0-1 (not installed)
Installing http://rocks.tarantool.org/luagraphqlparser-0.2.0-1.src.rock
Warning: unmatched variable TARANTOOL_DIR
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is GNU 11.3.0
-- The CXX compiler identification is GNU 11.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/k6yka69n28j47wjhm14h41r2kbv262y6-gcc-wrapper-11.3.0/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /nix/store/k6yka69n28j47wjhm14h41r2kbv262y6-gcc-wrapper-11.3.0/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Tarantool: /home/boris/dev/github/tarantool/tarantool/build/install/include (found version "2.11.0-entrypoint-495-gc96a2e581")
-- Tarantool LUADIR is /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/luagraphqlparser/0.2.0-1/lua
-- Tarantool LIBDIR is /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/luagraphqlparser/0.2.0-1/lib
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_LIBRARY_PATH
-- Build files have been written to: /run/user/1000/luarocks_luagraphqlparser-0.2.0-1-wJocxr/luagraphqlparser/build.luarocks
[ 9%] Building CXX object libgraphqlparser/CMakeFiles/graphqlparser.dir/Ast.cpp.o
[ 18%] Building CXX object libgraphqlparser/CMakeFiles/graphqlparser.dir/c/GraphQLAst.cpp.o
[ 27%] Building CXX object libgraphqlparser/CMakeFiles/graphqlparser.dir/parser.tab.cpp.o
[ 36%] Building CXX object libgraphqlparser/CMakeFiles/graphqlparser.dir/lexer.cpp.o
[ 45%] Building CXX object libgraphqlparser/CMakeFiles/graphqlparser.dir/c/GraphQLAstNode.cpp.o
[ 54%] Building CXX object libgraphqlparser/CMakeFiles/graphqlparser.dir/c/GraphQLAstVisitor.cpp.o
[ 63%] Building CXX object libgraphqlparser/CMakeFiles/graphqlparser.dir/c/GraphQLParser.cpp.o
[ 72%] Building CXX object libgraphqlparser/CMakeFiles/graphqlparser.dir/GraphQLParser.cpp.o
[ 81%] Linking CXX static library libgraphqlparser.a
[ 81%] Built target graphqlparser
[ 90%] Building C object luagraphqlparser/CMakeFiles/luagraphqlparser.dir/lib.c.o
[100%] Linking CXX shared library luagraphqlparser.so
[100%] Built target luagraphqlparser
Consolidate compiler generated dependencies of target graphqlparser
[ 81%] Built target graphqlparser
Consolidate compiler generated dependencies of target luagraphqlparser
[100%] Built target luagraphqlparser
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/luagraphqlparser/0.2.0-1/lib/luagraphqlparser.so
luagraphqlparser 0.2.0-1 is now installed in /home/boris/dev/github/tarantool/cluster-federation/.rocks (license: BSD2)
graphql 0.2.0-1 is now installed in /home/boris/dev/github/tarantool/cluster-federation/.rocks (license: MIT)
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is GNU 11.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/k6yka69n28j47wjhm14h41r2kbv262y6-gcc-wrapper-11.3.0/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Warning (dev) at /nix/store/izxky4f64hwihnp55hqg4z1f0ra3n1s4-cmake-cursesUI-3.24.1/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to `find_package_handle_standard_args` (TARANTOOL)
does not match the name of the calling package (Tarantool). This can lead
to problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
cmake/FindTarantool.cmake:27 (find_package_handle_standard_args)
CMakeLists.txt:11 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found TARANTOOL: /home/boris/dev/github/tarantool/tarantool/build/install/include (found version "2.11.0-entrypoint-495-gc96a2e581")
-- Tarantool LUADIR is /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua
-- Tarantool LIBDIR is /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lib
-- Tarantool BINDIR is /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/bin
-- Could NOT find Ldoc (missing: LDOC)
-- Could NOT find Sphinx (missing: SPHINX)
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_LIBRARY_PATH
-- Build files have been written to: /home/boris/dev/github/tarantool/cluster-federation/cartridge/build.luarocks
[ 50%] Building WebUI
-- Skipping node_modules installation
-- Skipping WebUI bundle build
[100%] Copying real front-bundle.lua
[100%] Built target front-bundle
Install the project...
-- Install configuration: ""
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/hotreload.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/graphql.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/failover
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/failover/raft.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/webui.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/lua-api
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/lua-api/proxy.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/lua-api/vshard.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/lua-api/edit-topology.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/lua-api/stat.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/lua-api/failover.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/lua-api/boxinfo.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/lua-api/deprecated.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/lua-api/topology.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/lua-api/get-topology.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/clusterwide-config.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/issues.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/graphql
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/graphql/validate.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/graphql/parse.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/graphql/funcall.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/graphql/execute.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/graphql/types.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/graphql/schema.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/etcd2.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/sslsocket.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/etcd2-client.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/stateboard-client.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/webui
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/webui/api-failover.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/webui/gql-boxinfo.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/webui/gql-stat.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/webui/api-auth.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/webui/api-vshard.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/webui/api-topology.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/webui/api-issues.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/webui/api-config.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/webui/api-suggestions.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/webui/api-ddl.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/roles
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/roles/vshard-router.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/roles/vshard-storage.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/roles/coordinator.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/cluster-cookie.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/logging_whitelist.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/VERSION.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/label-utils.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/feedback.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/test-helpers.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/tar.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/user-defined-role.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/upload.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/failover.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/vshard-utils.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/roles.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/test-helpers
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/test-helpers/etcd.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/test-helpers/server.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/test-helpers/stateboard.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/test-helpers/cluster.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/argparse.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/funcall.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/pool.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/twophase.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/auth-backend.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/VERSION.lua.in
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/stateboard.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/confapplier.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/rpc.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/admin.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/remote-control.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/utils.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/auth.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/topology.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/vars.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/service-registry.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/bin/stateboard
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/VERSION.lua
-- Installing: /home/boris/dev/github/tarantool/cluster-federation/.rocks/share/tarantool/rocks/cartridge/scm-1/lua/cartridge/front-bundle.lua
cartridge scm-1 is now installed in /home/boris/dev/github/tarantool/cluster-federation/.rocks
```
'tt rocks make --chdir=cartridge' output:
```
$ tt rocks make --chdir=cartridge
Error: Could not find header file for TARANTOOL
No file tarantool/module.h in /usr/local/include
No file tarantool/module.h in /usr/include
No file tarantool/module.h in /include
You may have to install TARANTOOL in your system and/or pass TARANTOOL_DIR or TARANTOOL_INCDIR to the luarocks command.
Example: luarocks install cartridge TARANTOOL_DIR=/usr/local
```
Passing TARANTOOL_DIR to tt kinda helps, but build fails anyway, trying to find lua.h
'tt rocks make --chdir=cartridge TARANTOOL_DIR=$TARANTOOL_DIR' output:
```
$ tt rocks make --chdir=cartridge TARANTOOL_DIR=$TARANTOOL_DIR
Missing dependencies for cartridge scm-1:
ddl 1.6.2-1 (not installed)
http 1.3.0-1 (not installed)
checks 3.1.0-1 (not installed)
errors 2.2.1-1 (not installed)
vshard 0.1.21-1 (not installed)
membership 2.4.0-1 (not installed)
frontend-core 8.2.1-1 (not installed)
graphql 0.2.0-1 (not installed)
cartridge scm-1 depends on ddl 1.6.2-1 (not installed)
Installing http://rocks.tarantool.org/ddl-1.6.2-1.all.rock
No existing manifest. Attempting to rebuild...
ddl 1.6.2-1 is now installed in /home/boris/dev/github/tarantool/cluster-federation/.rocks
cartridge scm-1 depends on http 1.3.0-1 (not installed)
Installing http://rocks.tarantool.org/http-1.3.0-1.src.rock
Error: Failed installing dependency: http://rocks.tarantool.org/http-1.3.0-1.src.rock - Build error: Lua header file lua.h not found (looked in /usr/include/tarantool).
You need to install the Lua development package for your system.
```
I have tarantool installed in
/home/boris/dev/github/tarantool/tarantool/build/install
, properly set TARANTOOL_DIR env variableб and $TARANTOOL_DIR/bin added to $PATH:that's enough for tarantoolctl to work just fine:
'tarantoolctl rocks make --chdir=cartridge' output:
``` $ tarantoolctl rocks make --chdir=cartridge Missing dependencies for cartridge scm-1: ddl 1.6.2-1 (not installed) http 1.3.0-1 (not installed) checks 3.1.0-1 (not installed) errors 2.2.1-1 (not installed) vshard 0.1.21-1 (not installed) membership 2.4.0-1 (not installed) frontend-core 8.2.1-1 (not installed) graphql 0.2.0-1 (not installed) cartridge scm-1 depends on ddl 1.6.2-1 (not installed) Installing http://rocks.tarantool.org/ddl-1.6.2-1.all.rock No existing manifest. Attempting to rebuild... ddl 1.6.2-1 is now installed in /home/boris/dev/github/tarantool/cluster-federation/.rocks cartridge scm-1 depends on http 1.3.0-1 (not installed) Installing http://rocks.tarantool.org/http-1.3.0-1.src.rock gcc -O2 -fPIC -I/home/boris/dev/github/tarantool/tarantool/build/install/include/tarantool -c http/lib.c -o http/lib.o -I/home/boris/dev/github/tarantool/tarantool/build/install/include gcc -shared -o http/lib.so http/lib.o http 1.3.0-1 is now installed in /home/boris/dev/github/tarantool/cluster-federation/.rocks (license: BSD) cartridge scm-1 depends on checks 3.1.0-1 (not installed) Installing http://rocks.tarantool.org/checks-3.1.0-1.all.rock checks 3.1.0-1 is now installed in /home/boris/dev/github/tarantool/cluster-federation/.rocks (license: BSD) cartridge scm-1 depends on errors 2.2.1-1 (not installed) Installing http://rocks.tarantool.org/errors-2.2.1-1.all.rock errors 2.2.1-1 is now installed in /home/boris/dev/github/tarantool/cluster-federation/.rocks (license: BSD) cartridge scm-1 depends on vshard 0.1.21-1 (not installed) Installing http://rocks.tarantool.org/vshard-0.1.21-1.all.rock vshard 0.1.21-1 is now installed in /home/boris/dev/github/tarantool/cluster-federation/.rocks (license: BSD) cartridge scm-1 depends on membership 2.4.0-1 (not installed) Installing http://rocks.tarantool.org/membership-2.4.0-1.all.rock membership 2.4.0-1 is now installed in /home/boris/dev/github/tarantool/cluster-federation/.rocks cartridge scm-1 depends on frontend-core 8.2.1-1 (not installed) Installing http://rocks.tarantool.org/frontend-core-8.2.1-1.all.rock frontend-core 8.2.1-1 is now installed in /home/boris/dev/github/tarantool/cluster-federation/.rocks cartridge scm-1 depends on graphql 0.2.0-1 (not installed) Installing http://rocks.tarantool.org/graphql-0.2.0-1.all.rock Missing dependencies for graphql 0.2.0-1: luagraphqlparser 0.2.0-1 (not installed) graphql 0.2.0-1 depends on luagraphqlparser 0.2.0-1 (not installed) Installing http://rocks.tarantool.org/luagraphqlparser-0.2.0-1.src.rock Warning: unmatched variable TARANTOOL_DIR CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument'tt rocks make --chdir=cartridge' output:
``` $ tt rocks make --chdir=cartridge Error: Could not find header file for TARANTOOL No file tarantool/module.h in /usr/local/include No file tarantool/module.h in /usr/include No file tarantool/module.h in /include You may have to install TARANTOOL in your system and/or pass TARANTOOL_DIR or TARANTOOL_INCDIR to the luarocks command. Example: luarocks install cartridge TARANTOOL_DIR=/usr/local ```Passing TARANTOOL_DIR to tt kinda helps, but build fails anyway, trying to find lua.h
'tt rocks make --chdir=cartridge TARANTOOL_DIR=$TARANTOOL_DIR' output:
``` $ tt rocks make --chdir=cartridge TARANTOOL_DIR=$TARANTOOL_DIR Missing dependencies for cartridge scm-1: ddl 1.6.2-1 (not installed) http 1.3.0-1 (not installed) checks 3.1.0-1 (not installed) errors 2.2.1-1 (not installed) vshard 0.1.21-1 (not installed) membership 2.4.0-1 (not installed) frontend-core 8.2.1-1 (not installed) graphql 0.2.0-1 (not installed) cartridge scm-1 depends on ddl 1.6.2-1 (not installed) Installing http://rocks.tarantool.org/ddl-1.6.2-1.all.rock No existing manifest. Attempting to rebuild... ddl 1.6.2-1 is now installed in /home/boris/dev/github/tarantool/cluster-federation/.rocks cartridge scm-1 depends on http 1.3.0-1 (not installed) Installing http://rocks.tarantool.org/http-1.3.0-1.src.rock Error: Failed installing dependency: http://rocks.tarantool.org/http-1.3.0-1.src.rock - Build error: Lua header file lua.h not found (looked in /usr/include/tarantool). You need to install the Lua development package for your system. ```