make errors on RHEL3

David L'Heureux davidl at infoasis.com
Thu Jun 24 01:51:40 EDT 2004


  After configuring on RHEL3, I can't make from the 2.2.6 source. I seem 
to be missing an include file <openssl/krb5.h>, and then a bunch of (I 
think related?) compiler errors related to krb5 stuff:

  gcc -c -I.. -I/usr/include -DHAVE_CONFIG_H -g -O2 \
  prot.c
  In file included from /usr/include/openssl/ssl.h:179,
  from prot.h:56,
  from prot.c:72:
  /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 prot.h:56,
  from prot.c:72:
  /usr/include/openssl/kssl.h:134: syntax error before "krb5_enctype"
  /usr/include/openssl/kssl.h:136: syntax error before '*' token
  /usr/include/openssl/kssl.h:137: syntax error before '}' token
  /usr/include/openssl/kssl.h:149: syntax error before 
"kssl_ctx_setstring"
  /usr/include/openssl/kssl.h:149: syntax error before '*' token
  /usr/include/openssl/kssl.h:150: syntax error before '*' token
  /usr/include/openssl/kssl.h:151: syntax error before '*' token
  /usr/include/openssl/kssl.h:151: syntax error before '*' token
  /usr/include/openssl/kssl.h:152: syntax error before '*' token
  /usr/include/openssl/kssl.h:153: syntax error before 
"kssl_ctx_setprinc"
  /usr/include/openssl/kssl.h:153: syntax error before '*' token
  /usr/include/openssl/kssl.h:155: syntax error before "kssl_cget_tkt"
  /usr/include/openssl/kssl.h:155: syntax error before '*' token
  /usr/include/openssl/kssl.h:157: syntax error before "kssl_sget_tkt"
  /usr/include/openssl/kssl.h:157: syntax error before '*' token
  /usr/include/openssl/kssl.h:159: syntax error before "kssl_ctx_setkey"
  /usr/include/openssl/kssl.h:159: syntax error before '*' token
  /usr/include/openssl/kssl.h:161: syntax error before "context"
  /usr/include/openssl/kssl.h:162: syntax error before 
"kssl_build_principal_2"
  /usr/include/openssl/kssl.h:162: syntax error before "context"
  /usr/include/openssl/kssl.h:165: syntax error before 
"kssl_validate_times"
  /usr/include/openssl/kssl.h:165: syntax error before "atime"
  /usr/include/openssl/kssl.h:167: syntax error before 
"kssl_check_authent"
  /usr/include/openssl/kssl.h:167: syntax error before '*' token
  /usr/include/openssl/kssl.h:169: syntax error before "enctype"
  In file included from prot.h:56,
  from prot.c:72:
  /usr/include/openssl/ssl.h:909: syntax error before "KSSL_CTX"
  /usr/include/openssl/ssl.h:931: syntax error before '}' token
  make[1]: *** [prot.o] Error 1
  make[1]: Leaving directory `/usr/local/cyrus-imapd-2.2.6/lib'
  make: *** [all] Error 1

My configure options were:

# ./configure --with-sasl --with-perl --with-auth=unix --with-bdb 
--with-openssl

rpm shows:

# rpm -qa | grep krb5
krb5-devel-1.2.7-24
pam_krb5-1.73-1
krb5-workstation-1.2.7-24
krb5-server-1.2.7-24
krb5-libs-1.2.7-24

# rpm -qa | grep openssl
openssl-0.9.7a-33.4
openssl-devel-0.9.7a-33.4

  Any ideas/thoughts?

TIA--David

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list