From rehsack@liwing.de  Mon May 27 00:41:54 2002
Return-Path: <rehsack@liwing.de>
Received: from mail.liwing.de (mail.liwing.de [213.70.188.162])
	by hub.freebsd.org (Postfix) with ESMTP id 29E0537B407
	for <FreeBSD-gnats-submit@FreeBSD.ORG>; Mon, 27 May 2002 00:41:52 -0700 (PDT)
Received: (qmail 88022 invoked from network); 27 May 2002 07:52:40 -0000
Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender <rehsack@liwing.de>)
          by mail.liwing.de (qmail-ldap-1.03) with SMTP
          for <ru@FreeBSD.ORG>; 27 May 2002 07:52:40 -0000
Message-Id: <3CF1E18E.C03B0933@liwing.de>
Date: Mon, 27 May 2002 09:34:38 +0200
From: Jens Rehsack <rehsack@liwing.de>
To: Ruslan Ermilov <ru@FreeBSD.ORG>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: conf/38567: man could not find manpages for library functions in 
 installed ports
References: <200205261105.g4QB51g77839@helo.liwing.de> <20020527073655.GD19313@sunbay.com>

>Number:         38599
>Category:       conf
>Synopsis:       Re: conf/38567: man could not find manpages for library functions in
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 27 00:50:02 PDT 2002
>Closed-Date:    Mon Jun 03 17:38:14 PDT 2002
>Last-Modified:  Mon Jun 03 17:40:14 PDT 2002
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 Ruslan Ermilov wrote:
 > 
 > On Sun, May 26, 2002 at 11:05:01AM +0000, Jens Rehsack wrote:
 > >
 > >       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 :-)
 > >
 > > --- 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 ---
 > >
 > No.  Please instead fix your $PATH to include /usr/local/bin and
 > /usr/X11R6/bin.  That would automatically tune up your manpath(1)
 > output.  The purpose is to avoid displaying those manpages that
 > you do not use.
 
 # echo $PATH
 /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin
 
 And it doesn't work as you say. Maybe you have done sth. other, but I installed
 a new, naked machine to try - and as you described I tested before submitting
 a bug. This fails!
 It's not for bin - it's for library functions!
 
 Jens Rehsack
 
 > Cheers,
 > --
 > Ruslan Ermilov          Sysadmin and DBA,
 > ru@sunbay.com           Sunbay Software AG,
 > ru@FreeBSD.org          FreeBSD committer,
 > +380.652.512.251        Simferopol, Ukraine
 > 
 > http://www.FreeBSD.org  The Power To Serve
 > http://www.oracle.com   Enabling The Information Age
 
 -- 
 L     i  W     W     W  i                 Jens Rehsack
 L        W     W     W
 L     i   W   W W   W   i  nnn    gggg    LiWing IT-Services
 L     i    W W   W W    i  n  n  g   g
 LLLL  i     W     W     i  n  n  g   g    Friesenstrae 2
                                   gggg    06112 Halle
                                      g
                                  g   g
 Tel.:  +49 - 3 45 - 5 17 05 91    ggg     e-Mail: <rehsack@liwing.de>
 Fax:   +49 - 3 45 - 5 17 05 92            http://www.liwing.de/
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: johan 
State-Changed-When: Mon Jun 3 17:37:21 PDT 2002 
State-Changed-Why:  
Follow-up to PR 38567 


Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: johan 
Responsible-Changed-When: Mon Jun 3 17:37:21 PDT 2002 
Responsible-Changed-Why:  
Follow-up to PR 38567 

http://www.freebsd.org/cgi/query-pr.cgi?pr=38599 
>Unformatted:
  installed ports
