User Tools

Site Tools


Sidebar

avro-schema:luarocks_2

Q. avro-schema does not appear to want to install locally via luarocks:

$ luarocks install –local avro-schema
Installing http://rocks.tarantool.org/avro-schema-scm-1.rockspec
Using http://rocks.tarantool.org/avro-schema-scm-1.rockspec… switching to 'build' mode
Cloning into 'avro-schema'…
remote: Counting objects: 99, done.
remote: Compressing objects: 100% (77/77), done.
remote: Total 99 (delta 14), reused 64 (delta 14), pack-reused 0
Receiving objects: 100% (99/99), 120.14 KiB | 0 bytes/s, done.
Resolving deltas: 100% (14/14), done.
Checking connectivity… done.
– The C compiler identification is GNU 5.4.0
– The CXX compiler identification is GNU 5.4.0
– 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
– Detecting C compile features
– Detecting C compile features - done
– Check for working CXX compiler: /usr/bin/c++
– Check for working CXX compiler: /usr/bin/c++ – works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Detecting CXX compile features
– Detecting CXX compile features - done
– Found TARANTOOL: /usr/include (found version “1.7.2-62-g4adafc5”)
– Tarantool LUADIR is share/tarantool
– Tarantool LIBDIR is lib/tarantool
– Performing Test C_HAVE_BSWAP16
– Performing Test C_HAVE_BSWAP16 - Success
– Configuring done
– Generating done
– Build files have been written to: /tmp/luarocks_avro-schema-scm-1-5335/avro-schema
Scanning dependencies of target postprocess_lua
[ 12%] Generating il_filt
[ 25%] Generating il.lua
[ 37%] Generating backend.lua
[ 37%] Built target postprocess_lua
Scanning dependencies of target avro_schema_rt_c
[ 50%] Building C object CMakeFiles/avro_schema_rt_c.dir/runtime/pipeline.c.o
[ 62%] Building C object CMakeFiles/avro_schema_rt_c.dir/runtime/hash.c.o
[ 75%] Building C object CMakeFiles/avro_schema_rt_c.dir/runtime/misc.c.o
[ 87%] Building CXX object CMakeFiles/avro_schema_rt_c.dir/lib/phf/phf.cc.o
[100%] Linking CXX shared library avro_schema_rt_c.so
[100%] Built target avro_schema_rt_c
[ 37%] Built target postprocess_lua
[100%] Built target avro_schema_rt_c
Install the project…
– Install configuration: ““
CMake Error at cmake_install.cmake:36 (file):

file cannot create directory: /usr/local/share/tarantool/avro_schema.
Maybe need administrative privileges.

Makefile:126: recipe for target 'install' failed
make: *** [install] Error 1

Error: Build error: Failed installing.

How do I install it? (2016)

A. Something’s wrong with the rockspec. It would be easier to install it with apt-get:

sudo apt-get install tarantool-avro-schema

Comments

Enter your comment. Wiki syntax is allowed:
O H A U M
 
avro-schema/luarocks_2.txt · Last modified: 2018/06/04 16:43 by eabates

Real Time Web Analytics