processone / ejabberd-contrib

Growing and curated ejabberd contributions repository - PR or ask to join !
http://ejabberd.im
250 stars 140 forks source link

mod_logxml compilation failed ejabberd 17 #218

Closed interda closed 7 years ago

interda commented 7 years ago
ejabberdctl module_install mod_logxml
/var/spool/ejabberd/.ejabberd-modules/sources/ejabberd-contrib/mod_logxml/src/
mod_logxml.erl:174: syntax error before: '}'

/var/spool/ejabberd/.ejabberd-modules/sources/ejabberd-contrib/mod_logxml/src/
mod_logxml.erl:14: function receive_packet/1 undefined

/var/spool/ejabberd/.ejabberd-modules/sources/ejabberd-contrib/mod_logxml/src/
mod_logxml.erl:12: Warning: undefined callback function depends/2 (behaviour 'gen_mod')

/var/spool/ejabberd/.ejabberd-modules/sources/ejabberd-contrib/mod_logxml/src/
mod_logxml.erl:12: Warning: undefined callback function mod_opt_type/1 (behaviour 'gen_mod')

Error: {compilation_failed,"/var/spool/ejabberd/.ejabberd-modules/sources/
ejabberd-contrib/mod_logxml/src/mod_logxml.erl"}
badlop commented 7 years ago

Thanks for reporting! Please update git, and check if now everything works correctly.

interda commented 7 years ago

After update also failed. /var/spool/ejabberd/.ejabberd-modules/sources/ejabberd-contrib/mod_logxml/src/mod_logxml.erl:12: Warning: undefined callback function depends/2 (behaviour 'gen_mod') /var/spool/ejabberd/.ejabberd-modules/sources/ejabberd-contrib/mod_logxml/src/mod_logxml.erl:12: Warning: undefined callback function mod_opt_type/1 (behaviour 'gen_mod')

badlop commented 7 years ago

Those are only warnings, not errors, and I think they do not affect the module . It should work correctly.