This is part of a larger discussion.  The /usr/ucb/cc is proprietary to SUN.
I use gcc-2.95.2.  Secondly I do NOT want to disable gssapi, krb as U have
in your sasl configure.  This is the whole problem of what I was saying.  I
enable them and specifically point configure where to find the libs and
after the compile succeeds, the authentication mechanisms were not enabled
as per my test.

The des library has to be rewritten because -ldes is specific to SUN.  the
ecb_encrypt() routine is not enabled on SUN 5.8.  You point configure
to -ldes425 and it compiles in fine.  problems afterwards, but it compiles
in fine.

Rc4 was another problem, but after my rewrite of configure, it did find that
also as part of openssl.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 14, 2001 2:23 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: RE: Ahhh!! Pulling my hair out over imapd/sasl configure!


Tony Johnson writes:
>
>Just out of curiosity, what OS are U using.  I bet that this would work
>directly out of the box from FreeBSD ports (Those guys/gals are good!) But
>trying to do this on Solaris 8 x86 which is highly proprietary and u have
to
>basically reconfigure and unproprietarize (I guess this on on of those
Jesse
>Jackson made up words) the box.
>
>The berkeley libs are not found here either but I assume that this is not a
>problem because U can use gdbm or ndbm.  But its strange that in my
>LD_LIBRARY_PATH includes /usr/local/Berkeley3.1...

You shouldn't have to use LD_LIBRARY_PATH in Solaris.  Please check
the Solaris-2 FAQ for a discussion of this issue.  You do have to
tell the configure scripts where to find libraries and include files.

As and example, here's what I use for SASL:

env CPPFLAGS="-I/usr/local/src/db/db-3.1.17/build_unix" \
        LDFLAGS="-L/usr/local/src/db/db-3.1.17/build_unix -R/usr/local/lib"
\
        CC=cc \
        ./configure --localstatedir=/var/run --with-dblib=berkeley \
        --with-pwcheck=/var/run/pwcheck --enable-login --disable-krb4 \
        --disable-gssapi --with-des=yes \
        --with-rc4=/usr/local/src/OpenSSL/openssl-0.9.5a

#!/end

And for Cyrus:

#!/bin/sh

env CC=cc CPPFLAGS="-I/usr/local/src/db/db-3.1.17/build_unix" \








LDFLAGS="-L/usr/local/src/db/db-3.1.17/build_unix -L/usr/local/src/zephyr/ze
phyr-2.0.4/lib/zephyr" \
        LIBS="-lsocket -lnsl" \
        ./configure --with-cyrus-prefix=/usr/local/cyrus \
        --with-idle=idled \
        --with-auth=unix --with-notify=zephyr \
        --with-zephyr=/usr/local/src/zephyr/zephyr-2.0.4/h/zephyr \
        --with-sasl=/usr/local/src/cyrus/libsasl-1.5.24 \
        --with-statedir=/var/run \
        --with-openssl=/usr/local/src/OpenSSL/openssl-0.9.5a


#!/end


--
-Gary Mills-    -Unix Support-    -U of M Academic Computing and Networking-

Reply via email to