After compilation issue

Hello everybody,

I compiled successfully ejabberd on Win XP in various combination of programs/libraries:
2 versions of erlang (R8B2 and R10B9)
2 versions of expat (1.95.7 and 2.0)
2 or 3 versions of ejabberd (1.0.0, 0.9.8 and maybe 0.9.1 (don't remember)).

There were some issues during the compilation usually dll references needed copied or added to Makefile.
Compilation was made in this way:
http://www.process-one.net/en/projects/ejabberd/docs/guide_en.html

MY ISSUE was at the last step:
werl -s ejabberd -name ejabberd

The output of werl:
http://delfin.klte.hu/~foldip/pub/ejabberd_error_0.txt
http://delfin.klte.hu/~foldip/pub/ejabberd_error_1.txt
http://delfin.klte.hu/~foldip/pub/ejabberd_error_2.txt

I couldn't solve it.

Please give me some hints what to do.
Thank you: Peter from Hungary

I can't help much, but maybe

I can't help much, but I'll try:

{undef, [{randoms,start,[]}

means that Erlang couldn't find a function called randoms:start/0. Probably the 'randoms' library included in ejabberd was not compiled.
To check if it was, look for randoms.beam. If it's available, open an Erlang shell on that directory an do this:

ejabberd/src$ erl
Erlang (BEAM) emulator version 5.4.12 [source] [hipe] [kernel-poll]

Eshell V5.4.12  (abort with ^G)
1> randoms:start().
true
2> q().
ok
error_info: {einval,[{erlang,open_port_prim,
 [{spawn, "c:/ERL51~1.2/lib/ssl-2.3.5.1/priv/bin/s
l_esock     "},

'einval', what does that mean? It's explained on the Erlang/OTP documentation, somewhere. ssl_sock requires OpenSSL to be properly compiled and used, maybe there was a problem with that?

Thanks.Randoms works, and

Thanks.

Randoms works, and it's compiled.
I think the trouble will be with that "einval" error. I agree with you that it should be something with ssl but I have no idea what's wrong and how to fix it.

Syndicate content