Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jun 2001 15:05:34 -0400
From:      Shawn Halpenny <malachai@iname.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/27941: [PATCH] configure fails for fetchmail-5.8.5 with kerberos
Message-ID:  <GEKQDA00.BH4@zeus.lpa.com>

next in thread | raw e-mail | index | archive | help

>Number:         27941
>Category:       ports
>Synopsis:       [PATCH] configure fails for fetchmail-5.8.5 with kerberos
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 07 12:10:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Shawn Halpenny
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD nightrain.xelus.com 4.3-STABLE FreeBSD 4.3-STABLE #0: Thu Jun 7 10:00:44 EDT 2001 toor@nightrain.xelus.com:/usr/obj/usr/src/sys/NIGHTRAIN i386


	
>Description:

When configuring fetchmail-5.8.5, if you have kerberos installed on your
system the configure script fails to find it.

From the output of:  cd /usr/ports/mail/fetchmail && make

checking for getaddrinfo... yes
checking for inner_connect... no
checking for Kerberos IV in /usr/include... not found
configure: error: Kerberos 4 libraries not found
===>  Script "configure" failed: here are the contents of "config.log"
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

The problem is that the path to the kerberos files is incorrectly specified
in the arguments to configure (or that the configure script incorrectly
processes the path given for kerberos).

Patch included to fix it by changing the port's Makefile to point to the
correct directory (assuming the default kerberos installation location of
/usr).


>How-To-Repeat:
        cd /usr/ports/mail/fetchmail && make
>Fix:

--- Makefile~	Fri Jun  1 19:49:35 2001
+++ Makefile	Thu Jun  7 14:50:27 2001
@@ -47,7 +47,7 @@
 .endif
 
 .if exists(/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4)
-CONFIGURE_ARGS += --with-kerberos=/usr/include
+CONFIGURE_ARGS += --with-kerberos=/usr
 .endif
 
 .if defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libkrb5.a)
>Release-Note:
>Audit-Trail:
>Unformatted:

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?GEKQDA00.BH4>