Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Nov 1997 17:07:30 -0700 (MST)
From:      bgingery@gtcs.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Cc:        pst@FreeBSD.ORG
Subject:   ports/5061: ports/mail/imap-uw fails to install .h files and run ldconfig
Message-ID:  <199711160007.RAA18297@home.gtcs.com>
Resent-Message-ID: <199711160010.QAA06016@hub.freebsd.org>

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

>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 <bgingery@gtcs.com>
>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711160007.RAA18297>