cyrus-sasl & sendmail compile error
Jonathan Horne
freebsd at dfwlp.com
Thu Oct 19 23:38:02 UTC 2006
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 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"
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
More information about the freebsd-questions
mailing list