Sendmail with sasl2 build fails. *FIX*

Richard Mcintyre rem at thecompanyonline.com
Wed May 4 12:03:08 PDT 2005


Richard Mcintyre wrote:

> 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 at tco1.iaminsane.net:/usr/src/sys/i386/compile/TCO1.2005.05.02.001  
> i386
>
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"


I followed some advice I found on the questions at freebsd.cz  email list 
and after cvsup'ing my src I ran a 'make buildworld' in /usr/src.
After the make buildworld finished I cd'd to /usr/src/usr.sbin/sendmail/ 
and did a make install and it installed just fine.

~REM


More information about the freebsd-questions mailing list