Re: Nroff error

2003-11-11 Thread Larry Rosenman


--On Tuesday, November 11, 2003 16:02:47 -0500 Forrest Aldrich 
<[EMAIL PROTECTED]> wrote:

LOL

Check this out:

bash-2.05b# gdb man bash
should be:

gdb man

run man bash




GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-unknown-freebsd"...(no debugging symbols
found)...
/usr/local/etc/openldap/bash: No such file or directory.
(gdb)
and this:

bash-2.05b# manpath
/usr/share/man:/usr/local/man:/usr/share/perl/man:/usr/share/openssl/man:
/usr/local/lib/perl5/5.00503/man:/usr/X11R6/man
Makes absolutely no sense to me.


that just shows where it's looking for stuff.

LER



At 03:56 PM 11/11/2003, Larry Rosenman wrote:
One idea...

Have you tried truss(1)'ing the man command to see what files it's
looking  for?
truss -o /tmp/truss.out man xxx

?



--On Tuesday, November 11, 2003 15:45:11 -0500 Forrest Aldrich
<[EMAIL PROTECTED]> wrote:
Hi Larry,

I seem to have this file:

-r--r--r--  1 root  wheel  5102 Nov  9 22:24
/usr/share/tmac/tty-char.tmac -r--r--r--  1 root  wheel  1551 Nov  9
22:24 /usr/share/tmac/tty.tmac
This has been a problem for a long time - none of my manpages work at
all.   I've tried reinstalling (makeworld/installworld,e tc) to no
avail. Also, if I remove /usr/local/share/groff, I get more errors.
So I think something is just plain wrong.   I've tested my MANPATH and
looked at /etc/manpath.config, and don't see problems.
I'm getting to the point where I'm losing time by not having some
manpages available, etc.
Thanks,
Forrest
At 03:32 PM 11/11/2003, you wrote:


--On Tuesday, November 11, 2003 15:28:03 -0500 Forrest Aldrich
<[EMAIL PROTECTED]> wrote:
Can someone explain what this error might be:

