Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 May 2005 19:10:06 -0400
From:      Richard Mcintyre <rem@thecompanyonline.com>
To:        freebsd-questions@freebsd.org
Subject:   Sendmail with sasl2 build fails.
Message-ID:  <427804CE.2000107@thecompanyonline.com>

next in thread | raw e-mail | index | archive | help
All,

I've checked the mailing lists and it appears that this has been a 
problem for other people in the past, but I can't seem to fix the issue 
I'm having.

I have installed cyrus-sasl2-saslauthd from ports.

I then added the following to /etc/make.conf:
# SASL (cyrus-sasl v2) sendmail build flags...
SENDMAIL_CFLAGS+= -I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS+= -L/usr/local/lib
SENDMAIL_LDADD+= -lsasl2
# Adding to enable alternate port (smtps) for sendmail...
SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL

Then, I attempted to rebuild sendmail, I have tried both of the 
following steps...
First I tried:
    # cd /usr/src/usr.sbin/sendmail
    # make clean
    # make depend
    # make
    # make install

When that failed I tried:
    # cd /usr/src/lib/libsm
    # make obj
    # make depend
    # make
    # cd /usr/src/lib/libsmutil
    # make obj
    # make depend
    # make
    # cd /usr/src/usr.sbin/sendmail
    # make obj
    # make depend
    # make
    # make install

Finally when that failed I tried:
    # cd /usr/src/lib/libsm
    # make clean
    # cd /usr/src/lib/libsmutil
    # make clean
    # cd /usr/src/usr.sbin/sendmail
    # make clean
    # cd /usr/src/lib/libsm
    # make obj
    # make depend
    # make
    # cd /usr/src/lib/libsmutil
    # make obj
    # make depend
    # make
    # cd /usr/src/usr.sbin/sendmail
    # make obj
    # make depend
    # make
    # make install

All return the same problem at the make on /usr/src/usr.sbin/sendmail...
<SNIP>
cc -O -pipe  -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src 
-I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB 
-DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS 
-D_FFR_TLS_1 -I/usr/local/include -DSASL=2 -D_FFR_SMTP_SSL  -c 
/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/version.c
make: don't know how to make 
/usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a. Stop
</SNIP>

Can anyone help out? Thanks in advance...
~REM



tco1# uname -a
FreeBSD tco1.iaminsane.net 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Mon May  
2 22:32:50 EDT 2005     
rem@tco1.iaminsane.net:/usr/src/sys/i386/compile/TCO1.2005.05.02.001  i386




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?427804CE.2000107>