[메일] Redhat 9 에 qmail 설치 시 발생 문제 해결
qmail-1.03 make 시 발생하는 make: *** [spawn.o] 오류 1 해결법 :
vi qmail-1.03/conf-spawn
——————————————————–
1000
위의 1000 을 509 로 변경
/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.h:4,
from qmail-remote.c:53:
/usr/include/openssl/ssl.h:909: parse error before “KSSL_CTX”
/usr/include/openssl/ssl.h:931: parse error before ‘}’ token
qmail-remote.c: In function `quit’:
qmail-remote.c:263: dereferencing pointer to incomplete type
qmail-remote.c: In function `main’:
qmail-remote.c:655: warning: return type of `main’ is not `int’
make: *** [qmail-remote.o] 오류 1
해결법 :
——————————————————————————–
qmail-1.03/conf-cc 파일 수정
cc -O2 -DTLS=20021228 -I/usr/local/ssl/include 행을
cc -O2 -DTLS=20021228 -I/usr/local/ssl/include -I/usr/kerberos/include 로..