Dear all,
I try to compile the TLS Support in my openser. I use openser-1.0.1-tls and The operating system is Redhat.
I have done some commands like:
1. localhost@root # export TLS=1
2. Uncomment (enable) TLS =1 in Makefile
3. localhost@root # TLS=1 make all
I do those task based on the tutorial that i have read from www.openser.org/docs/tls.html.
But, when i run the make command, TLS=1 make all, there is an error message. The error message is
make: *** [main.o] Error 1
Does someone can help me to solve this problem? What should i do ? Please help me....
NB: this is the message that i have got when run the make command
>>
In file included from /usr/include/openssl/ssl.h:179,
>> from tls/tls_init.h:27,
>> from main.c:112:
>> /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/tls_init.h:27,
>> from main.c:112:
>> /usr/include/openssl/kssl.h:132: parse error before "krb5_enctype"
>> /usr/include/openssl/kssl.h:134: parse error before "FAR"
>> /usr/include/openssl/kssl.h:135: parse error before '}' token
>>
/usr/include/openssl/kssl.h:147: parse error before "kssl_ctx_setstring"
>> /usr/include/openssl/kssl.h:147: parse error before '*' token
>> /usr/include/openssl/kssl.h:148: parse error before '*' token
>> /usr/include/openssl/kssl.h:149: parse error before '*' token
>> /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 "kssl_ctx_setprinc"
>> /usr/include/openssl/kssl.h:151: parse error before '*' token
>> /usr/include/openssl/kssl.h:153: parse error before "kssl_cget_tkt"
>> /usr/include/openssl/kssl.h:153: parse error before '*' token
>> /usr/include/openssl/kssl.h:155: parse error before "kssl_sget_tkt"
>> /usr/include/openssl/kssl.h:155: parse error before '*' token
>>
/usr/include/openssl/kssl.h:157: parse error before "kssl_ctx_setkey"
>> /usr/include/openssl/kssl.h:157: parse error before '*' token
>> /usr/include/openssl/kssl.h:159: parse error before "context"
>> /usr/include/openssl/kssl.h:160: parse error before "kssl_build_principal_2"
>> /usr/include/openssl/kssl.h:160: parse error before "context"
>> /usr/include/openssl/kssl.h:163: parse error before "kssl_validate_times"
>> /usr/include/openssl/kssl.h:163: parse error before "atime"
>> /usr/include/openssl/kssl.h:165: parse error before "kssl_check_authent"
>> /usr/include/openssl/kssl.h:165: parse error before '*' token
>> /usr/include/openssl/kssl.h:167: parse error before "enctype"
>> In file included from tls/tls_init.h:27,
>> from
main.c:112:
>> /usr/include/openssl/ssl.h:909: parse error before "KSSL_CTX"
>> /usr/include/openssl/ssl.h:931: parse error before '}' token
>> make: *** [main.o] Error 1
Thank you.
Sincerely yours,
Ferianto