Hi all,
I use Red Hat Linux 9.0. I have successfully compiled and installed erlang but I am not able to make ejabberd. When I try to 'make' ejabberd I get the following error
/usr/local/bin/erl -s make all report -noinput -s erlang halt
making all in mod_irc
make[1]: Entering directory `/eJabberd/ejabberd-0.9.1/src/mod_irc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/eJabberd/ejabberd-0.9.1/src/mod_irc'
making all in mod_pubsub
make[1]: Entering directory `/eJabberd/ejabberd-0.9.1/src/mod_pubsub'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/eJabberd/ejabberd-0.9.1/src/mod_pubsub'
making all in mod_muc
make[1]: Entering directory `/eJabberd/ejabberd-0.9.1/src/mod_muc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/eJabberd/ejabberd-0.9.1/src/mod_muc'
making all in eldap
make[1]: Entering directory `/eJabberd/ejabberd-0.9.1/src/eldap'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/eJabberd/ejabberd-0.9.1/src/eldap'
making all in web
make[1]: Entering directory `/eJabberd/ejabberd-0.9.1/src/web'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/eJabberd/ejabberd-0.9.1/src/web'
making all in stringprep
make[1]: Entering directory `/eJabberd/ejabberd-0.9.1/src/stringprep'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/eJabberd/ejabberd-0.9.1/src/stringprep'
making all in tls
make[1]: Entering directory `/eJabberd/ejabberd-0.9.1/src/tls'
gcc -Wall -g -O2 -DHAVE_SSL -I/usr/local/lib/erlang/lib/erl_interface-3.5.3/include -I/usr/local/lib/erlang/usr/include -L/usr/kerberos/lib \
tls_drv.c -L/usr/local/ssl/include//lib -lssl -lcrypto -L/usr/local/lib/erlang/lib/erl_interface-3.5.3/lib -lerl_interface -lei \
-o ../tls_drv.so -fpic -shared
In file included from /usr/include/openssl/ssl.h:179,
from tls_drv.c:6:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
In file included from /usr/include/openssl/ssl.h:179,
from tls_drv.c:6:
/usr/include/openssl/kssl.h:134: parse error before "krb5_enctype"
/usr/include/openssl/kssl.h:136: parse error before '*' token
/usr/include/openssl/kssl.h:137: parse error before '}' token
/usr/include/openssl/kssl.h:149: parse error before "kssl_ctx_setstring"
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:150: parse error before '*' token
/usr/include/openssl/kssl.h:151: parse error before '*' token
/usr/include/openssl/kssl.h:151: parse error before '*' token
/usr/include/openssl/kssl.h:152: parse error before '*' token
/usr/include/openssl/kssl.h:153: parse error before "kssl_ctx_setprinc"
/usr/include/openssl/kssl.h:153: parse error before '*' token
/usr/include/openssl/kssl.h:155: parse error before "kssl_cget_tkt"
/usr/include/openssl/kssl.h:155: parse error before '*' token
/usr/include/openssl/kssl.h:157: parse error before "kssl_sget_tkt"
/usr/include/openssl/kssl.h:157: parse error before '*' token
/usr/include/openssl/kssl.h:159: parse error before "kssl_ctx_setkey"
/usr/include/openssl/kssl.h:159: parse error before '*' token
/usr/include/openssl/kssl.h:161: parse error before "context"
/usr/include/openssl/kssl.h:162: parse error before "kssl_build_principal_2"
/usr/include/openssl/kssl.h:162: parse error before "context"
/usr/include/openssl/kssl.h:165: parse error before "kssl_validate_times"
/usr/include/openssl/kssl.h:165: parse error before "atime"
/usr/include/openssl/kssl.h:167: parse error before "kssl_check_authent"
/usr/include/openssl/kssl.h:167: parse error before '*' token
/usr/include/openssl/kssl.h:169: parse error before "enctype"
In file included from tls_drv.c:6:
/usr/include/openssl/ssl.h:909: parse error before "KSSL_CTX"
/usr/include/openssl/ssl.h:931: parse error before '}' token
make[1]: *** [../tls_drv.so] Error 1
make[1]: Leaving directory `/eJabberd/ejabberd-0.9.1/src/tls'
make: *** [all-recursive] Error 1
Please can anyone help me in rectifying this error...
Thanks
Ramesh
check kerberos development files In file included from
I'd say you must install 'Kerberos 5 development files' (or something similar).
Thanks badlop for your
Thanks badlop for your comments. I will install Kerberos and let me check...