Solaris compile problems

Paul Boven p.boven at chello.nl
Wed Aug 9 05:29:59 EDT 2006


Hi Everyone,

Vincent Fox wrote:
> So I cannot get cyrus-sasl to compile on Solaris. Any tips?
> 
> I have attempted to look at the cyrus-sasl mailing list archives but it 
> won't let me in. Perhaps only CMU people can look at them?
> 
> My environment:
> Cyrus-sasl-2.1.22 on Solaris 9 + Sun Studio 11
> 
> ./configure --with-openssl=/usr/local/ssl --enable-gssapi 
> --enable-keep-db-open --with-dblib=berkeley 
> --with-bdb-libdir=/usr/local/BerkeleyDB.4.4/lib 
> --with-bdb-incdir=/usr/local/BerkeleyDB.4.4/include
> 
> make errors out here:
> 
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib -I../sasldb 
> -I../include -I /usr/local/ssl/include -I/usr/local/Berkele
> yDB.4.4/include -I /usr/local/ssl/include -c digestmd5.c  -KPIC -DPIC -o 
> digestmd5.lo
> "digestmd5.c", line 279: warning: initialization type mismatch
> "digestmd5.c", line 366: warning: argument #2 is incompatible with 
> prototype:
>        prototype: pointer to const unsigned char : "unknown", line 0
>        argument : pointer to char
> "digestmd5.c", line 812: syntax error before or at: des_key_schedule
> "digestmd5.c", line 817: incomplete struct/union/enum des_context_s: 
> des_context_t

I get the exact same error message in plugins/digestmd5.c

Solaris 10 (amd64), Studio 11, both in Sasl-2.1.21 and Sasl-2.1.22. 
Sasl-2.1.20 though also fails in digestmd5.c, with "cannot find include 
file: <des.h>"

On another box, a Solaris 9 (sparc), Studio 10 build, I can build 
OpenSSL-2.1.22 when using -DOPENSSL_DISABLE_OLD_DES_SUPPORT.

This seems to depend either on the Studio version, or on the cpu-type.

I'll investigate some more.

Regards, Paul Boven.




More information about the Cyrus-sasl mailing list