On linux, LIB_MAN_SUFFIX is set to 3x, but LIB_MAN_DIR is set to $(mandir)/man3,
causing the man pages to be installed in section man3, but with shadow man page
references of the form:
.so man3x/<main page>
This causes all requests for shadow pages to generate an error of the form:
man <shadow page>
../../man3x/<main page>.3x.gz not found
man XConfigureWindow (works as its a main page, but)
man XMoveWindow (fails with a bad reference to ./man3x/XConfigureWindow.3x.gz)
man XGrabPointer (works -- main page)
man XUngrabPointer (fails -- shadow to ./man3x/XGrabPointer.3x.gz)
On Gentoo, I proposed a distro patch moving all the main and shadow pages to
I don't think this is the proper solution. The man pages are ending up in the
right place with the right suffix.
In fact, it would appear that there is a bug in libX11's Makefile.am. Patch
Ahah, upon searching around this is a duplicate of bug #5628.
*** This bug has been marked as a duplicate of 5628 ***
The other way to fix it, as I see it, would be to change the shadows.DONE
section of man/Makefile.am so that LIB_MAN_SUFFIX is man3, not man3x, but only
in that section of the Makefile.am.
That will cause the man pages to retain the 3x suffix, while correcting the
contents of the shadow files to:
.so man3/<main page>.3x.gz
.so man3x/<main page>.3x.gz
Either way works.