Hi, everyone,
Trying to get SMTP Authentication working. Following the steps in the Handbook. Got to #5 and ran into:
Was directed to How do you install the FreeBSD10 kernel sources? Ugh, but installed devel/subversion and then:
Seemed to me to go OK. Tried step #5 again:
In fact there is no /usr/src/contrib/sendmail/src/sasl/sasl.h. But there is a
/usr/local/include/sasl/sasl.h.
I'm a newbie and in over my head. I guess my questions are:
1. Would it work just to copy /usr/local/include/sasl/ to /usr/src/contrib/sendmail/src/sasl/?
2. Or should I try the alternative instructions at FreeBSD - How to setup Mail Server:
Thanks for any help you can provide!
Bob
Trying to get SMTP Authentication working. Following the steps in the Handbook. Got to #5 and ran into:
Code:
# ls -l /usr/src
total 0
Was directed to How do you install the FreeBSD10 kernel sources? Ugh, but installed devel/subversion and then:
Code:
# svn checkout https://svn.FreeBSD.org/base/head /usr/src
[...]
Checked out revision 313568.
# svn up /usr/src
Updating '/usr/src':
At revision 313569.
# cd /usr/src; make clean
Seemed to me to go OK. Tried step #5 again:
Code:
# cd /usr/src/lib/libsmutil
# make cleandir && make obj && make
rm -f sm_os.h debug.o err.o lockfile.o safefile.o snprintf.o cf.o libsmutil.a
rm -f .depend .depend.* GPATH GRTAGS GSYMS GTAGS
/usr/obj/usr/src/lib/libsmutil created for /usr/src/lib/libsmutil
ln -sf /usr/src/contrib/sendmail/include/sm/os/sm_os_freebsd.h sm_os.h
cc -O2 -pipe -I/usr/src/contrib/sendmail/src -I/usr/src/contrib/sendmail/include -I. -DNEWDB -DNIS -DMAP_REGEX -DNOT_SENDMAIL -I/usr/local/include/sasl -DSASL=2 -MD -MP -MF.depend.debug.o -MTdebug.o -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -c /usr/src/contrib/sendmail/libsmutil/debug.c -o debug.o
In file included from /usr/src/contrib/sendmail/libsmutil/debug.c:11:
/usr/src/contrib/sendmail/src/sendmail.h:139:12: fatal error: 'sasl/sasl.h' file
not found
# include <sasl/sasl.h>
^
1 error generated.
*** Error code 1
Stop.
make: stopped in /usr/src/lib/libsmutil
In fact there is no /usr/src/contrib/sendmail/src/sasl/sasl.h. But there is a
/usr/local/include/sasl/sasl.h.
I'm a newbie and in over my head. I guess my questions are:
1. Would it work just to copy /usr/local/include/sasl/ to /usr/src/contrib/sendmail/src/sasl/?
2. Or should I try the alternative instructions at FreeBSD - How to setup Mail Server:
Code:
# cd /usr/src/
# make buildworld # this may take about an hour to compile
# cd /usr/src/usr.sbin/sendmail/
# make clean
# make depend
# make
# make install
Thanks for any help you can provide!
Bob