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 Examples; man XConfigureWindow (works as its a main page, but) man XMoveWindow (fails with a bad reference to ./man3x/XConfigureWindow.3x.gz) Another Example: 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 section 3. Ref: http://bugs.gentoo.org/show_bug.cgi?id=123328
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 coming shortly...
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 instead if .so man3x/<main page>.3x.gz Either way works. Phil
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.