Build failing on Solaris 9

From: (no name) (no email)
Date: Wed Jun 08 2005 - 14:56:35 EDT

  • Next message: (no name): "Re: Build failing on Solaris 9"

    This is my first attempt to build Cyrus SASL on Solaris. Here's an
    excerpt from "make":

    [...]
    gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/opt/pkgs/openldap/include -Wall -W -g -O2 -MT digestmd5.lo -MD -MP -MF .deps/digestmd5.Tpo -c digestmd5.c -fPIC -DPIC -o digestmd5.lo
    digestmd5.c:812: parse error before "des_key_schedule"
    digestmd5.c:812: warning: no semicolon at end of struct or union
    digestmd5.c:813: warning: type defaults to `int' in declaration of `ivec'
    [...]

    Lots of related warnings and parse errors follow, and the compile dies.

    Googling around for various combinations of "sasl", "solaris", and
    "des_key_schedule" didn't turn up much, but I did find a case of someone
    who couldn't build OpenLDAP on Solaris because of namespace collisions
    between OpenSSL and the Solaris crypt library. Reference:

    http://www.openldap.org/lists/openldap-software/200310/msg00478.html

    Obviously I can't apply his solution directly, but I suspect that there
    may be a similar or related issue biting me. I was able to build the
    full dependency chain up to Cyrus-SASL, including OpenLDAP; relevant
    packages and versions are:

    Berkeley DB 4.2.52 (for OpenLDAP)
    OpenSSL 0.9.7c
    OpenLDAP 2.1.30

    ...all on a Solaris 9/SPARC machine.

    My ./configure line, in case it helps (for all I know this is way wrong):

    ./configure --prefix=/opt/pkgs/cyrus-sasl-2.1.21 \
            --with-ipctype=doors --enable-login --enable-ldapdb \
            --with-ldap=/opt/pkgs/openldap

    My ultimate goal is to end up with a Sendmail build which supports
    authenticated SMTP, via Cyrus-SASL, against our OpenLDAP servers.
    Unless they change the spec on me in which case I'll be starting over
    with the goal of authenticating against Kerberos, but that's a rant
    for another day.

    Thanks for any pointers, including a good place to RTFM about Cyrus-SASL
    issues specific to Solaris, if there is such a doc.

    Cheers,
    -michael

    -- 
    Michael Jinks, ENSA, ENSS, VDN, NSIT, The University of Chicago, world
    "If the future's not bright, it's colorful." -- Einsturzende Neubauten
    

  • Next message: (no name): "Re: Build failing on Solaris 9"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD