ejabbered 14.05 centos 6.5 make install error

I am doing the following steps:

git clone git://github.com/processone/ejabberd.git ejabberd
cd ejabberd
./configure --enable-mysql --enable-tools --enable-stun --enable-debug
make
make install
<code>

make install is throwing the following error:
<code>
/usr/local/lib/erlang/bin/escript rebar skip_deps=true compile
==> rel (compile)
==> ejabberd (compile)
#
# Configuration files
/usr/bin/install -c -d -m 750  //etc/ejabberd
[ -f //etc/ejabberd/ejabberd.yml ] \
&& /usr/bin/install -c -b -m 640  ejabberd.yml.example //etc/ejabberd/ejabberd.yml-new \
|| /usr/bin/install -c -b -m 640  ejabberd.yml.example //etc/ejabberd/ejabberd.yml
/bin/sed -e "s*{{rootdir}}*/*" \
-e "s*{{installuser}}**" \
-e "s*{{libdir}}*//lib*" \
-e "s*{{sysconfdir}}*//etc*" \
-e "s*{{localstatedir}}*//var*" \
-e "s*{{docdir}}*//share/doc/ejabberd*" \
-e "s*{{erl}}*/usr/local/bin/erl*" ejabberdctl.template \
> ejabberdctl.example
[ -f //etc/ejabberd/ejabberdctl.cfg ] \
&& /usr/bin/install -c -b -m 640  ejabberdctl.cfg.example //etc/ejabberd/ejabberdctl.cfg-new \
|| /usr/bin/install -c -b -m 640  ejabberdctl.cfg.example //etc/ejabberd/ejabberdctl.cfg
/usr/bin/install -c -b -m 644  inetrc //etc/ejabberd/inetrc
/usr/bin/install: `inetrc' and `//etc/ejabberd/inetrc' are the same file
make: *** [install] Error 1

Does anyone know how to fix that?

Not sure you are still need

Not sure you are still need it or not, but I have this issues when I compile ejaaberd today. I have this issues because I have been compiled before, and I want compile it again. Then there have this issues. How to fix it is use make uninstall and make clean command, then this issues was fixed.

hope this can help you to fix your issues.

Syndicate content