config.status --recheck does not reuse previously configured environment #11657

issue rebroad opened this issue on November 11, 2017
  1. rebroad commented at 8:03 AM on November 11, 2017: contributor

    This is an issue for anyone currently developing on windows. i.e. when making (e.g. after a git checkout), make will reconfigure but for the linux environment, rather than the windows environment (even if this was what has only been done so far).

    A fix would be to store the configuration of the relevant variables that influence the ./configure so that these are re-used each time.

  2. rebroad renamed this:
    config.status --recheck does not reuse previously configured environenment
    config.status --recheck does not reuse previously configured environment
    on Nov 11, 2017
  3. laanwj added the label Build system on Nov 13, 2017
  4. laanwj commented at 3:41 PM on November 23, 2017: member

    This is due to CONFIG_SITE (specific to the windows build notes):

    CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site ./configure --prefix=/
    

    An alternative way to provide the config.site that is remembered would be welcome, not sure this exists at all. (FWIW you can also do ./configure --prefix=$PWD/depends/x86_64-w64-mingw32, I think that survives reconfigures, however then you can't usefully install the result with make install)

  5. laanwj added the label Windows on Nov 23, 2017
  6. rebroad commented at 2:31 PM on November 25, 2017: contributor

    How about adding to the build document an instruction to add CONFIG_SITE as an environment variable to the .bashrc file?

  7. laanwj commented at 11:53 AM on December 17, 2017: member

    Could do that, though I'd personally be wary of adding bitcoin build specific arguments to my .bashrc file. It might also cause conflicts: CONFIG_SITE is used by all programs that are configured using autotools.

  8. fanquake closed this on Mar 6, 2018

  9. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 18:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me