MX-Linux Fails to Build Bitcoin QT5 GUI #328

issue Gapcoin1 openend this issue on May 14, 2021
  1. Gapcoin1 commented at 8:11 pm on May 14, 2021: none

    MX-Linux Fails to Compile the Bitcoin GUI

    Expected behavior

    I expected Bitcoin GUI to build without issue

    Actual behavior

    ./autogen.sh ./configure Produces QT5 Core Missing Error

    https://imgur.com/uHFuSIM.png

    uHFuSIM

    To reproduce

    Use MX-Linux

    https://distrowatch.com

    System information

    Self-Compiled

    MX-Linux 16 Core AMD Ryzen

    Graphical Shell is XFCE by default

    Qt 5 core module is installed but it goes under a different Package Code

    https://imgur.com/0zk6hZm.png

    0zk6hZm

  2. Gapcoin1 added the label Bug on May 14, 2021
  3. hebasto commented at 5:53 pm on May 19, 2021: member

    @Gapcoin1

    My steps to reproduce the issue:

     0$ cat /etc/antix-version 
     1MX-19.4_x64 patito feo March 31, 2021
     2$ sudo apt install automake autotools-dev libtool pkg-config
     3$ sudo apt install libevent-dev libboost-dev libboost-system-dev libboost-filesystem-dev libboost-test-dev
     4$ sudo apt install qttools5-dev qttools5-dev-tools
     5$ git clone https://github.com/bitcoin/bitcoin.git
     6$ cd bitcoin
     7$ ./autogen.sh
     8$ ./configure --disable-wallet
     9...
    10checking for QT_CORE... yes
    11checking for QT_GUI... yes
    12checking for QT_WIDGETS... yes
    13checking for QT_NETWORK... yes
    14checking for QT_TEST... yes
    15checking for QT_DBUS... yes
    16checking for static Qt... no
    17checking whether -fPIE can be used with this Qt config... no
    18checking for moc-qt5... no
    19checking for moc5... no
    20checking for moc... /usr/lib/x86_64-linux-gnu/qt5/bin/moc
    21checking for uic-qt5... no
    22checking for uic5... no
    23checking for uic... /usr/lib/x86_64-linux-gnu/qt5/bin/uic
    24checking for rcc-qt5... no
    25checking for rcc5... no
    26checking for rcc... /usr/lib/x86_64-linux-gnu/qt5/bin/rcc
    27checking for lrelease-qt5... no
    28checking for lrelease5... no
    29checking for lrelease... /usr/lib/x86_64-linux-gnu/qt5/bin/lrelease
    30checking for lupdate-qt5... no
    31checking for lupdate5... no
    32checking for lupdate... /usr/lib/x86_64-linux-gnu/qt5/bin/lupdate
    33checking for lconvert-qt5... no
    34checking for lconvert5... no
    35checking for lconvert... /usr/lib/x86_64-linux-gnu/qt5/bin/lconvert
    36checking whether to build Bitcoin Core GUI... yes (Qt5)
    37...
    38Options used to compile and link:
    39  external signer = no
    40  multiprocess    = no
    41  with libs       = yes
    42  with wallet     = no
    43  with gui / qt   = yes
    44    with qr       = no
    45  with zmq        = no
    46  with test       = yes
    47  with bench      = yes
    48  with upnp       = no
    49  with natpmp     = no
    50  use asm         = yes
    51  ebpf tracing    = no
    52  sanitizers      = 
    53  debug enabled   = no
    54  gprof enabled   = no
    55  werror          = no
    56
    57  target os       = linux
    58  build os        = linux-gnu
    59
    60  CC              = gcc
    61  CFLAGS          = -pthread -g -O2
    62  CPPFLAGS        =   -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -DPROVIDE_FUZZ_MAIN_FUNCTION
    63  CXX             = g++ -std=c++17
    64  CXXFLAGS        =   -fstack-reuse=none -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection  -Wall -Wextra -Wformat -Wformat-security -Wvla -Wswitch -Wredundant-decls -Wunused-variable -Wdate-time -Wsign-compare -Wduplicated-branches -Wduplicated-cond -Wlogical-op -Woverloaded-virtual  -Wno-unused-parameter -Wno-implicit-fallthrough   -g -O2 -fno-extended-identifiers
    65  LDFLAGS         = -lpthread  -Wl,-z,relro -Wl,-z,now -Wl,-z,separate-code -pie  
    66  ARFLAGS         = cr
    

    Everything works as expected for me. Could you have another try with strictly following https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md?

    Qt 5 core module is installed but it goes under a different Package Code

    Not sure what does it mean exactly, but please try first with Qt installed via apt.

  4. hebasto added the label Questions and Help on May 19, 2021
  5. hebasto removed the label Bug on May 19, 2021
  6. hebasto added the label Waiting for author on May 21, 2021
  7. hebasto commented at 5:39 pm on May 22, 2021: member

    @Gapcoin1

    Is your issue solved?

  8. hebasto closed this on May 29, 2021

  9. bitcoin-core locked this on Aug 16, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/gui. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-10-23 00:20 UTC

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