Tried both tarball and svn checkout, no go. Confused about ports and component references. Both bandersnatch and ejabberd were very difficult to install on gentoo, and a little easier on debian.

http://www.gonzo.kiev.ua/projects/jabber/bandersnatch-en.html

I think the problem was simply the hostname directive.