equal
deleted
inserted
replaced
99 }, "SSL/TLS support will not be available"); |
99 }, "SSL/TLS support will not be available"); |
100 end |
100 end |
101 |
101 |
102 local encodings, err = softreq "util.encodings" |
102 local encodings, err = softreq "util.encodings" |
103 if not encodings then |
103 if not encodings then |
104 if err:match("not found") then |
104 if err:match("module '[^']*' not found") then |
105 missingdep("util.encodings", { ["Windows"] = "Make sure you have encodings.dll from the Prosody distribution in util/"; |
105 missingdep("util.encodings", { ["Windows"] = "Make sure you have encodings.dll from the Prosody distribution in util/"; |
106 ["GNU/Linux"] = "Run './configure' and 'make' in the Prosody source directory to build util/encodings.so"; |
106 ["GNU/Linux"] = "Run './configure' and 'make' in the Prosody source directory to build util/encodings.so"; |
107 }); |
107 }); |
108 else |
108 else |
109 print "***********************************" |
109 print "***********************************" |
116 fatal = true; |
116 fatal = true; |
117 end |
117 end |
118 |
118 |
119 local hashes, err = softreq "util.hashes" |
119 local hashes, err = softreq "util.hashes" |
120 if not hashes then |
120 if not hashes then |
121 if err:match("not found") then |
121 if err:match("module '[^']*' not found") then |
122 missingdep("util.hashes", { ["Windows"] = "Make sure you have hashes.dll from the Prosody distribution in util/"; |
122 missingdep("util.hashes", { ["Windows"] = "Make sure you have hashes.dll from the Prosody distribution in util/"; |
123 ["GNU/Linux"] = "Run './configure' and 'make' in the Prosody source directory to build util/hashes.so"; |
123 ["GNU/Linux"] = "Run './configure' and 'make' in the Prosody source directory to build util/hashes.so"; |
124 }); |
124 }); |
125 else |
125 else |
126 print "***********************************" |
126 print "***********************************" |