Comments inline.

Regards,
       Imran Sher Rafique

Anupam Kapoor <[EMAIL PROTECTED]> wrote on Tue Jan 20, 2004 at 11:27:21AM -0800:
> Richard Kilgore <[EMAIL PROTECTED]> writes:
> 
> > On Tue, Jan 20, 2004 at 10:02:13AM -0800, Anupam Kapoor wrote:
> >> hi all,
> >> 
> >> i am having a strange problem displaying man page. when i try a man
> >
> >> page e.g. 'man ld' here is the output i get :
> >> 
> >> ,----
> >> | parth% man ld
> >> | fgets: No such file or directory
> >> | Error reading man page /usr/share/man/man1/ld.1.gz
> >> | No manual entry for ld
> >> | parth% 
> >> `----
> >> 
> >> while other man commands e.g. 'man ls' works fine.
> >> 
> >> any ideas on what might be wrong here ?
> >
> > Anupam,
> >
> ,----
> | > What happens if you do:
> | >
> | >     gunzip -c /usr/share/man/man1/ld.1.gz | /usr/bin/groff -Tascii -man - | 
> /usr/bin/less -R
> | >
> | > hopefully, you get a more understandable error message.
> | > Also, is your environment variable MANPATH set to something
> | > weird?  And does /etc/man.conf look ok?  (specifically, search
> | > for "fgets", I would think).
> `----
> the output of the above command produces no ouput for me :(. the file
> exists though !
> 
> ,----
> | parth% ls -l /usr/share/man/man1/ld.1.gz
> | -rw-r--r--    1 root     root           25 Dec 15 16:19 /usr/share/man/man1/ld.1.gz
> `----
> 
> so i tried 'gunzip -c /usr/share/man/man1/ld.1.gz' it produces no
> output !!!

I would stop right there. From the file size of your ld.1.gz, it appears that you have 
an empty file, which was then gzipped. What does `qpkg -v -c binutils` tell you? Are 
any other manpages from that package similarly affected?

In a nutshell: you don't have a problem with your man setup. You just don't have the 
ld.1 manpage on your system (or at least, its contents).

> 
> my MANPATH looks like this :
> 
> ,----
> | 
> /usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.2/man:/usr/X11R6/man:
> | /opt/blackdown-jdk-1.4.1/man:/usr/qt/3/doc/man
> `----
> 
> i looked at /etc/man.conf and i cannot notice anything strange
> there. if it would make it any easier, i can post the contents here.
> 
> any ideas ?
> 
> thank you for your reply.
> 
> kind regards
> anupam
> 
> 
> >
> >     - richard
> >
> > -- 
> > Richard Kilgore
> > [EMAIL PROTECTED]
> >
> > --
> > [EMAIL PROTECTED] mailing list
> 
> 
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list

Reply via email to