Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Oct 2006 18:37:57 -0500
From:      Jonathan Horne <freebsd@dfwlp.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: cyrus-sasl & sendmail compile error
Message-ID:  <200610191837.57826.freebsd@dfwlp.com>
In-Reply-To: <45392E74.9000003@signull.com>
References:  <45392E74.9000003@signull.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 20 October 2006 15:15, Mike Spenard wrote:
> Following this doc on sendmail-auth...
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html
>
> I go to recompile sendmail after
>
> # cd /usr/src/usr.sbin/sendmail
> # make cleandir
> # make obj
> # make
> # make install
>
> and I get...
> cc: /usr/obj/usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a:
> No such file or directory
> cc: /usr/obj/usr/src/usr.sbin/sendmail/../../lib/libsm/libsm.a: No such
> file or directory
> *** Error code 1
>
> Stop in /usr/src/usr.sbin/sendmail.
> /etc/make.conf is as the document specifies..
> SENDMAIL_CFLAGS=-I/usr/local/include/sasl1 -DSASL
> SENDMAIL_LDFLAGS=-L/usr/local/lib
> SENDMAIL_LDADD=-lsasl
> --
>
> Mike Spenard
> _______________________________________________
> 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"

if thats all you did, then you left out 2 important steps.  here is the way i 
do it:

# cd /usr/src/lib/libsm; make clean; make obj; make depend; make
# cd /usr/src/lib/libsmutil; make clean; make obj; make depend; make
# cd /usr/src/usr.sbin/sendmail; make clean; make obj; make depend; make; make 
install

those first 2 lines should take care of the errors youre seeing.

hth,
jonathan



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