|
From: | Clark J. Wang |
Subject: | Re: [Man-db-devel] man-db does not work on Solaris 11 |
Date: | Thu, 27 Oct 2011 11:39:53 +0800 |
Sorry I did not found a man-db-users mailing list so I post here.
I compiled libpipeline-1.2.0 and man-db-2.6.0.2 from source on a Solaris 11 system, then I useradd'ed a user named "man", then I ran mandb which really took some time. But after that "man ls" outputted nothing.
[bash-4.2] # uname -a
SunOS sollab-242.cn.oracle.com 5.11 11.0 i86pc i386 i86pc
[bash-4.2] # /usr/local/man-db-2.6.0.2/bin/mandb
Purging old database entries in /usr/share/man...
Processing manual pages under /usr/share/man...
... ...
Processing manual pages under /usr/share/man/sman7...
0 man subdirectories contained newer manual pages.
0 manual pages were added.
0 stray cats were added.
285 old database entries were purged.
[bash-4.2] # declare -x | grep PAGER
declare -x PAGER="less -FimRS"
[bash-4.2] # /usr/local/man-db-2.6.0.2/bin/man -w ls
/usr/share/man/man1/ls.1
[bash-4.2] # /usr/local/man-db-2.6.0.2/bin/man ls
[bash-4.2] # /usr/local/man-db-2.6.0.2/bin/man /usr/share/man/man1/ls.1
[bash-4.2] # /usr/local/man-db-2.6.0.2/bin/man -d ls
ruid=0, euid=0
++priv_drop_count = 1
From the config file /root/.manpath:
Mandatory mandir `/usr/share/man'.
Added section `2'.
Added section `3'.
Added section `1'.
Added section `n'.
Added section `5'.
From the config file /usr/local/man-db-2.6.0.2/etc/man_db.conf:
Mandatory mandir `/usr/man'.
Mandatory mandir `/usr/share/man'.
Mandatory mandir `/usr/local/share/man'.
Path `/bin' mapped to mandir `/usr/share/man'.
Path `/usr/bin' mapped to mandir `/usr/share/man'.
Path `/sbin' mapped to mandir `/usr/share/man'.
Path `/usr/sbin' mapped to mandir `/usr/share/man'.
Path `/usr/local/bin' mapped to mandir `/usr/local/man'.
Path `/usr/local/bin' mapped to mandir `/usr/local/share/man'.
Path `/usr/local/sbin' mapped to mandir `/usr/local/man'.
Path `/usr/local/sbin' mapped to mandir `/usr/local/share/man'.
Path `/usr/X11R6/bin' mapped to mandir `/usr/X11R6/man'.
Path `/usr/bin/X11' mapped to mandir `/usr/X11R6/man'.
Path `/usr/games' mapped to mandir `/usr/share/man'.
Path `/opt/bin' mapped to mandir `/opt/man'.
Path `/opt/sbin' mapped to mandir `/opt/man'.
Global mandir `/usr/man', catdir `/var/cache/man/fsstnd'.
Global mandir `/usr/share/man', catdir `/var/cache/man'.
Global mandir `/usr/local/man', catdir `/var/cache/man/oldlocal'.
Global mandir `/usr/local/share/man', catdir `/var/cache/man/local'.
Global mandir `/usr/X11R6/man', catdir `/var/cache/man/X11R6'.
Global mandir `/opt/man', catdir `/var/cache/man/opt'.
Added section `1'.
Added section `n'.
Added section `l'.
Added section `8'.
Added section `3'.
Added section `2'.
Added section `5'.
Added section `4'.
Added section `9'.
Added section `6'.
Added section `7'.
`/usr/share/man' `' `1'
`2' `' `-6'
`3' `' `-6'
`1' `' `-6'
`n' `' `-6'
`5' `' `-6'
`/usr/man' `' `1'
`/usr/share/man' `' `1'
`/usr/local/share/man' `' `1'
`/bin' `/usr/share/man' `0'
`/usr/bin' `/usr/share/man' `0'
`/sbin' `/usr/share/man' `0'
`/usr/sbin' `/usr/share/man' `0'
`/usr/local/bin' `/usr/local/man' `0'
`/usr/local/bin' `/usr/local/share/man' `0'
`/usr/local/sbin' `/usr/local/man' `0'
`/usr/local/sbin' `/usr/local/share/man' `0'
`/usr/X11R6/bin' `/usr/X11R6/man' `0'
`/usr/bin/X11' `/usr/X11R6/man' `0'
`/usr/games' `/usr/share/man' `0'
`/opt/bin' `/opt/man' `0'
`/opt/sbin' `/opt/man' `0'
`/usr/man' `/var/cache/man/fsstnd' `-1'
`/usr/share/man' `/var/cache/man' `-1'
`/usr/local/man' `/var/cache/man/oldlocal' `-1'
`/usr/local/share/man' `/var/cache/man/local' `-1'
`/usr/X11R6/man' `/var/cache/man/X11R6' `-1'
`/opt/man' `/var/cache/man/opt' `-1'
`1' `' `-5'
`n' `' `-5'
`l' `' `-5'
`8' `' `-5'
`3' `' `-5'
`2' `' `-5'
`5' `' `-5'
`4' `' `-5'
`9' `' `-5'
`6' `' `-5'
`7' `' `-5'
is a tty
real user = 0; effective user = 0
using less -FimRS as pager
path directory /root/bin is not in the config file
and doesn't have ../man, man, ../share/man, or share/man subdirectories
path directory /usr/local/bin is in the config file
warning: /usr/local/man: No such file or directory
warning: /usr/local/share/man: No such file or directory
path directory /usr/sbin is in the config file
adding /usr/share/man to manpath
path directory /usr/bin is in the config file
/usr/share/man is already in the manpath
adding mandatory man directories
/usr/share/man is already in the manpath
adding /usr/man to manpath
/usr/share/man is already in the manpath
warning: /usr/local/share/man: No such file or directory
add_nls_manpaths(): processing /usr/share/man:/usr/man
checking for locale C
manpath search path (with duplicates) = /usr/share/man:/usr/man:/usr/share/man:/usr/man
adding /usr/share/man to manpathlist
adding /usr/man to manpathlist
adding /usr/share/man to manpathlist
adding /usr/man to manpathlist
Removing duplicate manpath entry /usr/man (1) -> /usr/share/man (0)
Removing duplicate manpath entry /usr/share/man (1) -> /usr/share/man (0)
Removing duplicate manpath entry /usr/man (1) -> /usr/share/man (0)
final search path = /usr/share/man
--priv_drop_count = 0
searching in /usr/share/man, section 2
trying section 2 with globbing
Layout is Solaris (8)
update_directory_cache /usr/share/man/man2: miss
globbing pattern in /usr/share/man/man2: ls.2*
update_directory_cache /usr/share/man/cat2: miss
can't open directory /usr/share/man/cat2: No such file or directory
directory cache update failed
Succeeded in opening /var/cache/man/index.db O_RDONLY
searching in /usr/share/man, section 3
trying section 3 with globbing
update_directory_cache /usr/share/man/man3: miss
globbing pattern in /usr/share/man/man3: ls.3*
update_directory_cache /usr/share/man/cat3: miss
can't open directory /usr/share/man/cat3: No such file or directory
directory cache update failed
searching in /usr/share/man, section 1
trying section 1 with globbing
update_directory_cache /usr/share/man/man1: miss
globbing pattern in /usr/share/man/man1: ls.1*
matched: /usr/share/man/man1/ls.1
ult_src: File /usr/share/man/man1/ls.1 in mantree /usr/share/man
candidate: 0 0 ls /usr/share/man /usr/share/man/man1/ls.1 A - 1 1
searching in /usr/share/man, section n
trying section n with globbing
update_directory_cache /usr/share/man/mann: miss
can't open directory /usr/share/man/mann: No such file or directory
directory cache update failed
update_directory_cache /usr/share/man/catn: miss
can't open directory /usr/share/man/catn: No such file or directory
directory cache update failed
searching in /usr/share/man, section 5
trying section 5 with globbing
update_directory_cache /usr/share/man/man5: miss
globbing pattern in /usr/share/man/man5: ls.5*
update_directory_cache /usr/share/man/cat5: miss
can't open directory /usr/share/man/cat5: No such file or directory
directory cache update failed
ult_src: File /usr/share/man/man1/ls.1 in mantree /usr/share/man
found ultimate source file /usr/share/man/man1/ls.1
converted /usr/share/man/man1/ls.1 to /usr/share/man/cat1/ls.1.gz
is_changed: a=/usr/share/man/man1/ls.1, b=/usr/share/man/cat1/ls.1.gz (-2)
converted /var/cache/man/cat1/ls.1 to /var/cache/man/cat1/ls.1.gz
will try cat file /var/cache/man/cat1/ls.1.gz
chdir /usr/share/man
pre-processors `te' from file
page_encoding = ISO-8859-1
source_encoding = ISO-8859-1
locale_charset = ANSI_X3.4-1968
roff_device (locale) = ascii
roff_encoding = ANSI_X3.4-1968
output_encoding = ANSI_X3.4-1968
less_charset = ascii
Terminal width 197
Terminal width 197 not within cat page range [80, 80]
Using 192-character lines
formatted_encoding = ANSI_X3.4-1968
format: 1, save_cat: 0, found: 1
add_output_iconv: source ANSI_X3.4-1968, target ANSI_X3.4-1968
Setting LESS to -ix8RmPm Manual page ls(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$PM Manual page ls(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$
Setting MAN_PN to ls(1)
++priv_drop_count = 1
--priv_drop_count = 0
hashtable_free: 1 entries, 1 (100%) unique
Found 1 man pages
++priv_drop_count = 1
hashtable_free: 4 entries, 4 (100%) unique
[bash-4.2] #
Any one can help?
Thanks,
Clark
[Prev in Thread] | Current Thread | [Next in Thread] |