From owner-freebsd-ports Sun Oct 17 20:50: 3 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 3E26114F0B for ; Sun, 17 Oct 1999 20:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id UAA63816; Sun, 17 Oct 1999 20:50:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 6360F14E4D for ; Sun, 17 Oct 1999 20:41:34 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id XAA11383; Sun, 17 Oct 1999 23:44:46 -0400 (EDT) (envelope-from cjc) Message-Id: <199910180344.XAA11383@cc942873-a.ewndsr1.nj.home.com> Date: Sun, 17 Oct 1999 23:44:46 -0400 (EDT) From: "Crist J. Clark" Reply-To: cjc@cc942873-a.ewndsr1.nj.home.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/14389: XScreensaver port does not properly detect Kerberos Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 14389 >Category: ports >Synopsis: XScreensaver port does not properly detect Kerberos >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 17 20:50:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Crist J. Clark >Release: FreeBSD 3.3-STABLE i386 >Organization: >Environment: Fresh 2.2.8 to 3.3 upgrade. No Kerberos installed. >Description: If one goes to /usr/ports/x11/xscreensaver with a system configured as above, a 'make' will fail when the Kerberos library (libkrb) is not found. The 'configure' step does not properly identify the absence of Kerberos. Even if the user tries to add a 'CONFIGURE_ARGS=--without-kerberos' argument to the make, it still will fail with, cc -Wall -Wstrict-prototypes -Wnested-externs -Wno-format -L/usr/X11R6/lib -o xscreensaver xscreensaver.o windows.o timers.o subprocs.o xset.o splash.o setuid.o stderr.o prefs.o lock.o passwd.o passwd-kerberos.o passwd-pwent.o ../utils/fade.o ../utils/overlay.o ../utils/xroger.o ../utils/spline.o ../utils/yarandom.o ../utils/resources.o ../utils/usleep.o ../utils/visual.o -L/usr/X11R6/lib -lXmu -lXss -lXdpms -lXxf86vm -lSM -lICE -lXmu -lXt -lXt -lX11 -lXext -lkrb -ldes -lcrypt /usr/libexec/elf/ld: cannot open -lkrb: No such file or directory *** Error code 1 Stop. *** Error code 5 Stop. *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. The user must edit the Makefile to add --without-kerberos to the CONFIGURE_ARGS. Then the build goes fine. >How-To-Repeat: On a system without Kerberos installed, just, # cd /usr/ports/x11/xscreensaver # make >Fix: Workaround: Edit the Makefile to add --without-kerberos Fix1: Allow CONFIGURE_ARGS to be added at make command line. Fix2: Have port check for presence of Kerberos Fix3: Have xscreensaver itself properly check for Kerberos >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message