Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Getting man pages to work' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Getting man pages to work
Authored by: _merlin on Mar 09, '01 08:45:06PM

The reason the man pages are unavailable is that Mac OS X expects to find them in share/man, not man (as many other UN*Xes do). To solve this problem, use the following commands to build and install the programs:

./configure --mandir=/usr/local/share/man
make
su root
#enter root password when prompted
make install
exit
rehash

What we've done different is to tell the configuration script which directory the manual pages should be placed in, and told the shell to "rehash". That is, to scan the implicit executable search paths for now programs.

Vasantha Crabb



[ Reply to This | # ]
Getting man pages to work
Authored by: sven on Mar 10, '01 08:16:40AM

I can't verify this right now (wish PB would run on Titaniums...) but I believe OSX also honors the MANPATH environment variable. So you could add additional directories to your MANPATH:

setenv MANPATH /usr/share/man:/usr/local/man:$MANPATH

-Sven



[ Reply to This | # ]
Getting man pages to work
Authored by: _merlin on Mar 11, '01 04:44:59AM

It only honours the environment variable if you delete your man.conf file. You can edit the file to make it search more directories (you can find it at /etc/man.conf). I think it's a better solution to just use the directories the OS likes.





Vasantha Crabb



[ Reply to This | # ]