Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 May 2005 15:02:18 -0400
From:      Richard Mcintyre <rem@thecompanyonline.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Sendmail with sasl2 build fails. *FIX*
Message-ID:  <42791C3A.6060909@thecompanyonline.com>
In-Reply-To: <427804CE.2000107@thecompanyonline.com>
References:  <427804CE.2000107@thecompanyonline.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@tco1.iaminsane.net:/usr/src/sys/i386/compile/TCO1.2005.05.02.001  
> i386
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"


I followed some advice I found on the questions@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42791C3A.6060909>