From owner-freebsd-questions Wed Sep 8 21: 9:53 1999 Delivered-To: freebsd-questions@freebsd.org Received: from smtp3.hawaii.rr.com (smtp3.hawaii.rr.com [204.210.97.13]) by hub.freebsd.org (Postfix) with ESMTP id 88AC1152B0 for ; Wed, 8 Sep 1999 21:09:50 -0700 (PDT) (envelope-from art@hawaii.rr.com) Received: from taz - 24.31.76.79 by smtp3.hawaii.rr.com with Microsoft SMTPSVC(5.5.1774.114.11); Wed, 8 Sep 1999 18:09:39 -1000 Message-Id: <3.0.6.32.19990908180921.008c8a50@clients1.hawaii.rr.com> X-Sender: art@clients1.hawaii.rr.com X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Wed, 08 Sep 1999 18:09:21 -1000 To: Jonathan Chen From: "Art Neilson, KH7PZ" Subject: Re: whereis(1) Cc: dougy@gargoyle.apana.org.au, questions@freebsd.org In-Reply-To: References: <3.0.6.32.19990908094749.008ca100@clients1.hawaii.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ahhhh, the correct answer!! I read the manpages and saw that whereis searches for manpages along $MANPATH however I couldn't find the bogus symlink in any directory referenced by the $MANPATH in my environment, i.e. echo $MANPATH yeilds: /usr/share/man:/usr/X11R6/man:/usr/local/man I was not aware of /etc/manpath.config !!! Thanks a million Jonathan for pointing this out. It wasn't a big problem but it was irritating nonetheless. At 09:39 AM 09/09/1999 +1200, you wrote: >On Wed, 8 Sep 1999, Art Neilson, KH7PZ wrote: > >> Whereis is driving me nuts, it thinks I have a directory however the directory >> does not exist. For example: >> >> root@pilikia# whereis myfile >> Warning: couldn't stat file /usr/local/lib/perl5/5.00502/man! >> myfile: >> >> I do not have this directory. > >Comment out the reference to it in /etc/manpath.config, which >contains a bogus reference to 5.00502.man. > >Jonathan Chen >---------------------------------------------------------------------- > "Don't forget the most important rule to live by.. > Never believe anything you read on the USENET" > > -- __ / ) _/_ It is a capital mistake to theorise before one has data. /--/ __ / Insensibly one begins to twist facts to suit theories, / (_/ (_<__ Instead of theories to suit facts. -- Sherlock Holmes, "A Scandal in Bohemia" Arthur W. Neilson III, KH7PZ Bank of Hawaii Tech Support art@hawaii.rr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message