imsp 1.7b requirements

Martin Ziegler mz at newyorkcity.de
Wed Jan 26 04:56:12 EST 2005


In the meantime i found a solution on the mailing archive.

Copied lib/imclient.c from the current imap source, defined HAVE_STDARG_H 
and everything works fine.

--On Mittwoch, 26. Januar 2005 09:22 +0100 Martin Ziegler 
<mz at newyorkcity.de> wrote:

> Hi All,
>
> i'm trying to compile imsp 1.7b on a RedHat 9 box. Unfortunately i get a
> lot of error messages. Are there any special requirements for this
> release ? Please find below more details. Any help is highly appreciated.
>
> Thanks, Martin
>
># Cyrus SASL 2.1.20 installed in /sys/lib
>
> --- configure ---
> ./configure \
> --prefix=/sys/cyrus/imsp \
> --exec-prefix=/sys/cyrus/imsp \
> --disable-gssapi \
> --with-sasl=/sys \
> --without-ldap \
> --with-auth=unix \
> --without-krb \                 ### disabling kerberos ###
> --without-krbdes
> --------------------
>
> --- make depend ---
>### Making depend in /sys/src/cyrus-imspd-v1.7b/imsp
> make[1]: Entering directory `/sys/src/cyrus-imspd-v1.7b/imsp'
> makedepend -I.. -I. -I. -I./../lib -I/usr/local/include   -DHAVE_CONFIG_H
> -DSETPROCTITLE  -g -O2 *.c ./*.c
> makedepend: warning:  /usr/include/gnu/stubs.h:  non-portable whitespace
> encountered at line 7
> makedepend: warning:  /usr/include/krb.h:  non-portable whitespace
> encountered at line 72
> makedepend: warning:  /usr/include/krb.h:  non-portable whitespace
> encountered at line 73
> makedepend: warning:  /usr/include/krb.h:  non-portable whitespace
> encountered at line 74
> makedepend: warning:  /usr/include/krb.h:  non-portable whitespace
> encountered at line 75
> makedepend: warning:  /usr/include/krb.h:  non-portable whitespace
> encountered at line 79
> makedepend: warning:  /usr/include/krb.h:  non-portable whitespace
> encountered at line 80
> makedepend: warning:  /usr/include/krb.h:  non-portable whitespace
> encountered at line 81
> makedepend: warning:  /usr/include/krb.h:  non-portable whitespace
> encountered at line 82
> makedepend: warning:  /usr/include/krb.h:  non-portable whitespace
> encountered at line 83
> makedepend: warning:  /usr/include/krb.h:  non-portable whitespace
> encountered at line 86
> makedepend: warning:  /usr/include/krb.h:  non-portable whitespace
> encountered at line 87
> makedepend: warning:  /usr/include/krb.h:  non-portable whitespace
> encountered at line 88
> makedepend: warning:  /usr/include/krb.h:  non-portable whitespace
> encountered at line 89
> makedepend: warning:  /usr/include/krb.h:  non-portable whitespace
> encountered at line 90
> makedepend: warning:  /usr/include/krb.h:  non-portable whitespace
> encountered at line 92
> makedepend: warning:  /usr/include/krb.h:  non-portable whitespace
> encountered at line 93
> makedepend: warning:  /usr/include/krb.h:  non-portable whitespace
> encountered at line 94
> makedepend: warning:  /usr/include/krb.h:  non-portable whitespace
> encountered at line 95
> makedepend: warning:  /usr/include/krb.h:  non-portable whitespace
> encountered at line 96
> makedepend: warning:  /usr/include/krb.h:  non-portable whitespace
> encountered at line 136
> makedepend: warning:  /usr/include/krb.h:  non-portable whitespace
> encountered at line 138
> makedepend: warning:  /usr/include/krb.h:  non-portable whitespace
> encountered at line 158
> makedepend: warning:  /usr/include/krb.h:  non-portable whitespace
> encountered at line 159
> makedepend: warning:  /usr/include/krb.h:  non-portable whitespace
> encountered at line 160
> makedepend: warning:  /usr/include/krb.h:  non-portable whitespace
> encountered at line 161
> makedepend: warning:  /usr/include/krb.h:  non-portable whitespace
> encountered at line 162
> makedepend: warning:  /usr/include/krb.h:  non-portable whitespace
> encountered at line 2703
> makedepend: warning:  /usr/include/krb.h:  non-portable whitespace
> encountered at line 2704
> makedepend: warning:  /usr/include/krb.h:  non-portable whitespace
> encountered at line 2705
> makedepend: warning:  /usr/include/krb.h:  non-portable whitespace
> encountered at line 2706
> makedepend: warning:  /usr/include/krb.h:  non-portable whitespace
> encountered at line 2707
> make[1]: Leaving directory `/sys/src/cyrus-imspd-v1.7b/imsp'
>### Done with /sys/src/cyrus-imspd-v1.7b/imsp
> --------------
>
> Why i get the Kerberos warnings allthough i disabled Kerberos support ?
>
> --- make ---
> imclient.c:1077: dereferencing pointer to incomplete type
> imclient.c:1078: dereferencing pointer to incomplete type
> imclient.c: At top level:
> imclient.c:1127: parse error before '*' token
> imclient.c: In function `make_secprops':
> imclient.c:1129: `sasl_security_properties_t' undeclared (first use in
> this function)
> imclient.c:1129: `ret' undeclared (first use in this function)
> imclient.c:1129: parse error before ')' token
> imclient.c: At top level:
> imclient.c:1143: parse error before '*' token
> imclient.c: In function `interaction':
> imclient.c:1147: `t' undeclared (first use in this function)
> imclient.c:1147: `SASL_CB_USER' undeclared (first use in this function)
> imclient.c:1147: `SASL_CB_AUTHNAME' undeclared (first use in this
> function)
> imclient.c:1148: `user' undeclared (first use in this function)
> imclient.c:1153: `SASL_CB_PASS' undeclared (first use in this function)
> imclient.c: At top level:
> imclient.c:1168: parse error before '*' token
> imclient.c: In function `fillin_interactions':
> imclient.c:1170: `tlist' undeclared (first use in this function)
> imclient.c:1170: `SASL_CB_LIST_END' undeclared (first use in this
> function)
> imclient.c:1172: `user' undeclared (first use in this function)
> imclient.c: In function `imclient_authenticate_sub':
> imclient.c:1199: `sasl_security_properties_t' undeclared (first use in
> this function)
> imclient.c:1199: `secprops' undeclared (first use in this function)
> imclient.c:1203: `sasl_interact_t' undeclared (first use in this function)
> imclient.c:1203: `client_interact' undeclared (first use in this function)
> imclient.c:1218: dereferencing pointer to incomplete type
> imclient.c:1218: `SASL_SEC_PROPS' undeclared (first use in this function)
> imclient.c:1291: dereferencing pointer to incomplete type
> imclient.c:1319: dereferencing pointer to incomplete type
> make[1]: *** [imclient.o] Error 1
> make[1]: Leaving directory `/sys/src/cyrus-imspd-v1.7b/lib'
>### Done with /sys/src/cyrus-imspd-v1.7b/lib
>### Making all in /sys/src/cyrus-imspd-v1.7b/imsp
> make[1]: Entering directory `/sys/src/cyrus-imspd-v1.7b/imsp'
> gcc -c -I.. -I. -I. -I./../lib -I/usr/local/include   -DHAVE_CONFIG_H
> -DSETPROCTITLE  -g -O2 \
> main.c
> gcc -c -I.. -I. -I. -I./../lib -I/usr/local/include   -DHAVE_CONFIG_H
> -DSETPROCTITLE  -g -O2 \
> dispatch.c
> gcc -c -I.. -I. -I. -I./../lib -I/usr/local/include   -DHAVE_CONFIG_H
> -DSETPROCTITLE  -g -O2 \
> imsp_server.c
> gcc -c -I.. -I. -I. -I./../lib -I/usr/local/include   -DHAVE_CONFIG_H
> -DSETPROCTITLE  -g -O2 \
> option.c
> option.c: In function `option_test':
> option.c:326: warning: return makes integer from pointer without a cast
> option.c:330: warning: return makes integer from pointer without a cast
> gcc -c -I.. -I. -I. -I./../lib -I/usr/local/include   -DHAVE_CONFIG_H
> -DSETPROCTITLE  -g -O2 \
> syncdb.c
> gcc -c -I.. -I. -I. -I./../lib -I/usr/local/include   -DHAVE_CONFIG_H
> -DSETPROCTITLE  -g -O2 \
> adate.c
> gcc -c -I.. -I. -I. -I./../lib -I/usr/local/include   -DHAVE_CONFIG_H
> -DSETPROCTITLE  -g -O2 \
> im_util.c
> gcc -c -I.. -I. -I. -I./../lib -I/usr/local/include   -DHAVE_CONFIG_H
> -DSETPROCTITLE  -g -O2 \
> abook.c
> gcc -c -I.. -I. -I. -I./../lib -I/usr/local/include   -DHAVE_CONFIG_H
> -DSETPROCTITLE  -g -O2 \
> authize.c
> gcc -c -I.. -I. -I. -I./../lib -I/usr/local/include   -DHAVE_CONFIG_H
> -DSETPROCTITLE  -g -O2 \
> alock.c
> gcc -c -I.. -I. -I. -I./../lib -I/usr/local/include   -DHAVE_CONFIG_H
> -DSETPROCTITLE  -g -O2 \
> sasl_support.c
> make[1]: *** No rule to make target `../lib/libcyrus.a', needed by
> `cyrus-imspd'.  Stop.
> make[1]: Leaving directory `/sys/src/cyrus-imspd-v1.7b/imsp'
>### Done with /sys/src/cyrus-imspd-v1.7b/imsp
> ---------------
>
> Also tried when copying the cyrus LIBs from the latest cyrus-imap release
> to the /lib directory.
>
> ---
> 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
>


---
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