LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

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,440

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,440

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: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
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,440

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

-twantrd
 
  


Reply



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

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 02:16 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration