acap compile error

Christian Schulte cs at schulte.it
Sat May 10 19:27:26 EDT 2003


Dennis Saenger wrote:

> hi!
>
> The sasl.h ist located in /opt/sasl/current/include/sasl on my System 
> ... so I think it is in my includes, or not?!

Is the sasl.h located in /opt/sasl/current/include/sasl the only 
existent on your system ? A guess: try 
CFLAGS="-I/opt/sasl/current/include/sasl" or 
CFLAGS="-I/opt/sasl/current/include"

--Christian

>
>>> CPPFLAGS="-I/opt/sasl/current/include/sasl -I/opt/sasl/current/lib" 
>>> ./configure --with-auth=unix --prefix=/opt/cyrus/2.0.17 --with- 
>>> openssl=/opt/openssl/current --with-sasl=/usr/lib/sasl && make depend
>>
>
>
>
> On Sat, 10 May 2003 15:29:25 -0700 (PDT), grenoml <grenoml at yahoo.com> 
> wrote:
>
>> I have never built acap but SASL_SECURITY_LAYER is defined in
>> /usr/include/sasl.h.  Is /usr/include in the includes?
>>
>> rgds,
>> Gerry Reno
>>
>> --- Dennis Saenger <test at kips-world.de> wrote:
>>
>>> Hi!
>>>
>>> I try to build cyrus-imapd on linux 2.4.20 with SASL and SSL-Support.
>>> The configure script and "make depend" run without any problems:
>>>
>>> CPPFLAGS="-I/opt/sasl/current/include/sasl -I/opt/sasl/current/lib" 
>>> ./configure --with-auth=unix --prefix=/opt/cyrus/2.0.17 --with- 
>>> openssl=/opt/openssl/current --with-sasl=/usr/lib/sasl && make depend
>>>
>>> But "make" ends up with a error message:
>>>
>>> ### Making all in /usr/src/cyrus-imapd-2.0.17/acap
>>> make[1]: Entering directory `/usr/src/cyrus-imapd-2.0.17/acap'
>>> /usr/bin/compile_et ./acap_err.et
>>> gcc -c -I/usr/include/db3 -I/usr/local/include - 
>>> I/opt/sasl/current/include/sasl -I/opt/sasl/current/lib - 
>>> I/opt/openssl/current/include -I/usr/lib/sasl/include -I. -I.. - 
>>> DHAVE_CONFIG_H -g -O2 \
>>> acap.c
>>> acap.c: In function `acap_auth_step':
>>> acap.c:338: warning: passing arg 5 of `sasl_client_step' from
>>> incompatible pointer type
>>> acap.c: In function `acap_conn_do_auth':
>>> acap.c:465: `SASL_SECURITY_LAYER' undeclared (first use in this
>>> function)
>>> acap.c:465: (Each undeclared identifier is reported only once
>>> acap.c:465: for each function it appears in.)
>>> acap.c:465: warning: passing arg 3 of `sasl_client_new' from
>>> incompatible pointer type
>>> acap.c:465: warning: passing arg 5 of `sasl_client_new' from
>>> incompatible pointer type
>>> acap.c:465: too few arguments to function `sasl_client_new'
>>> acap.c:477: `SASL_IP_REMOTE' undeclared (first use in this function)
>>> acap.c:489: `SASL_IP_LOCAL' undeclared (first use in this function)
>>> acap.c:504: warning: passing arg 5 of `sasl_client_start' from
>>> incompatible pointer type
>>> acap.c:504: warning: passing arg 6 of `sasl_client_start' from
>>> incompatible pointer type
>>> acap.c:504: too many arguments to function `sasl_client_start'
>>> make[1]: *** [acap.o] Error 1
>>> make[1]: Leaving directory `/usr/src/cyrus-imapd-2.0.17/acap'
>>> make: *** [all] Error 1
>>>
>>>
>>>
>>> I have absolutely no idea whats wrong ... ?! :(
>>> Can anybody help me?
>>>
>>>
>>> best regards,
>>> Dennis Saenger
>>>
>>>
>>
>>
>> __________________________________
>> Do you Yahoo!?
>> The New Yahoo! Search - Faster. Easier. Bingo.
>> http://search.yahoo.com
>>
>>
>
>
>






More information about the Info-cyrus mailing list