|
|
man pages
|
|
|
|
Forum Regular
Join Date: Nov 2000
Location: Seattle, Wa, USA
Status:
Offline
|
|
i just got my new iBook, and i've been installing all my fav apps like nmap, ettercap, vim, wget, etc... but, the man pages are missing after i compile and install! wtf? i have the files in /usr/local/man/<mandir>
like for ettercap, i have /usr/local/man/man8/ettercap.8 but when i type man ettercap i get "no manual entry for ettercap"
any ideas? do i need to put these files in a special OSX man dir?
thanks!
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Nov 2001
Location: Melboune, Australia
Status:
Offline
|
|
Originally posted by johann:
<STRONG>i just got my new iBook, and i've been installing all my fav apps like nmap, ettercap, vim, wget, etc... but, the man pages are missing after i compile and install! wtf? i have the files in /usr/local/man/<mandir>
like for ettercap, i have /usr/local/man/man8/ettercap.8 but when i type man ettercap i get "no manual entry for ettercap"
any ideas? do i need to put these files in a special OSX man dir?
thanks!</STRONG>
You have to make sure that /usr/local/man is in your MANPATH.
echo $MANPATH shows you your MANPATH
setenv MANPATH `echo $MANPATH`:/usr/local/man puts /usr/local/man into your MANPATH
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Nov 2000
Location: Seattle, Wa, USA
Status:
Offline
|
|
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Sep 2000
Location: Boston, MA
Status:
Offline
|
|
I dont remember the name of the file but you can change 'man's' default
search path for all users. Try a 'man man'. It's probably in /etc or
so.
|
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Nov 2001
Location: Adelaide, South Australia
Status:
Offline
|
|
<STRONG>I dont remember the name of the file but you can change 'man's' default
search path for all users. Try a 'man man'.</STRONG>
Yep, it's /etc/man.conf (and man man.conf gives some info). Here are the relevant lines:
# Default
_default /usr/{local/,}/share/man/
# Other sections that represent complete man subdirectories.
system /usr/share/man/
local /usr/local/share/man/
So it looks like the officially prescribed location is with an extra "share" directory between the /usr/local and the /man. Oh well, gpg is the only 3rd party package that has installed man pages in my /usr/local/share/man hierarchy: looks like everyone else just "goes their own way"!
Cheers,
Paul (wondering if he'll every submit a post that doesn't need editing!)
[ 12-18-2001: Message edited by: Paul McCann ]
|
|
|
|
|
|
|
|
|
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status:
Offline
|
|
Most packages will put their manpages in the right place if you tell them to. Try looking at the flags to configure, or use Fink.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|