build: building depends and make install fails with space in path #12528

issue Sjors opened this issue on February 24, 2018
  1. Sjors commented at 2:41 PM on February 24, 2018: member

    On MacOS 10.13.3 with source files in /Volumes/Glyph 1TB/src/bitcoin

    sudo make install
    Password:
    Making install in src
      CXX      crypto/libbitcoinconsensus_la-aes.lo
    ...
      CXXLD    libbitcoinconsensus.la
    /usr/local/bin/gsed: can't read 1TB/src/bitcoin/src/secp256k1/libsecp256k1.la: No such file or directory
    libtool:   error: '1TB/src/bitcoin/src/secp256k1/libsecp256k1.la' is not a valid libtool archive
    make[2]: *** [libbitcoinconsensus.la] Error 1
    make[1]: *** [install-recursive] Error 1
    make: *** [install-recursive] Error 1
    

    Related to #9946?

    Running make inside /depends also results in a cascade of errors if the source path has a space in it.

  2. fanquake added the label Build system on Feb 25, 2018
  3. Sjors commented at 9:55 AM on June 29, 2018: member

    An easy "fix" might be to just add "Ensure sure there's no space in the path" to the build instructions.

  4. fanquake renamed this:
    make install fails with space in path
    build: building depends and make install fails with space in path
    on Jun 29, 2019
  5. hebasto commented at 7:35 PM on November 7, 2021: member

    I think libtool doesn't support spaces in pathnames...

    Current master (77a2f5d30c5ecb764b8a7c098492e1f5cdec90f0) on macOS Big Sur 11.6.1 (20G224):

    % ./configure -q
    configure: WARNING: Libtool does not cope well with whitespace in `pwd`
    ...
    
  6. hebasto commented at 7:59 PM on November 7, 2021: member

    #15441 (comment):

    It's uncommon for people to have spaces in their development environment path; it happened to me because I moved everything to an external SSD drive that had a bad default name. But I wouldn't consider that a broken environment.

    Does the cited comment mean that this issue could be closed?

  7. Sjors commented at 11:41 AM on November 9, 2021: member

    I guess it's a good start.

  8. Sjors closed this on Nov 9, 2021

  9. DrahtBot locked this on Nov 9, 2022

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 21:15 UTC

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