Date: Wed, 11 Aug 1999 11:28:37 -0400 (EDT) From: Charlie Root <root@abelson.turing.terc.edu> To: FreeBSD-gnats-submit@freebsd.org Cc: xela@mit.edu Subject: conf/13078: 3.2-release /etc/manpath.config misconfigured Message-ID: <199908111528.LAA25975@abelson.turing.terc.edu>
next in thread | raw e-mail | index | archive | help
>Number: 13078 >Category: conf >Synopsis: 3.2-release /etc/manpath.config misconfigured >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: Wed Aug 11 08:30:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Charlie & >Release: FreeBSD 3.2-RELEASE i386 >Organization: MIT >Environment: Straightforward, fresh 3.2 installation; very few ports, no custom local software installed. >Description: /usr/bin/manpath consistently gives the error Warning: couldn't stat file /usr/local/lib/perl5/5.00502/man! if $MANPATH is not set. (This was discovered because running whereis would produce the error message. In trying to chase it down, I found that whereis calls manpath with $MANPATH unset, and was able to reproduce the behaviour from the command line by unsetting it.) The reason for the error is that that the stock /etc/manpath.conf contains the line MANDATORY_MANPATH /usr/local/lib/perl5/5.00502/man but there is no such directory. Since there is in fact no man subdirectory under /usr/local/lib/perl5/ at all, I solved it by simply commenting out the line in /etc/manpath.config >How-To-Repeat: in csh: # unset $MANPATH # /usr/bin/manpath Warning: couldn't stat file /usr/local/lib/perl5/5.00502/man! /usr/share/man:/usr/local/man:/usr/X11R6/man:/usr/share/perl/man >Fix: Delete the line MANDATORY_MANPATH /usr/local/lib/perl5/5.00502/man in /etc/manpath.config (or point it at the right path, but I have no idea where that might be). Also, the sample file (/etc/manpath.config.sample) is identical with /etc/manpath.config, and should doubtless get the same fix. >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?199908111528.LAA25975>