/bin/sh: 4: luarocks: not found
make: *** [install] Error 127
root@llovizna:/home/pradeeban/programs/kong# apt-get install luarocks
make install again.
Error: Failed installing dependency: http://luarocks.org/repositories/rocks/lrexlib-pcre-2.7.2-1.src.rock - Could not find expected file pcre.h for PCRE -- you may have to install PCRE in your system and/or pass PCRE_DIR or PCRE_INCDIR to the luarocks command. Example: luarocks install lrexlib-pcre PCRE_DIR=/usr/local
make: *** [install] Error 1
apt-get install libpcre3 libpcre3-dev
Missing dependencies for kong:
lua_uuid ~> 0.2.0-2
..
gcc -O2 -fPIC -I/usr/include/lua5.1 -c lua_uuid.c -o lua_uuid.o
lua_uuid.c:9:23: fatal error: uuid/uuid.h: No such file or directory
#include
^
compilation terminated.
Error: Failed installing dependency: http://luarocks.org/repositories/rocks/lua_uuid-0.2.0-2.rockspec - Build error: Failed compiling object lua_uuid.o
make: *** [install] Error 1
apt-get install uuid-dev
Now
make install
again, which is successful.
When running make dev.
/usr/bin/env: luajit: No such file or directory
make: *** [dev] Error 127
apt-get install luajit
Modify the
kong/kong.yml
accordingly to configure the Kong execution.
No comments:
Post a Comment
You are welcome to provide your opinions in the comments. Spam comments and comments with random links will be deleted.