What steps will reproduce the problem?
1. Download prosody-0.11.1
2. configure && make
3. launch prosodyctl
What is the expected output?
prosodyctl should work
What do you see instead?
I use this error:
$ ./prosodyctl
/usr/local/bin/lua51: ./util/xpcall.lua:4: module 'util.compat' not found:
no field package.preload['util.compat']
no file './util/compat.lua'
no file '/usr/local/share/lua/5.1/util/compat.lua'
no file '/usr/local/share/lua/5.1/util/compat/init.lua'
no file '/usr/local/lib/lua/5.1/util/compat.lua'
no file '/usr/local/lib/lua/5.1/util/compat/init.lua'
no file './util/compat.so'
no file '/usr/local/lib/lua/5.1/util/compat.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file './util.so'
no file '/usr/local/lib/lua/5.1/util.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'require'
./util/xpcall.lua:4: in main chunk
[C]: in function 'require'
./util/timer.lua:16: in main chunk
[C]: in function 'require'
./net/dns.lua:16: in main chunk
[C]: in function 'require'
./net/adns.lua:10: in main chunk
[C]: in function 'require'
./net/resolvers/basic.lua:1: in main chunk
[C]: in function 'require'
./net/http.lua:16: in main chunk
[C]: in function 'require'
./util/startup.lua:313: in function 'init_http_client'
./util/startup.lua:521: in function 'prosodyctl'
./prosodyctl:49: in main chunk
[C]: ?
What version of the product are you using? On what operating system?
prosody-0.11.1
OpenBSD 6.4
lua5.1
Please provide any additional information below.
Zash
on
Thanks for the report!
Looks like someone forgot to update the non-GNU makefile, should be an easy fix.
As a workaround you can try building with gmake instead of make.
What steps will reproduce the problem? 1. Download prosody-0.11.1 2. configure && make 3. launch prosodyctl What is the expected output? prosodyctl should work What do you see instead? I use this error: $ ./prosodyctl /usr/local/bin/lua51: ./util/xpcall.lua:4: module 'util.compat' not found: no field package.preload['util.compat'] no file './util/compat.lua' no file '/usr/local/share/lua/5.1/util/compat.lua' no file '/usr/local/share/lua/5.1/util/compat/init.lua' no file '/usr/local/lib/lua/5.1/util/compat.lua' no file '/usr/local/lib/lua/5.1/util/compat/init.lua' no file './util/compat.so' no file '/usr/local/lib/lua/5.1/util/compat.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file './util.so' no file '/usr/local/lib/lua/5.1/util.so' no file '/usr/local/lib/lua/5.1/loadall.so' stack traceback: [C]: in function 'require' ./util/xpcall.lua:4: in main chunk [C]: in function 'require' ./util/timer.lua:16: in main chunk [C]: in function 'require' ./net/dns.lua:16: in main chunk [C]: in function 'require' ./net/adns.lua:10: in main chunk [C]: in function 'require' ./net/resolvers/basic.lua:1: in main chunk [C]: in function 'require' ./net/http.lua:16: in main chunk [C]: in function 'require' ./util/startup.lua:313: in function 'init_http_client' ./util/startup.lua:521: in function 'prosodyctl' ./prosodyctl:49: in main chunk [C]: ? What version of the product are you using? On what operating system? prosody-0.11.1 OpenBSD 6.4 lua5.1 Please provide any additional information below.
Thanks for the report! Looks like someone forgot to update the non-GNU makefile, should be an easy fix. As a workaround you can try building with gmake instead of make.
ChangesFixed in https://hg.prosody.im/trunk/rev/8154a8841bb2
ChangesSee also #1072
Works fine. Thanks you