VectorLinux
October 21, 2014, 02:05:01 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: man not finding all manual pages  (Read 1614 times)
Tigerwolf
Vectorite
***
Posts: 152



« on: October 24, 2007, 09:17:50 pm »

Lots of packages put stuff in /usr/share/man/*  and /usr/local/share/man/* directories.

"Man" isn't finding them.   
"Apropos" does find them after doing a makewhatis.  So it seems working as expected.

Both directories are listed in /usr/lib/man.conf, so it's like man's not reading that.   Even forcing with
   -C /usr/lib/man.conf   doesn't help.  Manually exporting a MANPATH=<directory> will work, so it's not an issue with page formatting.

Running 'set' from a shell shows"

MANPATH=:/usr/lib/java/man:/usr/lib/qt/doc/man:/opt/seamonkey/man:/usr/lib/java/man:
/usr/lib/qt/doc/man:/opt/seamonkey/man

None of those 'odd' directories appear in /usr/lib/man.conf.   They do not appear in /etc/profile, user .profile, or .bashrc, or in any of the startup scripts under /etc/rc.d/.    I can't seem to find where those are coming from.

So...
1.  What's actually setting the MANPATH ?
2.  Why is man ignoring the directories specified in /usr/lib/man.conf ?
Logged

=^_^=  Tigerwolf

Running: Vector Linux 5.8 Standard   12-16-2006
silentstone
Member
*
Posts: 25



« Reply #1 on: January 03, 2008, 09:15:18 am »

I'm having the same problem. 

"man -k <keyword>" doesn't find man pages in /usr/share/man directories, despite /usr/share/man being in /usr/lib/man.conf.  I tried "makewhatis /usr/share/man", and this successfully built a whatis database in that folder.  However, "apropos" "man -k" and "echo $MANPATH" still miss /usr/share/man

/usr/lib/man.conf is the only man.conf file on the system that isn't a manpage for man.conf  Smiley

Oddly, the "man -d" command, which is supposed to list the directories searched by man, include /usr/share/man...
Code:
root:$ man -d           
Reading config file /usr/lib/man.conf
found man directory /usr/man
found man directory /usr/local/man
found man directory /usr/local/share/man
found man directory /usr/share/man
found man directory /usr/X11R6/man
found man directory /opt/postgresql/man
found man directory /opt/seamonkey/man
found manpath map /bin --> /usr/share/man
found manpath map /sbin --> /usr/share/man
found manpath map /usr/bin --> /usr/share/man
found manpath map /usr/sbin --> /usr/share/man
found manpath map /usr/local/bin --> /usr/local/share/man
found manpath map /usr/local/sbin --> /usr/local/share/man
found manpath map /usr/X11R6/bin --> /usr/X11R6/man
found manpath map /usr/bin/X11 --> /usr/X11R6/man
found manpath map /usr/bin/mh --> /usr/share/man

using /usr/bin/less -is as pager

using firefox as browser

using /usr/bin/lynx -dump to dump HTML pages as textWhat manual page do you want?
Logged
lagagnon
Global Moderator
Vectorian
*****
Posts: 1922



WWW
« Reply #2 on: January 03, 2008, 09:37:31 am »

Try adding "/usr/share/man" to "export MANPATH line in the file /etc/profile .
Logged

"As people become more intelligent they care less for preachers and more for teachers". Robert G. Ingersoll
Triarius Fidelis
Vecteloper
Vectorian
****
Posts: 2399


Domine, exaudi vocem meam


WWW
« Reply #3 on: January 03, 2008, 09:41:19 am »

IMO, /usr/share/man and /usr/share/info should be symbolic links to their /usr eqvs.
Logged

"Leatherface, you BITCH! Ho Chi Minh, hah hah hah!"

Formerly known as "Epic Fail Guy" and "Döden" in recent months
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!