0

I am trying to install ejabberd server in my own mac by following the official instruction. However, when I run make && make install, it gives me weird error messages. I did search on stackoverflow and found Argument list too long is a error because of long input -- See link. However, I never changed any code in ejabberd and it is original cloned from github official repository.

My OS is Mac OS X El Captain 10.11.1.

Any ideas? How can I get rid of the Argument List too long error?

checking openssl/sha.h presence... yes
checking for openssl/sha.h... yes
configure: creating ./config.status
./config.status: line 268: /usr/bin/sed: Argument list too long
./config.status: line 275: /bin/rm: Argument list too long
./config.status: line 279: /bin/rm: Argument list too long
./config.status: line 299: /bin/rm: Argument list too long
./config.status: line 393: /usr/bin/sed: Argument list too long
./config.status: line 509: /usr/bin/sed: Argument list too long
./config.status: line 558: /bin/mkdir: Argument list too long
: error: cannot create a temporary directory in .
ERROR: Command ['get-deps'] failed!
make: *** [deps/.got] Error 1
Community
  • 1
  • 1
Haoyu Chen
  • 1,760
  • 1
  • 22
  • 32

1 Answers1

0

The standard installation document explains what need to be done with latest OSX: http://docs.ejabberd.im/admin/guide/installation/#specific-notes-for-osx-yosemite-or-el-capitan

You need to define the path to libraries installed by homebrew (expat and openssl).

We will also update the developer page to reflect the specific need of latest OSX versions.

Mickaël Rémond
  • 9,035
  • 1
  • 24
  • 44