Cyrus Imap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have been unsuccessfully trying to install Cyrus Imap.  I have been following the html instructions that came with it.  I get the following errors:

In file included from /usr/include/openssl/ssl.h:179,
                 from prot.h:56,
                 from prot.c:72:
/usr/include/openssl/kssl.h:134: parse error before '*' token
/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 '*' token
/usr/include/openssl/kssl.h:153: parse error before '*' token
/usr/include/openssl/kssl.h:155: parse error before '*' token
/usr/include/openssl/kssl.h:157: parse error before '*' token
/usr/include/openssl/kssl.h:165: parse error before '*' token
In file included from prot.h:56,
                 from prot.c:72:
/usr/include/openssl/ssl.h:909: parse error before "KSSL_CTX"
/usr/include/openssl/ssl.h:931: parse error before '}' token
make[1]: *** [prot.o] Error 1
make[1]: Leaving directory `/home/tbeaton/cyrus-imapd-2.2.6/lib'
make: *** [all] Error 1

The /usr/include/openssl/kssl.h exists and here is the offending chunk of code with line numbers for reference:

    124 typedef struct kssl_ctx_st
    125         {
    126                                 /*      used by:    disposition:            */
    127         char *service_name;     /*      C,S         default ok (kssl)       */
    128         char *service_host;     /*      C           input, REQUIRED         */
    129         char *client_princ;     /*      S           output from krb5 ticket */
    130         char *keytab_file;      /*      S           NULL (/etc/krb5.keytab) */
    131         char *cred_cache;       /*      C           NULL (default)          */
    132         krb5_enctype enctype;
    133         int length;
    134         krb5_octet FAR *key;
    135         } KSSL_CTX;
    136 
    137 #define KSSL_CLIENT     1
    138 #define KSSL_SERVER     2
    139 #define KSSL_SERVICE    3
    140 #define KSSL_KEYTAB     4
    141 
    142 #define KSSL_CTX_OK     0
    143 #define KSSL_CTX_ERR    1
    144 #define KSSL_NOMEM      2
    145 
    146 /* Public (for use by applications that use OpenSSL with Kerberos 5 support */
    147 krb5_error_code kssl_ctx_setstring(KSSL_CTX *kssl_ctx, int which, char *text);
    148 KSSL_CTX *kssl_ctx_new(void);
    149 KSSL_CTX *kssl_ctx_free(KSSL_CTX *kssl_ctx);
    150 void kssl_ctx_show(KSSL_CTX *kssl_ctx);
    151 krb5_error_code kssl_ctx_setprinc(KSSL_CTX *kssl_ctx, int which,
    152         krb5_data *realm, krb5_data *entity);
    153 krb5_error_code kssl_cget_tkt(KSSL_CTX *kssl_ctx,  krb5_data **enc_tktp,
    154         krb5_data *authenp, KSSL_ERR *kssl_err);
    155 krb5_error_code kssl_sget_tkt(KSSL_CTX *kssl_ctx,  krb5_data *indata,
    156         krb5_ticket_times *ttimes, KSSL_ERR *kssl_err);
    157 krb5_error_code kssl_ctx_setkey(KSSL_CTX *kssl_ctx, krb5_keyblock *session);
    158 void    kssl_err_set(KSSL_ERR *kssl_err, int reason, char *text);
    159 void kssl_krb5_free_data_contents(krb5_context context, krb5_data *data);
    160 krb5_error_code  kssl_build_principal_2(krb5_context context,
    161                         krb5_principal *princ, int rlen, const char *realm,
    162                         int slen, const char *svc, int hlen, const char *host);
    163 krb5_error_code  kssl_validate_times(krb5_timestamp atime,
    164                                         krb5_ticket_times *ttimes);
    165 krb5_error_code  kssl_check_authent(KSSL_CTX *kssl_ctx, krb5_data *authentp,
    166                                     krb5_timestamp *atimep, KSSL_ERR *kssl_err);
    167 unsigned char   *kssl_skip_confound(krb5_enctype enctype, unsigned char *authn);

I have googled on the error but haven't found anything that seems to apply.  I have installed:
cyrus-sasl-2.1.19
krb5-devel-1.2.7-14.i386.rpm
krb5-libs-1.2.7-14.i386.rpm
and am trying to install  cyrus-imapd-2.2.6.

I am running RedHat 9.

Thanks in advance for any help.  Meanwhile I'll just keep hacking away.

Ted Beaton
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjecthttps://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux