man page difficulties in FreeBSD 9

Paul Keusemann pkeusem at visi.com
Tue Jan 17 13:43:08 UTC 2012



On 01/16/12 23:13, Douglas Gilbert wrote:
> While testing my SCSI packages with FreeBSD 9 (e.g. sg3_utils
> and smp_utils), the man pages have gone missing.
>
> Using a standard "./configure ; make ; make install" everything
> is placed in /usr/local as that seems to be the BSD way. The
> executables are found in the /usr/local/bin directory but the
> man pages go into the /usr/local/share/man directory which may as
> well be a black hole since /usr/local/share/man is not on the
> standard manpath.
>
> There are lots of possible hacks to make this work, for example:
>   ./configure --mandir=/usr/local
> but that is ugly. My temporary solution is to add this file:
>    # cat /usr/local/etc/man.d/expletive.conf
>    MANPATH /usr/local/share/man

You could also add an OPTIONAL_MANPATH entry to /etc/manpath.config, 
assuming you are using the manpath command to set your MANPATH.  Just 
make sure you unset the MANPATH environment variable before running the 
manpath command.

>
> Can't remember this happening in FreeBSD 8.
>
> Doug Gilbert
> _______________________________________________
> freebsd-scsi at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-scsi
> To unsubscribe, send any mail to "freebsd-scsi-unsubscribe at freebsd.org"
>

-- 
Paul Keusemann			                      pkeusem at visi.com
4266 Joppa Court		                      (952) 894-7805
Savage, MN  55378



More information about the freebsd-scsi mailing list