Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Sep 2000 11:08:57 -0500
From:      "David W. Chapman Jr." <dwcjr@inethouston.net>
To:        "Naoki IDO" <ido@hitachi-ms.co.jp>
Cc:        <ports@FreeBSD.org>
Subject:   Re: ports/21262: Fix port: mail/postfix-current
Message-ID:  <093b01c01e66$1692f0c0$931576d8@inethouston.net>
References:  <200009141603.BAA07244@base.hitachi-ms.co.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <ido@hitachi-ms.co.jp>
To: "David W. Chapman Jr." <dwcjr@inethouston.net>
Cc: <ido@hitachi-ms.co.jp>
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." <dwcjr@inethouston.net>
>
> > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?093b01c01e66$1692f0c0$931576d8>