HP-UX picked up the old System V man command back in the early 80's and they don't seen to want to change. HP's man stuff is a little weird because of it. HP is missing both the whatis and apropos commands. But you can get them back with simple aliases:
stdin: not in compressed format
stdin: not in compressed format
/usr/lbin/mkwhatis[108]: /usr/share/lib/whatis: Cannot create the specified file.
chmod: can't access /usr/share/lib/whatis
First, just ignore the "not-compressed" messages. They come from uncompress. Somehow HP has a couple of man pages that will not compress...I'm tempted to track them down just to see how to write a non-compressable man page.
Those last two messages probably means that you were not running as root. If you were running as root, then somehow /usr/share/lib was not writable by root.