[gridengine users] 8.1.0 appears to have old manpages.
Reuti
reuti at staff.uni-marburg.de
Thu Jul 26 17:08:55 UTC 2012
Am 26.07.2012 um 18:28 schrieb Maes, Richard:
> I validated that the /corp/tools/grid/v8_1_0/man path is in my MAN path.
> I also performed a makewhatis -v and see that the new pages are being
> pulled in. However, the soft links in the man1 directory are not shown
> below. I kind of expected to see those added as part of the DB. It is
> possible for me to access all the pages below, however, none of the soft
> link aliases are available using man.
>
> [wagrid03.ciena.com(rmaes)]-> ~ 125> man --path
There are (at least) two different versions of `man` around. The one having the option "--path" is found on Mac OS X and Red Hat, while on other Linux distributions it's often a different one.
> /corp/tools/grid/v8_1_0/man:/usr/share/man/en:/usr/share/man
> [wagrid03.ciena.com(rmaes)]-> ~ 126> sudo makewhatis -v
> /corp/tools/grid/v8_1_0/man
> about to enter /corp/tools/grid/v8_1_0/man
> <snip>
> adding /corp/tools/grid/v8_1_0/man/man5/user.5.gz
> [wagrid03.ciena.com(rmaes)]-> ~ 127>
To use `groff` to make a Text/Postscript output you can use the process substitution in Bash to handle the .gz directly:
$ groff -Tascii -man <(zcat gnubatch.1.gz)
-- Reuti
> -----Original Message-----
> From: Dave Love,,, [mailto:d.love at liverpool.ac.uk]
> Sent: Thursday, July 26, 2012 5:13 AM
> To: Maes, Richard
> Cc: users at gridengine.org
> Subject: Re: [gridengine users] 8.1.0 appears to have old manpages.
>
> "Maes, Richard" <rmaes at ciena.com> writes:
>
>> Sorry about rebirthing an old thread, but it's too late to change the
>> channel now...
>>
>> I finally got around to looking at this man page issue again. I
>> descended to the man1 directory and did a ls -lart (only a partial
>> info shown for brevity) Submit.1.gz is present and qsub.1 is soft
>> linked to it. Note that I perform the groff on the qsub and it returns
>
>> a fatal error below.
>
> Groff doesn't take compressed input, but at least most recent ones of
> the many man implementations do. Also it's not necessary to format the
> pages ("catman") in any system I know since Irix-<something>, so the cat
> versions aren't generated.
>
>> If I instead run this on submit.1, then I get the 8.1.0 man page as
>> expected. If I perform a 'man submit' then I get the 8.1.0 man page
>> as well, but a man qsub gives me a man page from 2003. Is there some
>> obvious thing about man pages and soft links that I am missing here?
>
> You need to install the man pages and run makewhatis(1), mandb(1), or
> whatever your system uses to update the whatis list and/or mandb index.
> Then set MANPATH to include the SGE man directory ahead of the system
> one with the useless POSIX version of qsub et al. If you have
> compressed pages, make sure the links are from .gz to .gz.
>
> The makewhatis stanza in the 8.1.0 rpm was wrong on Red Hat, but I think
> that was fixed in the -2 versions, and that doesn't look like an rpm
> installation. I reckoned it wasn't worth dealing with compressed
> versions in the end and dropped that in 8.1.1.
>
> --
> Community Grid Engine: http://arc.liv.ac.uk/SGE/
>
> _______________________________________________
> users mailing list
> users at gridengine.org
> https://gridengine.org/mailman/listinfo/users
More information about the users
mailing list