This doesn't build in Chapter 6 with the current book instructions. When running "make", it tries to rebuild the manpage with a "help2man" script which starts with "#!/usr/bin/env[...]", and errors out because /usr/bin/env doesn't yet exist. My solution was to prevent the manpage from being rebuilt by editing the Makefile:
sed 's/^dist_man_MANS/#&/' -i Makefile
However doing this prevents the manpage from being installed by "make install" so it will need to be manually copied.
Another possibility might be to either create a /usr/bin/env -> /tools/bin symlink or edit build-aux/help2man to use /tools/bin/env (or /tools/bin/perl), but I haven't tested this.
This doesn't build in Chapter 6 with the current book instructions. When running "make", it tries to rebuild the manpage with a "help2man" script which starts with "#!/usr/bin/env[...]", and errors out because /usr/bin/env doesn't yet exist. My solution was to prevent the manpage from being rebuilt by editing the Makefile:
However doing this prevents the manpage from being installed by "make install" so it will need to be manually copied.
Another possibility might be to either create a /usr/bin/env -> /tools/bin symlink or edit build-aux/help2man to use /tools/bin/env (or /tools/bin/perl), but I haven't tested this.