From owner-freebsd-ports Thu Sep 14 9: 7:32 2000 Delivered-To: freebsd-ports@freebsd.org Received: from leviathan.inethouston.com (216-118-21-146.pdq.net [216.118.21.146]) by hub.freebsd.org (Postfix) with ESMTP id 1BCDB37B424 for ; Thu, 14 Sep 2000 09:07:29 -0700 (PDT) Received: from dwcjr (dwcjr.inethouston.com [216.118.21.147]) by leviathan.inethouston.com (Postfix) with SMTP id F3CFE177EB3; Thu, 14 Sep 2000 11:09:11 -0500 (CDT) Message-ID: <093b01c01e66$1692f0c0$931576d8@inethouston.net> From: "David W. Chapman Jr." To: "Naoki IDO" Cc: References: <200009141603.BAA07244@base.hitachi-ms.co.jp> Subject: Re: ports/21262: Fix port: mail/postfix-current Date: Thu, 14 Sep 2000 11:08:57 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org That patch did not fix my problem. The header problem I was referring to I did not paste, but here it is, I have all the latest patches... cp cleanup ../libexec [smtpd] cc -DUSE_SASL_AUTH -I/usr/local/include -O -I. -I../include -DFREEBSD4 -c smtpd .c In file included from smtpd.c:286: smtpd.h:15: sasl.h: No such file or directory smtpd.h:16: saslutil.h: No such file or directory *** Error code 1 Stop in /usr/ports/mail/postfix-current/work/snapshot-20000531/smtpd. I was able to fix this by editing the smtpd.h and tell it the path of sasl.h, which is not in /usr/local/include but /usr/local/include/sasl/sasl.h ----- Original Message ----- From: "Naoki IDO" To: "David W. Chapman Jr." Cc: Sent: Thursday, September 14, 2000 11:03 AM Subject: Re: ports/21262: Fix port: mail/postfix-current > Hello. > > > Date: Thu, 14 Sep 2000 09:11:43 JST > > Subject: Re: ports/21262: Fix port: mail/postfix-current > > From: "David W. Chapman Jr." > > > I don't know if you're the right person to email to, but I still cannot > > compile with sasl. it cannot find sasl.h, and once I tell it where that > > header file is in smtpd.h I get down to this error > > These error messages mean 'linking problem', not 'header location'. > > > libdns.a ../lib/libutil.a /usr/local/lib/libsasl.a > > /usr/local/lib/libsasl.a(checkpw.o): In function `passwd_verify_password': > > checkpw.o(.text+0x4c): undefined reference to `crypt' > > /usr/local/lib/libsasl.a(checkpw.o): In function `pam_verify_password': > > checkpw.o(.text+0x1be): undefined reference to `pam_start' > > checkpw.o(.text+0x1d5): undefined reference to `pam_authenticate' > > checkpw.o(.text+0x1e9): undefined reference to `pam_end' > > I believe to solve this problem by missnglnk's patch ... > # same patch as my send-pr's one. > > --- postfix-current/Makefile.orig Thu Sep 14 10:24:57 2000 > +++ postfix-current/Makefile Thu Sep 14 10:25:16 2000 > @@ -55,3 +55,3 @@ > POSTFIX_CCARGS+= -DUSE_SASL_AUTH -I${LOCALBASE}/include > -POSTFIX_AUXLIBS+= ${LOCALBASE}/lib/libsasl.a > +POSTFIX_AUXLIBS+= ${LOCALBASE}/lib/libsasl.a -lpam -lcrypt > .endif > > ---- > Naoki IDO > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message