<<< Date Index >>>     <<< Thread Index >>>

trouble building with sasl



All,

I've been trying to build in sasl so that I can fully use the new built-in smtp 
action in 1.5.16.  Trouble is, I have sasl on my machine, but when I invoke 
'make', I get a bunch of errors, telling me that some file named sasl.h does 
not exist.  Well, that's true, there is no file on my machine called sasl.h.  
Nevertheless, I installed cyrus-sasl2 via fink, and I also have in /usr/lib 
some stuff that sure looks like sasl2 (this came with MacOSX10.4).  What's 
going on here?

Here is my configure line: sudo ./configure --enable-imap --enable-smtp 
--enable-hcache --with-ssl --with-sasl=/sw/lib/sasl2 
--with-bdb=/usr/local/berkeleydb.4.5

I tried flipping around the location of "--with-sasl", but it never works.

Here is what comes on my screen:

In file included from auth_sasl.c:26:
../mutt_sasl.h:24:23: error: sasl/sasl.h: No such file or directory
In file included from auth_sasl.c:26:
../mutt_sasl.h:28: error: parse error before �sasl_conn_t�
../mutt_sasl.h:29: error: parse error before �*� token
../mutt_sasl.h:29: warning: type defaults to �int� in declaration of 
�mutt_sasl_get_callbacks�
../mutt_sasl.h:29: warning: data definition has no type or storage class
../mutt_sasl.h:30: error: parse error before �*� token
../mutt_sasl.h:31: error: parse error before �sasl_conn_t�
../mutt_sasl.h:36: error: parse error before �sasl_conn_t�
../mutt_sasl.h:36: warning: no semicolon at end of struct or union
../mutt_sasl.h:37: error: parse error before �*� token
../mutt_sasl.h:37: warning: type defaults to �int� in declaration of �ssf�
../mutt_sasl.h:37: warning: data definition has no type or storage class
../mutt_sasl.h:51: error: parse error before �}� token
../mutt_sasl.h:52: warning: type defaults to �int� in declaration of �SASL_DATA�
../mutt_sasl.h:52: warning: data definition has no type or storage class
auth_sasl.c:31:27: error: sasl/saslutil.h: No such file or directory
auth_sasl.c: In function �imap_auth_sasl�:
auth_sasl.c:36: error: �sasl_conn_t� undeclared (first use in this function)
auth_sasl.c:36: error: (Each undeclared identifier is reported only once
auth_sasl.c:36: error: for each function it appears in.)
auth_sasl.c:36: error: �saslconn� undeclared (first use in this function)
auth_sasl.c:37: error: �sasl_interact_t� undeclared (first use in this function)
auth_sasl.c:37: error: �interaction� undeclared (first use in this function)
auth_sasl.c:38: warning: ISO C90 forbids mixed declarations and code
auth_sasl.c:52: error: �SASL_FAIL� undeclared (first use in this function)
auth_sasl.c:70: warning: implicit declaration of function �sasl_client_start�
auth_sasl.c:74: error: �SASL_OK� undeclared (first use in this function)
auth_sasl.c:74: error: �SASL_CONTINUE� undeclared (first use in this function)
auth_sasl.c:79: error: �SASL_INTERACT� undeclared (first use in this function)
auth_sasl.c:104: warning: implicit declaration of function �sasl_encode64�
auth_sasl.c:132: warning: implicit declaration of function �sasl_decode64�
auth_sasl.c:147: warning: implicit declaration of function �sasl_client_step�
auth_sasl.c:196: warning: implicit declaration of function �sasl_dispose�
make[2]: *** [auth_sasl.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2