From owner-freebsd-ports@FreeBSD.ORG Tue May 25 07:25:27 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2647516A4E5 for ; Tue, 25 May 2004 07:25:27 -0700 (PDT) Received: from hermes.webtent.net (hermes.webtent.net [192.216.106.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91FB743D3F for ; Tue, 25 May 2004 07:25:24 -0700 (PDT) (envelope-from robert@webtent.com) Received: from columbus.webtent.org (webtent.org [198.79.127.235]) by hermes.webtent.net (8.10.2/8.10.2) with ESMTP id i4PEOUG25985; Tue, 25 May 2004 10:24:30 -0400 From: Robert Fitzpatrick To: FreeBSD Ports Content-Type: text/plain Organization: WebTent Networking, Inc. Message-Id: <1085495071.27360.31.camel@columbus> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Tue, 25 May 2004 10:24:31 -0400 Content-Transfer-Encoding: 7bit cc: girgen@pingpong.net Subject: Installing PostgreSQL with Heimdal Kerberos support X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 May 2004 14:25:27 -0000 I recently portupgraded PostgreSQL 7.3.4 on my FreeBSD 5.2.1 server to PG 7.4.2 with Kerberos support. Everything installed fine and the database running fine. When I went to upgrade PHP over the weekend, I found 'Undefined dependencies' with krb5 for the pgsql support in PHP. After posting that information to the PostgreSQL list and getting some help on the FreeBSD Questions, I found that the linker did not get set correctly, now looking for what I did wrong. I assume since the PostgreSQL port asks whether you want Kerberos support, it should handle this if I have things setup right? I have Heimdal 0.6 and this in my /etc/make.conf relating to Kerberos file when installing PGSQL: KRB5_HOME=/usr/local HEIMDAL_HOME=/usr/local MAKE_KERBEROS5=yes WITH_HEIMDAL_KRB5=yes >From the looks of the Makefile for PGSQL, that should get it done, do you know what I might be doing wrong? My Heimdal is under /usr/local, but I have a symbolic link from /usr/bin/krb5-config to /usr/local/bin/krb5-config. Or, where should I place the linker (-lkrb5 perhaps as suggested by someone on the Questions list)? Also, how can I tell that all was installed correctly? -- Robert