On 02/22/2018 10:05 PM, Bruce Dubbs wrote:
Thanos Baloukas wrote:
If the help2man perl script by lsb_release-1.4 is installed in /usr/bin
according the book instructions, the build fails with
[125/127] Generating pango-view.1 with a custom command.
FAILED: pango-view/pango-view.1
/usr/bin/help2man --no-info --section=1 '--help-option="--help-all"'
'--name="Pango text viewer"' --output=pango-view/pango-view.1
/tmp/pango-1.40.14/build/pango-view/pango-view
Unknown option: help-option
`help2man' generates a man page out of `--help' and `--version' output.
Usage: help2man [OPTION]... EXECUTABLE
-n, --name=STRING use `STRING' as the description for the
NAME paragraph
-s, --section=SECTION use `SECTION' as the section for the man page
-i, --include=FILE include material from `FILE'
-I, --opt-include=FILE include material from `FILE' if it exists
-o, --output=FILE send output to `FILE'
-N, --no-info suppress pointer to Texinfo manual
--alt_version_key=KEY use specified flag instead of --version
--help print this help, then exit
--version print version number, then exit
EXECUTABLE should accept `--help' and `--version' options.
The lsb_release-1.4 help2man does not accept the --help-option. With
sed '/--help-option=/d' -i pango-view/meson.build
it builds ok.
help2man is a perl script. The one in lsb-release is quite old. I
don't think it is worth adding a whole page for installing it, but we
could add an additional download to lsb-release with a newer version.
http://anduin.linuxfromscratch.org/BLFS/help2man
Having a new help2man version in the book sounds good. I'm not sure
if the lsb-release page is the most appropriate place to place the
download link.
--
Thanos
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page