Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 May 2002 11:05:01 GMT
From:      Jens Rehsack <rehsack@liwing.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   conf/38567: man could not find manpages for library functions in installed ports
Message-ID:  <200205261105.g4QB51g77839@helo.liwing.de>

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


>Number:         38567
>Category:       conf
>Synopsis:       man could not find manpages for library functions in installed ports
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 26 02:10:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jens Rehsack
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
LiWing IT-Services
>Environment:
System: FreeBSD helo.liwing.de 4.5-STABLE FreeBSD 4.5-STABLE #4: Sun Apr 28 23:52:47 GMT 2002 root@helo.liwing.de:/usr/obj/usr/src/sys/HELO i386


	AMD K6-2 333MHz FreeBSD 4.5-STABLE
>Description:
	when trying to get some information 'bout - let's say gettext - 'man dcgettext'
	fails. To repair this I always set MANPATH environment variable until I see
	/etc/manpath.conf. After a short look I saw that only binaries are mapped, so
	neither ports library functions nor X (or X-related) library function calls
	could be looked up via man.
	This two appended lines fix this :-)
>How-To-Repeat:
	man dcgettext
	man -k gettext
>Fix:

	apply this patch

--- manpath.patch begins here ---
--- manpath.config.orig	Sun May 26 10:52:14 2002
+++ manpath.config	Sun May 26 10:54:19 2002
@@ -17,6 +17,8 @@
 # check if the directory exists and if it does, add it to MANPATH
 #
 OPTIONAL_MANPATH	/usr/local/lib/perl5/5.6.1/man
+OPTIONAL_MANPATH	/usr/local/man
+OPTIONAL_MANPATH	/usr/X11R6/man
 #
 # set up PATH to MANPATH mapping
 #
--- manpath.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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