Hi,
I'm trying to install ejabberd on rhel 4. I had no problem installing erlang (I used a rpm for fc3 I found on rpm.pbone.net). Then, I downloaded the version 1.1.1 tarball. The "configure" ran without any problems but I get this error when I try to "make" :
/usr/bin/erlc -W ejabberd_s2s_in.erl
./ejabberd_s2s_in.erl:34: can't find include lib "ssl/include/PKIX1Explicit88.hrl"
./ejabberd_s2s_in.erl:35: can't find include lib "ssl/include/PKIX1Implicit88.hrl"
./ejabberd_s2s_in.erl:575: undefined macro ''id-at-commonName''
./ejabberd_s2s_in.erl:260: function get_cert_domains/1 undefined
make: *** [ejabberd_s2s_in.beam] Error 1
Obviously something to do with ssl but I can't figure out what it is. I have openssl-0.9.7a (and openssl-devel-0.9.7a) installed.
Would upgrading openssl to its latest version make any difference?
Any help would be appreciated.
Re: Problem installing ejabberd on rhel 4
Hi,
I'm trying to install ejabberd on rhel 4. I had no problem installing erlang (I used a rpm for fc3 I found on rpm.pbone.net).
Are you sure the Erlang version was suitable for ejabberd 1.0.0 and higher? (see release notes)
Thanks for your answer
Thanks for your answer sander,
The erlang installation was effectively the cause of the problem. I downloaded the source for erlang-R9C-2 (my rpm was for erlang-R10B), compiled and installed it and the ejabberd installation went through without any problems.
Re: Thanks for your answer
The erlang installation was effectively the cause of the problem. I downloaded the source for erlang-R9C-2 (my rpm was for erlang-R10B), compiled and installed it and the ejabberd installation went through without any problems.
Strange, newer should work also. Maybe the rpm did not included all needed files for some reason?