我正在使用源代码安装ejabberd。我从git:https://github.com/processone/ejabberd.git获取了克隆。并遵循以下步骤: Git:brew install git Erlang / OTP:brew install erlang
Autoconf:brew install autoconf
Automake:brew install automake
Openssl:brew install openssl
Expat:brew install expat
Libyaml:brew install libyaml
Libiconv:brew install libiconv
Sqlite:brew install sqlite
chmod + x autogen.sh ./autogen.sh export LDFLAGS =" -L / usr / local / opt / openssl / lib -L / usr / local / lib -L / usr / local / opt / expat / lib"
导出CFLAGS =" -I / usr / local / opt / openssl / include / -I / usr / local / include -I / usr / local / opt / expat / include"
导出CPPFLAGS =" -I / usr / local / opt / openssl / include / -I / usr / local / include -I / usr / local / opt / expat / include"
./ configure --prefix = $ HOME / my-ejabberd --enable-mysql
请
以上命令工作正常。但是" sudo make install"有问题。
/ usr / bin / install -c -d -m 750 -g pravin // etc / ejabberd 安装:pravin:参数无效 make:*** [install]错误67
请帮帮我。 提前谢谢。
答案 0 :(得分:0)
仅针对当前版本brew install ejabberd
或brew install ejabberd --HEAD
安装当前git master HEAD