LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 08-15-2004, 02:20 PM   #1
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,438

Rep: Reputation: 52
Man pages


Hi there,

I just installed gzip, wget, and bash on solaris 8 x86. However, doing a 'man' on each of them reports "No manual entry for <application>". How I installed them were:

1. went to sunfreeware.com and downloaded the packages
2. pkgadd -d <package>

The packages were installed successfully and I can use them but no man pages present. Is it like this with solaris or do I need to do something else to have man pages present for packages? Thanks!

-twantrd
 
Old 08-15-2004, 03:08 PM   #2
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
the path to the man pages should be in an environment variable


but just out of curiosity what does

man -K wget

say? ... anyways.. they where probably not installed into the man path.. so go search where the program was installed for the man pages (if any where installed) and move them into the man path
 
Old 08-15-2004, 03:58 PM   #3
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,438

Original Poster
Rep: Reputation: 52
Hi,

'man -K wget' doesn't work but 'man -k wget' does and it shows:
bash-2.05b# man -k wget
/usr/man/windex: No such file or directory
/usr/local/man/windex: No such file or directory
/usr/man/windex: No such file or directory
/usr/local/man/windex: No such file or directory
/usr/local/doc/windex: No such file or directory
/usr/man/windex: No such file or directory
/usr/local/man/windex: No such file or directory

What does all that mean?

However, I did export MANPATH=/usr/man:/usr/local/man and then the man pages worked! Thanks!

-twantrd
 
Old 08-15-2004, 04:25 PM   #4
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
all those errors probably mean the were in the man path (probably the only ones), but they don't exist
 
Old 08-16-2004, 01:53 AM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,507

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
All these errors means actually that the windex database wasn't created in each man page directory, which is Solaris default..
This is avoiding man -k, whatis and apropos commands to succeed.
See catman(1M) to see how to build the database.
 
Old 08-16-2004, 03:15 AM   #6
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,438

Original Poster
Rep: Reputation: 52
I just did catman -w to build the database. Thanks guys!! Much help appreciated!!

-twantrd
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
C++ man pages Guest1234 Linux - Newbie 2 06-29-2008 09:12 AM
C man pages sono2 Programming 4 09-12-2005 01:24 AM
C man pages sono2 Linux - Software 2 09-09-2005 12:24 PM
C++ man pages Guest1234 Ubuntu 0 05-11-2005 02:45 AM
What do you mean by MAN pages? inspectreo Linux - Newbie 2 05-08-2005 02:12 PM


All times are GMT -5. The time now is 05:20 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration