Build scripts Again #6406

issue ghost opened this issue on July 9, 2015
  1. ghost commented at 7:20 AM on July 9, 2015: none

    I think someone modified the build scripts again, pulled main branch and tried to build on windows

    ./configure: line 23605: syntax error near unexpected token QTPLATFORM,' ./configure: line 23605: PKG_CHECK_MODULES(QTPLATFORM, Qt5PlatformSupport, QT_LIB S="$QTPLATFORM_LIBS $QT_LIBS")'

  2. laanwj commented at 12:57 PM on July 10, 2015: member

    I don't understand your issue title nor the description.

    The error seems to indicate that you're missing some m4 file or part of autotools.

  3. laanwj added the label Build system on Jul 10, 2015
  4. theuni commented at 5:35 PM on July 10, 2015: member

    This could be a problem on windows if pkg-config isn't installed (it's not required there). I'll have a look.

  5. theuni commented at 5:45 PM on July 10, 2015: member

    Blehk, I see what's going on. pkg-config is required for windows, even though we don't use it. This could be fixed up and guarded, but since we've been requiring it accidentally for this long, it may make more sense to just go ahead and use it.

    tl;dr: install pkg-config, that should fix your problem. For the future, we may look into actually using it for Windows.

  6. laanwj closed this on Jul 13, 2015

  7. Bushstar commented at 2:46 PM on August 4, 2015: contributor

    Posting in case this helps anyone, this occurs when compiling the 0.11 branch on Windows. Installed pkg-config binaries, resolved its few missing DLLs but still had the same problem. pkg-config-lite solved it for me.

    http://sourceforge.net/projects/pkgconfiglite/files/0.28-1/pkg-config-lite-0.28-1.tar.gz/download

    Configure, compile and install with the following then run autogen.sh.

    configure --prefix=/usr && make && make install
    
  8. 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-17 15:15 UTC

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