troff can't find macro files

Khairil Yusof kaeru at
Sat May 10 23:05:07 PDT 2003

A very recent buildworld (yesterday) on -current has caused problems
with troff and my man pages:

troff: fatal error: can't find macro file tty-char

Upon investigation, I found that troff was looking for macros in the
default /usr/local/share/tmac dirs instead of /usr/share/tmac of

This is fixed by setting GROFF_TMAC_PATH to the correct paths, but
although my buildworld didn't have problems, a lot of man pages display
nothing. Is this supposed to be set or is troff patched for this on

These were missing man pages on my system:
grep (but egrep, fgrep etc. works)

a make clean, make, make install fixes bins that have the manual

All the other common commands I use, all seem to have man working

I hope I have provided enough clues on why, some man pages weren't
installed and why troff can't find macros by default. 

Does this problem affect anybody else?


FreeBSD 5.1-BETA 1:41PM up 1:06, 1 user, load averages: 0.82, 0.85, 0.81
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url :

More information about the freebsd-current mailing list