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

issue Sjors openend 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

     0sudo make install
     1Password:
     2Making install in src
     3  CXX      crypto/libbitcoinconsensus_la-aes.lo
     4...
     5  CXXLD    libbitcoinconsensus.la
     6/usr/local/bin/gsed: can't read 1TB/src/bitcoin/src/secp256k1/libsecp256k1.la: No such file or directory
     7libtool:   error: '1TB/src/bitcoin/src/secp256k1/libsecp256k1.la' is not a valid libtool archive
     8make[2]: *** [libbitcoinconsensus.la] Error 1
     9make[1]: *** [install-recursive] Error 1
    10make: *** [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):

    0% ./configure -q
    1configure: WARNING: Libtool does not cope well with whitespace in `pwd`
    2...
    
  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: 2024-10-31 06:12 UTC

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