# I want to install it as a source file, not as an rpm

**URL:** <https://discuss.konghq.com/t/i-want-to-install-it-as-a-source-file-not-as-an-rpm/11659>\
**Category:** General\
**Created:** [July 4, 2023, 2:01am UTC](https://discuss.konghq.com/t/i-want-to-install-it-as-a-source-file-not-as-an-rpm/11659 "2023-07-04T02:01:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sujin33806](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/sujin33806/32/4030_2.png) [@sujin33806](https://discuss.konghq.com/u/sujin33806)\
**Post date:** [July 4, 2023, 2:01am UTC](https://discuss.konghq.com/t/i-want-to-install-it-as-a-source-file-not-as-an-rpm/11659/1 "2023-07-04T02:01:22Z")

</div>

\*\* kong source file version  
[https://github.com/Kong/kong/archive/refs/tags/2.8.1.tar.gz](https://github.com/Kong/kong/archive/refs/tags/2.8.1.tar.gz)

\*\* openssl version  
OpenSSL 1.0.1e-fips 11 Feb 2013

\*\* openresty version  
nginx version: openresty/1.21.4.1

\*\* luarocks version  
Configuration:  
Lua:  
Version : 5.1  
Interpreter: /usr/bin/lua (ok)  
LUA\_DIR : /usr (ok)  
LUA\_BINDIR : /usr/bin (ok)  
LUA\_INCDIR : /home/datahub/lua-5.1/src (ok)  
LUA\_LIBDIR : /usr/lib64 (ok)

Configuration files:  
System : /usr/local/etc/luarocks/config-5.1.lua (ok)  
User : /home/datahub/.luarocks/config-5.1.lua (ok)

## Rocks trees in use: /home/datahub/.luarocks (“user”) /usr/local (“system”) \*\* luarocks list Rocks installed for Lua 5.1

lua-ffi-zlib  
0.5-0 (installed) - /home/datahub/.luarocks/lib/luarocks/rocks-5.1

lua-resty-ipmatcher  
0.6.1-0 (installed) - /home/datahub/.luarocks/lib/luarocks/rocks-5.1  
0.6.1-0 (installed) - /usr/local/lib/luarocks/rocks-5.1

lua-resty-jit-uuid  
0.0.7-2 (installed) - /usr/local/lib/luarocks/rocks-5.1

lua\_system\_constants  
0.1.4-0 (installed) - /home/datahub/.luarocks/lib/luarocks/rocks-5.1

luafilesystem  
1.8.0-1 (installed) - /home/datahub/.luarocks/lib/luarocks/rocks-5.1

luasocket  
3.1.0-1 (installed) - /home/datahub/.luarocks/lib/luarocks/rocks-5.1  
3.1.0-1 (installed) - /usr/local/lib/luarocks/rocks-5.1

penlight  
1.13.1-1 (installed) - /home/datahub/.luarocks/lib/luarocks/rocks-5.1

* * *

$ kong config init

ERROR: ./kong/deprecation.lua:11: attempt to call field ‘set\_deprecation\_func’ (a nil value)  
stack traceback:  
./kong/deprecation.lua:48: in function ‘init’  
./kong/globalpatches.lua:430: in function \<./kong/globalpatches.lua:4\>  
./kong/cmd/init.lua:1: in main chunk  
[C]: in function ‘require’  
/home/datahub/kong-2.8.1/bin/kong:9: in function ‘file\_gen’  
init\_worker\_by\_lua:47: in function \<init\_worker\_by\_lua:45\>  
[C]: in function ‘xpcall’  
init\_worker\_by\_lua:54: in function \<init\_worker\_by\_lua:52\>

**What should I do to fix this error ?**