nroff -man nasm.1 > nasm.man
troff: fatal error: can't find macro file tty-char
*** Error code 1
Long-standing issue on the system I'm using -- it affects usage of
manpages (they don't work).  Can't figure it out...
The following file is probably missing (drop the /stable/ from the
path):
/stable/usr/share/tmac/tty-char.tmac

It can (probably) be copied from:

/stable/usr/src/contrib/groff/tmac/tty-char.tmac







___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749



--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


pgp0.pgp
Description: PGP signature


Re: Nroff error

2003-11-11 Thread Larry Rosenman


--On Tuesday, November 11, 2003 16:00:48 -0500 Forrest Aldrich 
<[EMAIL PROTECTED]> wrote:

Yes, I have actually.  And this makes it even more mysterious.  Check
this out:
bash-2.05b# truss -o /tmp/truss.out man perl
Formatting page, please wait...troff: fatal error: can't find macro file
tty-char
Done.
bash-2.05b# cat /tmp/truss.out
bash-2.05b# truss -o /tmp/truss.out man sh
bash-2.05b# truss -o /tmp/truss.out man bash
I get that error first, then each subsequent returns nothing... and
/tmp/truss.out is empty.
try adding the -f flag to trace all the sub processes it creates.




Forrest



At 03:56 PM 11/11/2003, Larry Rosenman wrote:
One idea...

Have you tried truss(1)'ing the man command to see what files it's
looking  for?
truss -o /tmp/truss.out man xxx

?



--On Tuesday, November 11, 2003 15:45:11 -0500 Forrest Aldrich
<[EMAIL PROTECTED]> wrote:
Hi Larry,

I seem to have this file:

-r--r--r--  1 root  wheel  5102 Nov  9 22:24
/usr/share/tmac/tty-char.tmac -r--r--r--  1 root  wheel  1551 Nov  9
22:24 /usr/share/tmac/tty.tmac
This has been a problem for a long time - none of my manpages work at
all.   I've tried reinstalling (makeworld/installworld,e tc) to no
avail. Also, if I remove /usr/local/share/groff, I get more errors.
So I think something is just plain wrong.   I've tested my MANPATH and
looked at /etc/manpath.config, and don't see problems.
I'm getting to the point where I'm losing time by not having some
manpages available, etc.
Thanks,
Forrest
At 03:32 PM 11/11/2003, you wrote:


--On Tuesday, November 11, 2003 15:28:03 -0500 Forrest Aldrich
<[EMAIL PROTECTED]> wrote:
Can someone explain what this error might be:

nroff -man nasm.1 > nasm.man
troff: fatal error: can't find macro file tty-char
*** Error code 1
Long-standing issue on the system I'm using -- it affects usage of
manpages (they don't work).  Can't figure it out...
The following file is probably missing (drop the /stable/ from the
path):
/stable/usr/share/tmac/tty-char.tmac

It can (probably) be copied from:

/stable/usr/src/contrib/groff/tmac/tty-char.tmac







___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749



--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


pgp0.pgp
Description: PGP signature


Re: Nroff error

2003-11-11 Thread Forrest Aldrich
LOL

Check this out:

bash-2.05b# gdb man bash
GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...(no debugging symbols 
found)...

/usr/local/etc/openldap/bash: No such file or directory.
(gdb)
and this:

bash-2.05b# manpath
/usr/share/man:/usr/local/man:/usr/share/perl/man:/usr/share/openssl/man:/usr/local/lib/perl5/5.00503/man:/usr/X11R6/man
Makes absolutely no sense to me.





At 03:56 PM 11/11/2003, Larry Rosenman wrote:
One idea...

Have you tried truss(1)'ing the man command to see what files it's looking 
for?

truss -o /tmp/truss.out man xxx

?



--On Tuesday, November 11, 2003 15:45:11 -0500 Forrest Aldrich 
<[EMAIL PROTECTED]> wrote:

Hi Larry,

I seem to have this file:

-r--r--r--  1 root  wheel  5102 Nov  9 22:24 /usr/share/tmac/tty-char.tmac
-r--r--r--  1 root  wheel  1551 Nov  9 22:24 /usr/share/tmac/tty.tmac
This has been a problem for a long time - none of my manpages work at
all.   I've tried reinstalling (makeworld/installworld,e tc) to no avail.
Also, if I remove /usr/local/share/groff, I get more errors.
So I think something is just plain wrong.   I've tested my MANPATH and
looked at /etc/manpath.config, and don't see problems.
I'm getting to the point where I'm losing time by not having some
manpages available, etc.
Thanks,
Forrest
At 03:32 PM 11/11/2003, you wrote:


--On Tuesday, November 11, 2003 15:28:03 -0500 Forrest Aldrich
<[EMAIL PROTECTED]> wrote:
Can someone explain what this error might be:

nroff -man nasm.1 > nasm.man
troff: fatal error: can't find macro file tty-char
*** Error code 1
Long-standing issue on the system I'm using -- it affects usage of
manpages (they don't work).  Can't figure it out...
The following file is probably missing (drop the /stable/ from the path):

/stable/usr/share/tmac/tty-char.tmac

It can (probably) be copied from:

/stable/usr/src/contrib/groff/tmac/tty-char.tmac







___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Nroff error

2003-11-11 Thread Forrest Aldrich
Yes, I have actually.  And this makes it even more mysterious.  Check this out:

bash-2.05b# truss -o /tmp/truss.out man perl
Formatting page, please wait...troff: fatal error: can't find macro file 
tty-char
Done.
bash-2.05b# cat /tmp/truss.out
bash-2.05b# truss -o /tmp/truss.out man sh
bash-2.05b# truss -o /tmp/truss.out man bash

I get that error first, then each subsequent returns nothing... and 
/tmp/truss.out is empty.



Forrest



At 03:56 PM 11/11/2003, Larry Rosenman wrote:
One idea...

Have you tried truss(1)'ing the man command to see what files it's looking 
for?

truss -o /tmp/truss.out man xxx

?



--On Tuesday, November 11, 2003 15:45:11 -0500 Forrest Aldrich 
<[EMAIL PROTECTED]> wrote:

Hi Larry,

I seem to have this file:

-r--r--r--  1 root  wheel  5102 Nov  9 22:24 /usr/share/tmac/tty-char.tmac
-r--r--r--  1 root  wheel  1551 Nov  9 22:24 /usr/share/tmac/tty.tmac
This has been a problem for a long time - none of my manpages work at
all.   I've tried reinstalling (makeworld/installworld,e tc) to no avail.
Also, if I remove /usr/local/share/groff, I get more errors.
So I think something is just plain wrong.   I've tested my MANPATH and
looked at /etc/manpath.config, and don't see problems.
I'm getting to the point where I'm losing time by not having some
manpages available, etc.
Thanks,
Forrest
At 03:32 PM 11/11/2003, you wrote:


--On Tuesday, November 11, 2003 15:28:03 -0500 Forrest Aldrich
<[EMAIL PROTECTED]> wrote:
Can someone explain what this error might be:

nroff -man nasm.1 > nasm.man
troff: fatal error: can't find macro file tty-char
*** Error code 1
Long-standing issue on the system I'm using -- it affects usage of
manpages (they don't work).  Can't figure it out...
The following file is probably missing (drop the /stable/ from the path):

/stable/usr/share/tmac/tty-char.tmac

It can (probably) be copied from:

/stable/usr/src/contrib/groff/tmac/tty-char.tmac







___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Nroff error

2003-11-11 Thread Forrest Aldrich
Hi Larry,

I seem to have this file:

-r--r--r--  1 root  wheel  5102 Nov  9 22:24 /usr/share/tmac/tty-char.tmac
-r--r--r--  1 root  wheel  1551 Nov  9 22:24 /usr/share/tmac/tty.tmac
This has been a problem for a long time - none of my manpages work at 
all.   I've tried reinstalling (makeworld/installworld,e tc) to no 
avail.  Also, if I remove /usr/local/share/groff, I get more errors.

So I think something is just plain wrong.   I've tested my MANPATH and 
looked at /etc/manpath.config, and don't see problems.

I'm getting to the point where I'm losing time by not having some manpages 
available, etc.

Thanks,
Forrest
At 03:32 PM 11/11/2003, you wrote:


--On Tuesday, November 11, 2003 15:28:03 -0500 Forrest Aldrich 
<[EMAIL PROTECTED]> wrote:

Can someone explain what this error might be:

nroff -man nasm.1 > nasm.man
troff: fatal error: can't find macro file tty-char
*** Error code 1
Long-standing issue on the system I'm using -- it affects usage of
manpages (they don't work).  Can't figure it out...
The following file is probably missing (drop the /stable/ from the path):

/stable/usr/share/tmac/tty-char.tmac

It can (probably) be copied from:

/stable/usr/src/contrib/groff/tmac/tty-char.tmac







___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Nroff error

2003-11-11 Thread Matthew Seaman
On Tue, Nov 11, 2003 at 03:28:03PM -0500, Forrest Aldrich wrote:
> Can someone explain what this error might be:
> 
> nroff -man nasm.1 > nasm.man
> troff: fatal error: can't find macro file tty-char
> *** Error code 1
> 
> Long-standing issue on the system I'm using -- it affects usage of manpages 
> (they don't work).  Can't figure it out...

Do you have the file /usr/share/tmac/tty-char.tmac installed, and does
it have the correct ownership and permissions so that the nroff user
can access it?

% ls -lad /usr/share/tmac/tty-char.tmac /usr/share/tmac
drwxr-xr-x  4 root  wheel  1536 Sep 16 21:22 /usr/share/tmac/
-r--r--r--  1 root  wheel  5102 Sep 16 21:22 /usr/share/tmac/tty-char.tmac

If you have an up-to-date source tree there should be a copy in
/usr/src/contrib/groff/tmac/tty-char.tmac If copying that into place
doesn't work, then I'd recommend going through a complete
{build,install}{world,kernel} cycle to make sure you've got everything
that should be in the base system.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Nroff error

2003-11-11 Thread Larry Rosenman


--On Tuesday, November 11, 2003 15:28:03 -0500 Forrest Aldrich 
<[EMAIL PROTECTED]> wrote:

Can someone explain what this error might be:

nroff -man nasm.1 > nasm.man
troff: fatal error: can't find macro file tty-char
*** Error code 1
Long-standing issue on the system I'm using -- it affects usage of
manpages (they don't work).  Can't figure it out...
The following file is probably missing (drop the /stable/ from the path):

/stable/usr/share/tmac/tty-char.tmac

It can (probably) be copied from:

/stable/usr/src/contrib/groff/tmac/tty-char.tmac







___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


pgp0.pgp
Description: PGP signature