Date: Mon, 12 Mar 2012 13:57:34 +0000 From: Matthew Seaman <matthew@FreeBSD.org> To: kamolpat <kamolpat@dmaccess.net> Cc: freebsd-questions@FreeBSD.org Subject: Re: question about SMTP-authentication (2nd ) Message-ID: <4F5E00CE.6000600@FreeBSD.org> In-Reply-To: <4F5DF97B.7070306@dmaccess.net> References: <4F58D68D.2060700@dmaccess.net> <4F58ED8A.7050602@FreeBSD.org> <4F5DF97B.7070306@dmaccess.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig13AF0685895AB018AE7F6881 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 12/03/2012 13:26, kamolpat wrote: > According to your recommendation .... (as following). When I do make a= t > /usr/src/sur.sbin/sendmail it show as following. > ns1:kamolpat:/usr/src/usr.sbin/sendmail>make clean > rm -f sm_os.h sendmail alias.o arpadate.o bf.o collect.o conf.o > control.o convtime.o daemon.o deliver.o domain.o envelope.o err.o > headers.o macro.o main.o map.o mci.o milter.o mime.o parseaddr.o queue.= o > ratectrl.o readcf.o recipient.o savemail.o sasl.o sfsasl.o shmticklib.o= > sm_resolve.o srvrsmtp.o stab.o stats.o sysexits.o timers.o tls.o trace.= o > udb.o usersmtp.o util.o version.o mailq.1.gz newaliases.1.gz > aliases.5.gz sendmail.8.gz mailq.1.cat.gz newaliases.1.cat.gz > aliases.5.cat.gz sendmail.8.cat.gz > ns1:kamolpat:/usr/src/usr.sbin/sendmail>make > ln -sf > /usr/src/usr.sbin/sendmail/../../contrib/sendmail/include/sm/os/sm_os_f= reebsd.h > sm_os.h > cc -O2 -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/sasl -DSASL=3D2 -std=3Dgnu99 > -fstack-protector -c > /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/alias.c > In file included from > /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/alias.c:14: > /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sendmail.h:135:25= : > error: sasl/sasl.h: No such file or directory > /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sendmail.h:136:29= : > error: sasl/saslutil.h: No such file or directory > In file included from > /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/alias.c:14: > /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sendmail.h:607: > error: expected '=3D', ',', ';', 'asm' or '__attribute__' before ':' to= ken > /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sendmail.h:691: > error: expected specifier-qualifier-list before 'sasl_conn_t' > *** Error code 1 >=20 > Stop in /usr/src/usr.sbin/sendmail. >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > then I try to find where is sasl.h >=20 > ns1:kamolpat:/usr>find . -name "sasl.h" > ./local/include/sasl/sasl.h > ./ports/security/cyrus-sasl2/work/cyrus-sasl-2.1.25/include/sasl.h > ./ports/security/cyrus-sasl2-saslauthd/work/cyrus-sasl-2.1.25/include/s= asl.h >=20 >=20 > What should I do next? Shold I just copy the sasl.h to > /usr/src/contrib/sendmail/src/sendmail ? No. Don't do that. It won't help anything. You need to follow my instructions correctly. Specifically this line needs to be in /etc/make.conf in order to pick up the SASL header files: SENDMAIL_CFLAGS=3D-I/usr/local/include -DSASL=3D2 Where, you will note, this does *not* say /usr/local/include/sasl, which is what appears in your compiler output. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enig13AF0685895AB018AE7F6881 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9eANUACgkQ8Mjk52CukIx3BwCcChAhNuK4T4LyTcgnWnjx0FVB 9ccAn1IJbQWieQWq6MqTqZo/GWlejvHQ =cFV8 -----END PGP SIGNATURE----- --------------enig13AF0685895AB018AE7F6881--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F5E00CE.6000600>