Date: Sun, 17 Oct 1999 23:44:46 -0400 (EDT) From: "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/14389: XScreensaver port does not properly detect Kerberos Message-ID: <199910180344.XAA11383@cc942873-a.ewndsr1.nj.home.com>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910180344.XAA11383>