Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
man pages disappeared
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
WaMan
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2002
Posts: 96

PostPosted: Thu Aug 08, 2002 1:41 am    Post subject: man pages disappeared Reply with quote

I just did a bunch o' emerging and unmerging and now man doesn't seem to work. I.e., when I run
Code:
man man

I get
Code:
No manual entry for man
.

I re-emerged 'man' and 'man-pages' and nothing has changed in man.conf, so I'm a little confused...
Any ideas???

Cheers
Back to top
View user's profile Send private message
WaMan
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2002
Posts: 96

PostPosted: Thu Aug 08, 2002 2:37 am    Post subject: Reply with quote

It seems the /usr/share/man is not on the MANPATH. Is there any reason why /etc/man.conf would not be processed?

Thanks
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Thu Aug 08, 2002 2:44 am    Post subject: Reply with quote

man man ;)

Code:
       -C  config_file
              Specify  the  configuration  file  to  use;  the  default  is  /etc/man.conf.   (See
              man.conf(5).)

_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
WaMan
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2002
Posts: 96

PostPosted: Thu Aug 08, 2002 2:55 am    Post subject: Reply with quote

Ya,

It seems the $MANPATH is set to something already (which doesn't include /usr/share/man). If $MANPATH is already set, man doesn't check /etc/man.conf. What would set MANPATH behind my back, or rather where would I likely find where it is set???
Back to top
View user's profile Send private message
WaMan
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2002
Posts: 96

PostPosted: Thu Aug 08, 2002 3:20 am    Post subject: Reply with quote

Strange,

I solved the problem by removing the MANPATH settings in profile.env. (Well, more specifically, by deleting the lines from the files in /etc/env.d that exported MANPATH and then running env-update to regenerate profile.env.) I'm not sure what happened, but it seems that the updated version of man doesn't check man.conf if $MANPATH is already set, whereas the previous version of man augmented $MANPATH with those set in man.conf.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum