Changes between Initial Version and Version 1 of Ticket #4025, comment 1


Ignore:
Timestamp:
01/05/2017 12:51:27 PM (8 years ago)
Author:
chris@…

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 uses 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:
     1This 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:
    22{{{
    33sed 's/^dist_man_MANS/#&/' -i Makefile
    44}}}
    5 However doing this prevents the man page from being installed by "make install" so it will need to be manually copied.
     5However doing this prevents the manpage from being installed by "make install" so it will need to be manually copied.
     6
     7Another 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.