Changes between Initial Version and Version 1 of Ticket #4025, comment 1
- Timestamp:
- 01/05/2017 12:51:27 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4025, comment 1
initial v1 1 This doesn't build with the current book instructions. It tries to rebuild the manpage, and the script it usesstarts 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:1 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: 2 2 {{{ 3 3 sed 's/^dist_man_MANS/#&/' -i Makefile 4 4 }}} 5 However doing this prevents the man page from being installed by "make install" so it will need to be manually copied. 5 However doing this prevents the manpage from being installed by "make install" so it will need to be manually copied. 6 7 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.