From owner-freebsd-ports Sat Nov 15 16:10:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA06025 for ports-outgoing; Sat, 15 Nov 1997 16:10:07 -0800 (PST) (envelope-from owner-freebsd-ports) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA06016; Sat, 15 Nov 1997 16:10:03 -0800 (PST) (envelope-from gnats) Resent-Date: Sat, 15 Nov 1997 16:10:03 -0800 (PST) Resent-Message-Id: <199711160010.QAA06016@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-ports Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, bgingery@gtcs.com Received: from home.gtcs.com (home.gtcs.com [206.54.69.238]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA05920; Sat, 15 Nov 1997 16:08:02 -0800 (PST) (envelope-from bruce@home.gtcs.com) Received: (from bruce@localhost) by home.gtcs.com (8.8.5/8.8.5) id RAA18297; Sat, 15 Nov 1997 17:07:30 -0700 (MST) Message-Id: <199711160007.RAA18297@home.gtcs.com> Date: Sat, 15 Nov 1997 17:07:30 -0700 (MST) From: bgingery@gtcs.com Reply-To: bgingery@gtcs.com To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: pst@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/5061: ports/mail/imap-uw fails to install .h files and run ldconfig Sender: owner-freebsd-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 5061 >Category: ports >Synopsis: ports/mail/imap-uw does *partial* install >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Class: support >Submitter-Id: current-users >Arrival-Date: Sat Nov 15 16:10:01 PST 1997 >Last-Modified: >Originator: Bruce Gingery >Organization: Advanced Integrators, LC >Release: FreeBSD 2.2.1-RELEASE i386 >Environment: Affects anyone running or building software dependent on libc-client.so.2.1 or libc-client.a In particular TkRat (ratatosk) GUI E-Mail port just imported on the closed: ports/4857. >Description: Currently ports/mail/imap-uw installs 3 daemons, one user-level binary and both shared and static c-client libraries. Also a couple of manpages for the imapd and pop?d daemons. It does *not* install the .h files matching the libraries and does not run ldconfig -m ${PREFIX}/lib pkg_delete does not run ldconfig (unless it's doing that automatically, and I didn't realize it). >How-To-Repeat: Install TkRat on a system that does not have imap-uw previously installed - or attempt to install other software dependent on the .h files being installed. Because the current version of the imap-uw distribution archive is *part* of the tkrat distribution archive, the make should not fail, but the run of TkRat will fail until ldconfig has added the c-client library to the hints. >Fix: Work-around: run "/sbin/ldconfig -m /usr/local/lib" or reboot before running TkRat. This fixes the missing part of the install for the libc-client.so.2.1 Work-around: ldconfig IS run if imap-uw is installed as a package, instead of a port. Fix: Add ldconfig to commands in the top-level Makefile add @unexec /sbin/ldconfig -m %B to the package PLIST Add headers to both the Makefile and PLIST. At a minimum add installation of c-client/mail.h Ideally install c-client/*.h to ${PREFIX}/include This will assist those using the extension provisions of the existing c-client library to add new mailbox formats or protocols. mail.h does *not* depend on these other .h files, however, so such install would be optional. >Audit-Trail: >Unformatted: