You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/10/22 09:40:08 UTC

[GitHub] [apisix] Caelebs opened a new issue #2498: request help: Source code compilation and installation error

Caelebs opened a new issue #2498:
URL: https://github.com/apache/apisix/issues/2498


   ### Issue description
   
   Source code compilation and installation error?
   The output of the `make deps` stage seems to be normal, console output information as follows ↓
   ```
   [root@TEST3 apisix]# make deps
   luarocks install rockspec/apisix-master-0.rockspec --tree=deps --only-deps --local
   Using rockspec/apisix-master-0.rockspec... switching to 'build' mode
   
   Missing dependencies for apisix:
   lua-resty-jwt == 0.2.0
   lua-resty-ipmatcher == 0.6
   dkjson == 2.5-2
   resty-redis-cluster == 1.02-4
   lua-protobuf == 0.3.1
   lua-resty-healthcheck-api7 == 2.2.0
   lua-resty-cookie == 0.1.0
   jsonschema == 0.8
   skywalking-nginx-lua-plugin == 1.0-0
   lua-resty-etcd == 1.2
   lua-resty-logger-socket == 2.0-0
   opentracing-openresty == 0.1
   lua-resty-openidc == 1.7.2-1
   lua-resty-kafka == 0.07
   lua-resty-prometheus == 1.1
   lua-resty-ngxvar == 0.5
   lua-resty-balancer == 0.02rc5
   lua-tinyyaml == 1.0
   luafilesystem == 1.7.0-2
   lua-resty-radixtree == 2.2
   base64 == 1.5-2
   lua-resty-session == 2.24
   lua-resty-template == 1.9
   lua-resty-jit-uuid == 0.0.7
   
   Using https://luarocks.org/lua-resty-jwt-0.2.0-0.src.rock... switching to 'build' mode
   Updating manifest for /root/A/apisix/deps/lib64/luarocks/rocks
   No existing manifest. Attempting to rebuild...
   lua-resty-jwt 0.2.0-0 is now built and installed in /root/A/apisix/deps (license: Apache License Version 2)
   
   Using https://luarocks.org/lua-resty-ipmatcher-0.6-0.rockspec... switching to 'build' mode
   正克隆到 'lua-resty-ipmatcher'...
   remote: Enumerating objects: 20, done.
   remote: Counting objects: 100% (20/20), done.
   remote: Compressing objects: 100% (18/18), done.
   remote: Total 20 (delta 4), reused 9 (delta 0), pack-reused 0
   Unpacking objects: 100% (20/20), done.
   Note: checking out '597cc30e6d1959386ac7b7bee4f070ec9875afc1'.
   
   You are in 'detached HEAD' state. You can look around, make experimental
   changes and commit them, and you can discard any commits you make in this
   state without impacting any branches by performing another checkout.
   
   If you want to create a new branch to retain commits you create, you may
   do so (now or later) by using -b with the checkout command again. Example:
   
     git checkout -b new_branch_name
   
   Updating manifest for /root/A/apisix/deps/lib64/luarocks/rocks
   lua-resty-ipmatcher 0.6-0 is now built and installed in /root/A/apisix/deps (license: Apache License 2.0)
   
   Using https://luarocks.org/dkjson-2.5-2.src.rock... switching to 'build' mode
   Updating manifest for /root/A/apisix/deps/lib64/luarocks/rocks
   dkjson 2.5-2 is now built and installed in /root/A/apisix/deps (license: MIT/X11)
   
   Using https://luarocks.org/resty-redis-cluster-1.02-4.rockspec... switching to 'build' mode
   正克隆到 'resty-redis-cluster'...
   remote: Enumerating objects: 15, done.
   remote: Counting objects: 100% (15/15), done.
   remote: Compressing objects: 100% (13/13), done.
   remote: Total 15 (delta 1), reused 6 (delta 0), pack-reused 0
   Unpacking objects: 100% (15/15), done.
   Note: checking out '2d562d83db6fa0b3a59164bdc8868367f383d0a4'.
   
   You are in 'detached HEAD' state. You can look around, make experimental
   changes and commit them, and you can discard any commits you make in this
   state without impacting any branches by performing another checkout.
   
   If you want to create a new branch to retain commits you create, you may
   do so (now or later) by using -b with the checkout command again. Example:
   
     git checkout -b new_branch_name
   
   Updating manifest for /root/A/apisix/deps/lib64/luarocks/rocks
   resty-redis-cluster 1.02-4 is now built and installed in /root/A/apisix/deps (license: Apache License 2.0)
   
   Using https://luarocks.org/lua-protobuf-0.3.1-0.src.rock... switching to 'build' mode
   gcc -O2 -fPIC -I/usr/include -c pb.c -o pb.o
   gcc -shared -o pb.so -L/usr/lib64/lua/5.1 pb.o
   Updating manifest for /root/A/apisix/deps/lib64/luarocks/rocks
   lua-protobuf 0.3.1-0 is now built and installed in /root/A/apisix/deps (license: MIT)
   
   Using https://luarocks.org/lua-resty-healthcheck-api7-2.2.0-0.rockspec... switching to 'build' mode
   
   Missing dependencies for lua-resty-healthcheck-api7:
   lua-resty-worker-events == 1.0.0
   
   Using https://luarocks.org/lua-resty-worker-events-1.0.0-1.src.rock... switching to 'build' mode
   Updating manifest for /root/A/apisix/deps/lib64/luarocks/rocks
   lua-resty-worker-events 1.0.0-1 is now built and installed in /root/A/apisix/deps (license: Apache 2.0)
   
   正克隆到 'lua-resty-healthcheck'...
   remote: Enumerating objects: 65, done.
   remote: Counting objects: 100% (65/65), done.
   remote: Compressing objects: 100% (54/54), done.
   remote: Total 65 (delta 30), reused 24 (delta 6), pack-reused 0
   Unpacking objects: 100% (65/65), done.
   Note: checking out 'd05fa0c018e0ef3d2753e04846ca3ee8b41516e4'.
   
   You are in 'detached HEAD' state. You can look around, make experimental
   changes and commit them, and you can discard any commits you make in this
   state without impacting any branches by performing another checkout.
   
   If you want to create a new branch to retain commits you create, you may
   do so (now or later) by using -b with the checkout command again. Example:
   
     git checkout -b new_branch_name
   
   Updating manifest for /root/A/apisix/deps/lib64/luarocks/rocks
   lua-resty-healthcheck-api7 2.2.0-0 is now built and installed in /root/A/apisix/deps (license: Apache 2.0)
   
   Using https://luarocks.org/lua-resty-cookie-0.1.0-1.rockspec... switching to 'build' mode
   正克隆到 'lua-resty-cookie'...
   remote: Enumerating objects: 10, done.
   remote: Counting objects: 100% (10/10), done.
   remote: Compressing objects: 100% (7/7), done.
   remote: Total 10 (delta 0), reused 8 (delta 0), pack-reused 0
   Unpacking objects: 100% (10/10), done.
   Note: checking out 'bbd0df6bca3cac22138225d6a36243ce767d5881'.
   
   You are in 'detached HEAD' state. You can look around, make experimental
   changes and commit them, and you can discard any commits you make in this
   state without impacting any branches by performing another checkout.
   
   If you want to create a new branch to retain commits you create, you may
   do so (now or later) by using -b with the checkout command again. Example:
   
     git checkout -b new_branch_name
   
   Updating manifest for /root/A/apisix/deps/lib64/luarocks/rocks
   lua-resty-cookie 0.1.0-1 is now built and installed in /root/A/apisix/deps (license: BSD)
   
   Using https://luarocks.org/jsonschema-0.8-0.rockspec... switching to 'build' mode
   
   Missing dependencies for jsonschema:
   net-url 
   
   Using https://luarocks.org/net-url-0.9-1.src.rock... switching to 'build' mode
   Updating manifest for /root/A/apisix/deps/lib64/luarocks/rocks
   net-url 0.9-1 is now built and installed in /root/A/apisix/deps (license: MIT/X11)
   
   正克隆到 'jsonschema'...
   remote: Enumerating objects: 33, done.
   remote: Counting objects: 100% (33/33), done.
   remote: Compressing objects: 100% (24/24), done.
   remote: Total 33 (delta 9), reused 23 (delta 7), pack-reused 0
   Unpacking objects: 100% (33/33), done.
   Note: checking out 'c1d72d86bb3dc5b33da57d47febc47657d29ea74'.
   
   You are in 'detached HEAD' state. You can look around, make experimental
   changes and commit them, and you can discard any commits you make in this
   state without impacting any branches by performing another checkout.
   
   If you want to create a new branch to retain commits you create, you may
   do so (now or later) by using -b with the checkout command again. Example:
   
     git checkout -b new_branch_name
   
   Updating manifest for /root/A/apisix/deps/lib64/luarocks/rocks
   jsonschema 0.8-0 is now built and installed in /root/A/apisix/deps (license: MIT)
   
   Using https://luarocks.org/skywalking-nginx-lua-plugin-1.0-0.rockspec... switching to 'build' mode
   正克隆到 'skywalking-nginx-lua'...
   remote: Enumerating objects: 35, done.
   remote: Counting objects: 100% (35/35), done.
   remote: Compressing objects: 100% (29/29), done.
   remote: Total 35 (delta 5), reused 16 (delta 2), pack-reused 0
   Unpacking objects: 100% (35/35), done.
   Updating manifest for /root/A/apisix/deps/lib64/luarocks/rocks
   skywalking-nginx-lua-plugin 1.0-0 is now built and installed in /root/A/apisix/deps (license: Apache License 2.0)
   
   Using https://luarocks.org/lua-resty-etcd-1.2-0.rockspec... switching to 'build' mode
   
   Missing dependencies for lua-resty-etcd:
   lua-typeof == 0.1
   lua-resty-http == 0.15
   
   Using https://luarocks.org/lua-typeof-0.1-0.rockspec... switching to 'build' mode
   正克隆到 'lua-typeof'...
   remote: Enumerating objects: 10, done.
   remote: Counting objects: 100% (10/10), done.
   remote: Compressing objects: 100% (8/8), done.
   remote: Total 10 (delta 0), reused 7 (delta 0), pack-reused 0
   Unpacking objects: 100% (10/10), done.
   Note: checking out 'c480757524957ca78e2945908292e146339ee0b4'.
   
   You are in 'detached HEAD' state. You can look around, make experimental
   changes and commit them, and you can discard any commits you make in this
   state without impacting any branches by performing another checkout.
   
   If you want to create a new branch to retain commits you create, you may
   do so (now or later) by using -b with the checkout command again. Example:
   
     git checkout -b new_branch_name
   
   Updating manifest for /root/A/apisix/deps/lib64/luarocks/rocks
   lua-typeof 0.1-0 is now built and installed in /root/A/apisix/deps (license: Apache License 2.0)
   
   Using https://luarocks.org/lua-resty-http-0.15-0.src.rock... switching to 'build' mode
   Updating manifest for /root/A/apisix/deps/lib64/luarocks/rocks
   lua-resty-http 0.15-0 is now built and installed in /root/A/apisix/deps (license: 2-clause BSD)
   
   正克隆到 'lua-resty-etcd'...
   remote: Enumerating objects: 51, done.
   remote: Counting objects: 100% (51/51), done.
   remote: Compressing objects: 100% (46/46), done.
   remote: Total 51 (delta 16), reused 21 (delta 3), pack-reused 0
   Unpacking objects: 100% (51/51), done.
   Note: checking out 'e322dc353dd45b7ffe26ea7ac54a1c6c1f7b9e36'.
   
   You are in 'detached HEAD' state. You can look around, make experimental
   changes and commit them, and you can discard any commits you make in this
   state without impacting any branches by performing another checkout.
   
   If you want to create a new branch to retain commits you create, you may
   do so (now or later) by using -b with the checkout command again. Example:
   
     git checkout -b new_branch_name
   
   Updating manifest for /root/A/apisix/deps/lib64/luarocks/rocks
   lua-resty-etcd 1.2-0 is now built and installed in /root/A/apisix/deps (license: Apache License 2.0)
   
   Using https://luarocks.org/lua-resty-logger-socket-2.0-0.rockspec... switching to 'build' mode
   正克隆到 'lua-resty-logger-socket'...
   remote: Enumerating objects: 21, done.
   remote: Counting objects: 100% (21/21), done.
   remote: Compressing objects: 100% (17/17), done.
   remote: Total 21 (delta 3), reused 13 (delta 1), pack-reused 0
   Unpacking objects: 100% (21/21), done.
   Note: checking out '7616a7d95899630e6e96a6b1e289ce768db5d76b'.
   
   You are in 'detached HEAD' state. You can look around, make experimental
   changes and commit them, and you can discard any commits you make in this
   state without impacting any branches by performing another checkout.
   
   If you want to create a new branch to retain commits you create, you may
   do so (now or later) by using -b with the checkout command again. Example:
   
     git checkout -b new_branch_name
   
   Updating manifest for /root/A/apisix/deps/lib64/luarocks/rocks
   lua-resty-logger-socket 2.0-0 is now built and installed in /root/A/apisix/deps (license: BSD license)
   
   Using https://luarocks.org/opentracing-openresty-0.1-0.rockspec... switching to 'build' mode
   正克隆到 'opentracing-openresty'...
   remote: Enumerating objects: 20, done.
   remote: Counting objects: 100% (20/20), done.
   remote: Compressing objects: 100% (17/17), done.
   remote: Total 20 (delta 0), reused 18 (delta 0), pack-reused 0
   Unpacking objects: 100% (20/20), done.
   Note: checking out '6b336fbe01e8bd20cdfc310f5e488ffe99426556'.
   
   You are in 'detached HEAD' state. You can look around, make experimental
   changes and commit them, and you can discard any commits you make in this
   state without impacting any branches by performing another checkout.
   
   If you want to create a new branch to retain commits you create, you may
   do so (now or later) by using -b with the checkout command again. Example:
   
     git checkout -b new_branch_name
   
   Updating manifest for /root/A/apisix/deps/lib64/luarocks/rocks
   opentracing-openresty 0.1-0 is now built and installed in /root/A/apisix/deps (license: Apache 2.0)
   
   Using https://luarocks.org/lua-resty-openidc-1.7.2-1.src.rock... switching to 'build' mode
   
   Missing dependencies for lua-resty-openidc:
   lua-resty-session >= 2.8
   
   Using https://luarocks.org/lua-resty-session-3.6-1.src.rock... switching to 'build' mode
   Updating manifest for /root/A/apisix/deps/lib64/luarocks/rocks
   lua-resty-session 3.6-1 is now built and installed in /root/A/apisix/deps (license: BSD)
   
   Updating manifest for /root/A/apisix/deps/lib64/luarocks/rocks
   lua-resty-openidc 1.7.2-1 is now built and installed in /root/A/apisix/deps (license: Apache 2.0)
   
   Using https://luarocks.org/lua-resty-kafka-0.07-0.src.rock... switching to 'build' mode
   Updating manifest for /root/A/apisix/deps/lib64/luarocks/rocks
   lua-resty-kafka 0.07-0 is now built and installed in /root/A/apisix/deps (license: BSD)
   
   Using https://luarocks.org/lua-resty-prometheus-1.1-0.rockspec... switching to 'build' mode
   正克隆到 'lua-resty-prometheus'...
   remote: Enumerating objects: 23, done.
   remote: Counting objects: 100% (23/23), done.
   remote: Compressing objects: 100% (20/20), done.
   remote: Total 23 (delta 0), reused 19 (delta 0), pack-reused 0
   Unpacking objects: 100% (23/23), done.
   Note: checking out '158a3d6060e49ff77c2769ff795fca0217fe58fa'.
   
   You are in 'detached HEAD' state. You can look around, make experimental
   changes and commit them, and you can discard any commits you make in this
   state without impacting any branches by performing another checkout.
   
   If you want to create a new branch to retain commits you create, you may
   do so (now or later) by using -b with the checkout command again. Example:
   
     git checkout -b new_branch_name
   
   Updating manifest for /root/A/apisix/deps/lib64/luarocks/rocks
   lua-resty-prometheus 1.1-0 is now built and installed in /root/A/apisix/deps (license: MIT)
   
   Using https://luarocks.org/lua-resty-ngxvar-0.5-0.rockspec... switching to 'build' mode
   正克隆到 'lua-var-nginx-module'...
   remote: Enumerating objects: 25, done.
   remote: Counting objects: 100% (25/25), done.
   remote: Compressing objects: 100% (23/23), done.
   remote: Total 25 (delta 1), reused 18 (delta 0), pack-reused 0
   Unpacking objects: 100% (25/25), done.
   Note: checking out '806895b29f53c0c6c5d369c955133479413e2394'.
   
   You are in 'detached HEAD' state. You can look around, make experimental
   changes and commit them, and you can discard any commits you make in this
   state without impacting any branches by performing another checkout.
   
   If you want to create a new branch to retain commits you create, you may
   do so (now or later) by using -b with the checkout command again. Example:
   
     git checkout -b new_branch_name
   
   Updating manifest for /root/A/apisix/deps/lib64/luarocks/rocks
   lua-resty-ngxvar 0.5-0 is now built and installed in /root/A/apisix/deps (license: Apache License 2.0)
   
   Using https://luarocks.org/lua-resty-balancer-0.02rc5-0.rockspec... switching to 'build' mode
   正克隆到 'lua-resty-balancer'...
   remote: Enumerating objects: 20, done.
   remote: Counting objects: 100% (20/20), done.
   remote: Compressing objects: 100% (16/16), done.
   remote: Total 20 (delta 1), reused 11 (delta 1), pack-reused 0
   Unpacking objects: 100% (20/20), done.
   Note: checking out '0fb8a792ca69a3769b358fb489e2fb36c183bb6e'.
   
   You are in 'detached HEAD' state. You can look around, make experimental
   changes and commit them, and you can discard any commits you make in this
   state without impacting any branches by performing another checkout.
   
   If you want to create a new branch to retain commits you create, you may
   do so (now or later) by using -b with the checkout command again. Example:
   
     git checkout -b new_branch_name
   
   gcc -O2 -fPIC -I/usr/include -c chash.c -o chash.o
   gcc -shared -o librestychash.so -L/usr/lib64/lua/5.1 chash.o
   Updating manifest for /root/A/apisix/deps/lib64/luarocks/rocks
   lua-resty-balancer 0.02rc5-0 is now built and installed in /root/A/apisix/deps (license: Apache License 2.0)
   
   Using https://luarocks.org/lua-tinyyaml-1.0-0.rockspec... switching to 'build' mode
   正克隆到 'lua-tinyyaml'...
   remote: Enumerating objects: 13, done.
   remote: Counting objects: 100% (13/13), done.
   remote: Compressing objects: 100% (13/13), done.
   remote: Total 13 (delta 0), reused 9 (delta 0), pack-reused 0
   Unpacking objects: 100% (13/13), done.
   Note: checking out 'b130c2b375d4560d5b812e1a9c3a60b2a0338d65'.
   
   You are in 'detached HEAD' state. You can look around, make experimental
   changes and commit them, and you can discard any commits you make in this
   state without impacting any branches by performing another checkout.
   
   If you want to create a new branch to retain commits you create, you may
   do so (now or later) by using -b with the checkout command again. Example:
   
     git checkout -b new_branch_name
   
   Updating manifest for /root/A/apisix/deps/lib64/luarocks/rocks
   lua-tinyyaml 1.0-0 is now built and installed in /root/A/apisix/deps (license: MIT License)
   
   Using https://luarocks.org/luafilesystem-1.7.0-2.src.rock... switching to 'build' mode
   gcc -O2 -fPIC -I/usr/include -c src/lfs.c -o src/lfs.o
   gcc -shared -o lfs.so -L/usr/lib64/lua/5.1 src/lfs.o
   Updating manifest for /root/A/apisix/deps/lib64/luarocks/rocks
   luafilesystem 1.7.0-2 is now built and installed in /root/A/apisix/deps (license: MIT/X11)
   
   Using https://luarocks.org/lua-resty-radixtree-2.2-0.rockspec... switching to 'build' mode
   正克隆到 'lua-resty-radixtree'...
   remote: Enumerating objects: 52, done.
   remote: Counting objects: 100% (52/52), done.
   remote: Compressing objects: 100% (45/45), done.
   remote: Total 52 (delta 24), reused 18 (delta 3), pack-reused 0
   Unpacking objects: 100% (52/52), done.
   Note: checking out '09d07bf35fa050bf8df4e2137e3346a7457f24ce'.
   
   You are in 'detached HEAD' state. You can look around, make experimental
   changes and commit them, and you can discard any commits you make in this
   state without impacting any branches by performing another checkout.
   
   If you want to create a new branch to retain commits you create, you may
   do so (now or later) by using -b with the checkout command again. Example:
   
     git checkout -b new_branch_name
   
   make[1]: 进入目录“/tmp/luarocks_lua-resty-radixtree-2.2-0-2392/lua-resty-radixtree”
   gcc -O2 -fPIC -std=c99 -g -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -DBUILDING_SO -c src/rax.c -o src/rax.o
   gcc -O2 -fPIC -std=c99 -g -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -DBUILDING_SO -c src/easy_rax.c -o src/easy_rax.o
   gcc -shared -fvisibility=hidden src/rax.o src/easy_rax.o -o librestyradixtree.so
   make[1]: 离开目录“/tmp/luarocks_lua-resty-radixtree-2.2-0-2392/lua-resty-radixtree”
   make[1]: 进入目录“/tmp/luarocks_lua-resty-radixtree-2.2-0-2392/lua-resty-radixtree”
   install -d /root/A/apisix/deps/lib64/luarocks/rocks/lua-resty-radixtree/2.2-0/lua/resty/
   install lib/resty/*.lua /root/A/apisix/deps/lib64/luarocks/rocks/lua-resty-radixtree/2.2-0/lua/resty/
   install librestyradixtree.so /root/A/apisix/deps/lib64/luarocks/rocks/lua-resty-radixtree/2.2-0/lib/
   make[1]: 离开目录“/tmp/luarocks_lua-resty-radixtree-2.2-0-2392/lua-resty-radixtree”
   Updating manifest for /root/A/apisix/deps/lib64/luarocks/rocks
   lua-resty-radixtree 2.2-0 is now built and installed in /root/A/apisix/deps (license: Apache License 2.0)
   
   Using https://luarocks.org/base64-1.5-2.src.rock... switching to 'build' mode
   Updating manifest for /root/A/apisix/deps/lib64/luarocks/rocks
   base64 1.5-2 is now built and installed in /root/A/apisix/deps (license: MIT/Public Domain)
   
   Using https://luarocks.org/lua-resty-session-2.24-1.src.rock... switching to 'build' mode
   Updating manifest for /root/A/apisix/deps/lib64/luarocks/rocks
   lua-resty-session 2.24-1 is now built and installed in /root/A/apisix/deps (license: BSD)
   
   Checking stability of dependencies on the absence of
   lua-resty-session 3.6-1...
   
   Removing lua-resty-session 3.6-1...
   Removal successful.
   Using https://luarocks.org/lua-resty-template-1.9-1.src.rock... switching to 'build' mode
   Updating manifest for /root/A/apisix/deps/lib64/luarocks/rocks
   lua-resty-template 1.9-1 is now built and installed in /root/A/apisix/deps (license: BSD)
   
   Using https://luarocks.org/lua-resty-jit-uuid-0.0.7-2.src.rock... switching to 'build' mode
   Updating manifest for /root/A/apisix/deps/lib64/luarocks/rocks
   lua-resty-jit-uuid 0.0.7-2 is now built and installed in /root/A/apisix/deps (license: MIT)
   
   Stopping after installing dependencies for apisix master-0
   ```
   
   When I execute `make install`, the output information is as follows, I am not sure whether I need to execute `make install`, Because there is no requirement in the readme document that this step must be performed.
   
   ```
   [root@TEST3 apisix]# make install
   install -d /usr/local/apisix/
   install -d /usr/local/apisix/logs/
   install -d /usr/local/apisix/conf/cert
   install conf/mime.types /usr/local/apisix/conf/mime.types
   install conf/config.yaml /usr/local/apisix/conf/config.yaml
   install conf/config-default.yaml /usr/local/apisix/conf/config-default.yaml
   install conf/cert/apisix.* /usr/local/apisix/conf/cert/
   install -d /usr/share/lua/5.1/apisix
   install apisix/*.lua /usr/share/lua/5.1/apisix/
   install -d /usr/share/lua/5.1/apisix/admin
   install apisix/admin/*.lua /usr/share/lua/5.1/apisix/admin/
   install -d /usr/share/lua/5.1/apisix/balancer
   install apisix/balancer/*.lua /usr/share/lua/5.1/apisix/balancer/
   install -d /usr/share/lua/5.1/apisix/core
   install apisix/core/*.lua /usr/share/lua/5.1/apisix/core/
   install -d /usr/share/lua/5.1/apisix/discovery
   install apisix/discovery/*.lua /usr/share/lua/5.1/apisix/discovery/
   install -d /usr/share/lua/5.1/apisix/http
   install apisix/http/*.lua /usr/share/lua/5.1/apisix/http/
   install -d /usr/share/lua/5.1/apisix/http/router
   install apisix/http/router/*.lua /usr/share/lua/5.1/apisix/http/router/
   install -d /usr/share/lua/5.1/apisix/plugins
   install apisix/plugins/*.lua /usr/share/lua/5.1/apisix/plugins/
   install -d /usr/share/lua/5.1/apisix/plugins/grpc-transcode
   install apisix/plugins/grpc-transcode/*.lua /usr/share/lua/5.1/apisix/plugins/grpc-transcode/
   install -d /usr/share/lua/5.1/apisix/plugins/limit-count
   install apisix/plugins/limit-count/*.lua /usr/share/lua/5.1/apisix/plugins/limit-count/
   install -d /usr/share/lua/5.1/apisix/plugins/prometheus
   install apisix/plugins/prometheus/*.lua /usr/share/lua/5.1/apisix/plugins/prometheus/
   install -d /usr/share/lua/5.1/apisix/plugins/zipkin
   install apisix/plugins/zipkin/*.lua /usr/share/lua/5.1/apisix/plugins/zipkin/
   install -d /usr/share/lua/5.1/apisix/plugins/skywalking
   install apisix/plugins/skywalking/*.lua /usr/share/lua/5.1/apisix/plugins/skywalking/
   install -d /usr/share/lua/5.1/apisix/ssl/router
   install apisix/ssl/router/*.lua /usr/share/lua/5.1/apisix/ssl/router/
   install -d /usr/share/lua/5.1/apisix/stream/plugins
   install apisix/stream/plugins/*.lua /usr/share/lua/5.1/apisix/stream/plugins/
   install -d /usr/share/lua/5.1/apisix/stream/router
   install apisix/stream/router/*.lua /usr/share/lua/5.1/apisix/stream/router/
   install -d /usr/share/lua/5.1/apisix/utils
   install apisix/utils/*.lua /usr/share/lua/5.1/apisix/utils/
   install README.md /README.md
   install bin/apisix /usr/bin/apisix
   ```
   
   When executing the apisix start command, the error message is as follows
   
   ```
   [root@TEST3 apisix]# apisix start
   lua: /usr/bin/apisix:1020: module 'dkjson' not found:
   	no field package.preload['dkjson']
   	no file '/usr/local/apisix/deps/share/lua/5.1/dkjson.lua'
   	no file './dkjson.lua'
   	no file '/usr/share/lua/5.1/dkjson.lua'
   	no file '/usr/share/lua/5.1/dkjson/init.lua'
   	no file '/usr/lib64/lua/5.1/dkjson.lua'
   	no file '/usr/lib64/lua/5.1/dkjson/init.lua'
   	no file '/usr/local/apisix/deps/lib64/lua/5.1/dkjson.so'
   	no file '/usr/local/apisix/deps/lib/lua/5.1/dkjson.so'
   	no file './dkjson.so'
   	no file '/usr/lib64/lua/5.1/dkjson.so'
   	no file '/usr/lib64/lua/5.1/loadall.so'
   stack traceback:
   	[C]: in function 'require'
   	/usr/bin/apisix:1020: in function 'init_etcd'
   	/usr/bin/apisix:1113: in function '?'
   	/usr/bin/apisix:1165: in main chunk
   	[C]: ?
   [root@TEST3 apisix]# luarocks list
   Warning: Failed loading manifest for /root/.luarocks/lib64/luarocks/rocks: /root/.luarocks/lib64/luarocks/rocks/manifest: No such file or directory
   ```
   
   and I'm not sure if I need to make some changes to the content of the luarocks configuration file?
   
   ```
   /etc/luarocks/config-5.1.lua
   rocks_trees = {
      { name = [[user]], root = home..[[/.luarocks]] },
      { name = [[system]], root = [[/usr]] }
   }
   ```
   
   ### Environment
   
   * apisix version (cmd: `apisix version`): 1.5
   * OS: CentOS Linux release 7.6.1810 (Core)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander edited a comment on issue #2498: request help: Source code compilation and installation error

Posted by GitBox <gi...@apache.org>.
spacewander edited a comment on issue #2498:
URL: https://github.com/apache/apisix/issues/2498#issuecomment-714450348


   The `make install` is only expected to be called by luarocks. It won't install the Lua dependencies since luarocks already handled them.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander closed issue #2498: request help: Source code compilation and installation error

Posted by GitBox <gi...@apache.org>.
spacewander closed issue #2498:
URL: https://github.com/apache/apisix/issues/2498


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander commented on issue #2498: request help: Source code compilation and installation error

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #2498:
URL: https://github.com/apache/apisix/issues/2498#issuecomment-714450348


   The `make install` is only for luarocks. It won't install the Lua dependencies since luarocks already handled them.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org