How to use portmanager/portmaster?

Roland Smith rsmith at xs4all.nl
Sat Feb 28 15:13:59 PST 2009


On Sat, Feb 28, 2009 at 11:33:01PM +0100, Frank Wißmann wrote:
> > > > Both do have manpages. What kind of error do you get when you try
> > > > e.g. 'man portmaster'? It might be that your manual pages setup
> > > > is broken.
> > >
> > > I get the message "No manual entry for portmaster", but using your
> > > command I can read it. "man man" e. g. works perfectly.
> >
> > That sounds to me that the configuration for the man command is
> > broken. If you give the 'manpath' command, does the output include
> > /usr/local/man?
>
> "manpath" does show correct settings AFAIK meaning that the answer to 
> your question is "yes".

Try running (in tcsh) 'man -d portmaster >& man-portmaster.txt'. This
will tell you where man(1) is looking for the portmaster manual
file. Among the text in man-portmaster.txt should be something like
this:

 searching in /usr/local/man
 trying section 8 with globbing
 globbing /usr/local/man/man8/portmaster.8*
 found ultimate source file /usr/local/man/man8/portmaster.8.gz
 to_name in convert_name () is: /usr/local/man/cat8/portmaster.8.gz
 will try to write /usr/local/man/cat8/portmaster.8.gz if needed
 status from is_newer() = -2
 using default preprocessor sequence
 found tbl(1) directive
 Couldn't open /usr/local/man/cat8/portmaster.8.gz.tmp5XCE4n for writing.
 using default preprocessor sequence
 found tbl(1) directive

 trying command: (cd /usr/local/man ; /usr/bin/zcat /usr/local/man/man8/portmaster.8.gz | /usr/bin/tbl | /usr/bin/groff -S -Wall -mtty-char -man -Tascii | /usr/bin/col | less)

It should at least contain the first three lines. If not, man isn't
searching the right directory.

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090228/236bb909/attachment.pgp


More information about the freebsd-questions mailing list