[ejabberd] ejabberd 2.0.0 beta 1 on windows

Alexander Gnauck gnauck at ag-software.de
Tue Dec 25 14:49:00 MSK 2007


Hello,

ejabberd 2.0.0 beta 1 does not start on windows.
There seems to be a problem in the ejabberdctl script.
On my windows server it always goes in the *nix case here.

OS=`uname -s | tr [A-Z] [a-z]`
echo $OS | grep "^win" >/dev/null 2>&1
if [ $? -eq 0 ] ; then
     ERL=erl.exe
     DBG=werl.exe
     ROOTDIR=..
     ARCHDIR=windows
     PATH=.:$PATH
else
     ERL=erlexec
     DBG=erlexec
     HERE=`which "$0"`
     BASE=`dirname $HERE`/..
     ROOTDIR=`(cd $BASE; pwd)`
     ARCHDIR=${OS}-${CPU}
     LD_LIBRARY_PATH="$ROOTDIR/lib/$ARCHDIR"
     DYLD_LIBRARY_PATH="$LD_LIBRARY_PATH"
fi

Alex



More information about the ejabberd mailing list